Platforms to show: All Mac Windows Linux Cross-Platform
NetSNMPMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Network | MBS Network Plugin | 17.3 | ✅ Yes | ❌ No | ✅ Yes | ✅ Yes | All |
Performs a SNMP GET query.
Using version 1, no authentication and no security options.
- 12 properties
- property AuthProtocol as Integer New in 24.4
- property Community as String
- property ErrorMessage as String
- property IP as String
- property LastError as Integer
- property MaximumReceiveBufferSize as Integer
- property Password as String New in 24.4
- property Retries as Integer
- property SecurityLevel as Integer New in 24.4
- property SecurityName as String New in 24.4
- property TimeOut as Integer
- property Version as Integer New in 24.4
- 4 methods
- method Constructor
- method Destructor
- method Query(ObjectID as String) as String
- method QueryMT(ObjectID as String) as String
- 13 constants
Authentication Protocols
Constant | Value | Description |
---|---|---|
AuthProtocolAESPriv | 6 |
AES Priv |
AuthProtocolDESPriv | 5 |
DES Priv |
AuthProtocolHMACMD5 | 2 |
HMAC MD5 |
AuthProtocolHMACSHA1 | 3 |
HMAC SHA1 |
AuthProtocolNone | 1 |
No authentication. |
AuthProtocolNoPriv | 4 |
No Priv |
Security Levels
Constant | Value | Description |
---|---|---|
SecurityLevelAuthNoPriv | 2 |
Auth means there is cryptographic authentication. It uses MD5 or SHA for this purpose. The authentication mechanism is actually applied to the associated user using the snmp-server user command. The NoPriv remains in this security model as described above. |
SecurityLevelAuthPriv | 3 |
As in the previous model, Auth means cryptographic authentication is employed. Priv indicates that the whole SNMP packet is encrypted, which means if the packet is intercepted, it cannot be deciphered. |
SecurityLevelNoAuth | 1 |
NoAuth means no cryptographic authentication. Credentials (username and password) are still used, but there is no cryptographic mechanism to verify the authenticity of the message. NoPriv means no privacy of the contents of the SNMP messages, meaning there is no encryption of the payload. |
Versions
Constant | Value | Description |
---|---|---|
Version1 | 0 |
Version 1 |
Version2c | 1 |
Version 2c |
Version2u | 2 |
Version 2u (not supported by libnetsnmp) |
Version3 | 3 |
Version 3 |
This class has no sub classes.
Some examples using this class:
Blog Entries
- MonkeyBread Software Releases the MBS Xojo Plugins in version 24.4
- Multithreaded plugin functions can increase speed of Xojo application
- MBS Xojo Plugins, version 18.2pr1
- Problems with killing Xojo threads with plugin calls.
- MonkeyBread Software Releases the MBS Xojo Plugins in version 17.3
- MBS Xojo Plugins, version 17.3pr2
- MBS Xojo Plugins, version 17.3pr1
Xojo Developer Magazine
Videos
- Presentation from Munich conference about MBS Plugins.
- Presentation from London conference about MBS Plugins.
Release notes
- Version 24.4
- Added more properties for NetSNMPMBS class for using SNMPv3.
- Version 18.2
- Fixed a problem on 64-bit Linux with NetSNMPMBS class causing stack checks to fail.
- Fixed problem in NetSNMPMBS Query where a big query result could lead to overwritten memory.
- Improved NetSNMPMBS class to better report parse errors with UnsupportedOperationException function.
- Version 17.3
- Added NetSNMPMBS class.
The items on this page are in the following plugins: MBS Network Plugin.
NetFSMountMBS - NetworkInterfaceMBS