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.
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" |
Returns the result or an error.
Query uptime of demo server:
$r = MBS("SNMP.Get"; "demopublic"; "test.net-snmp.org"; "system.sysUpTime.0")
This function is free to use.
Created 18th August 2014, last changed 18th December 2021