Hi,
We have a requirement. We need to set up monitoring for uptime of a switch. We are provided with IP address of the swtich.
What is the check command to check the uptime of a swtich.
We tried the following but did not work.
./check_snmp -H 10.32.234.81 -C public -o sysUpTime.0
CRITICAL - Plugin timed out while executing system call
We could able to ping the IP from Nagios server.
We are using Nagios core.
How to monitor uptime of a switch in Nagios
Re: How to monitor uptime of a switch in Nagios
First, login to the remote device and verify that you have SNMP enabled, that the community string is public and note the SNMP Version.
If the device is using SNMP version 2, change the command to the following.
If the device is using SNMP version 2, change the command to the following.
Code: Select all
./check_snmp -H 10.32.234.81 -C public -P 2c -o sysUpTime.0
See if that resolves the issue.-P, --protocol=[1|2c|3]
SNMP protocol version
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: How to monitor uptime of a switch in Nagios
Thank you. As we don't have credentials, we sent an email to the user. Awaiting reply.
Re: How to monitor uptime of a switch in Nagios
Just update the post when ready.
Be sure to check out our Knowledgebase for helpful articles and solutions!