Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


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


This function was deprecated.

MBS( "SNMP.Get"; Community; Target; ObjectID )   More


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


Returns the result or an error.


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

Please use Shell functions with snmp command line tools to get more options.


Query uptime of demo server:

$r = MBS("SNMP.Get"; "demopublic"; ""; "system.sysUpTime.0")

Release notes

  • Version 7.3
    • Added Linux support for SNMP.Get.
    • Improved SNMP.Get function to report errors better.

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 18th December 2021

RunTask.WriteInputText - SNMP.SetRetries