Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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 |
Deprecated
This function was deprecated.
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.
Please use Shell functions with snmp command line tools to get more options.
Examples
Query uptime of demo server:
$r = MBS("SNMP.Get"; "demopublic"; "test.net-snmp.org"; "system.sysUpTime.0")
Release notes
Blog Entries
This function is free to use.
Created 18th August 2014, last changed 18th December 2021