SNMP
From ServersCheck Wiki
Contents |
Description
ServersCheck has a SNMP check. SNMP stands for Simple Network Management Protocol. ServersCheck performs a SNMP GET to request a value from a remote device or computer.
Note that the Windows SNMP service needs to be running on the computer on which ServersCheck is installed. For more information about Linux/UNIX SNMP please visit following website: http://www.net-snmp.org
Definition
Beside general settings for each check, which are similar for all checks, there are following Check Specific Settings which also need to be setup. In the Check Specific Settings, there are following fields you need to supply with parameters:
- Server - The IP address or DNS name of the network device.
- Community String - The Community String
- SNMP Port - The SNMP port (default is 161)
- OID - The OID of the wanted SNMP check to be performed. Make sure that the OID ends with .0
Example: OID .1.3.6.1.2.1.1.3.0 returns the sysUptime: the uptime of a device.
In order to find an OID we invite you to download the ServersCheck MIB Browser that allows you to browse through a MIB file to find the right OID.
Returned Results
This check returns two results:
- Can a SNMP value be retrieved?
- What is the value?
If you have Fail On Value 1 activated then it will check against the returned value. If you have Fail On Value 2 activated then it will discarded as SNMP only returns one value.
When monitoring the sysUptime (OID .1.3.6.1.2.1.1.3.0) then returned value is transformed into seconds. A typical rule regarding sysUptime could be to receive an alert when the sysUptime is less than 300. Meaning that the device has been rebooted the last 5 minutes; as such you can detected if a system restarted when you would not expect it to do so.
Graphs
When the graphing option is activated then ServersCheck will produce for this check three graphs: Service Level, Availability and the returned SNMP value.

