Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

SNMP.Get

Performs a SNMP GET query.

Component Version macOS Windows Linux Server iOS SDK
SNMP 3.1 ✅ Yes ❌ No ✅ Yes ✅ Yes, on macOS and Linux ❌ No
MBS( "SNMP.Get"; Community; Target; ObjectID )   More

Parameters

Parameter Description Example
Community The community name to use. "public"
Target The IP and port to connect to. "192.168.2.5:1234"
ObjectID The object ID to use. "system.sysUpTime.0"

Result

Returns the result or an error.

Description

Performs a SNMP GET query.
Using version 1, no authentication and no security options.

Examples

Query uptime of demo server:

$r = MBS("SNMP.Get"; "demopublic"; "test.net-snmp.org"; "system.sysUpTime.0")

Release notes

Blog Entries

Created 18th August 2014, last changed 22nd May 2017


RunTask.WriteInputText - SNMP.SetRetries

Feedback: Report problem or ask question.