Hi
Please help me on how to monitor cisco switches and routers through SNMP, I am trying to define given below command it is showing error.
./check_snmp -H X.X.X.X -P 2c -c snmp@123! -o sysUpTimeInstance
Error: External command error: Timeout: No Response from X.X.X.X:161.
Thanks and Regards,
Sunil
Mob: 8527230555.
./check_snmp
Re: ./check_snmp
I believe instead of "-c" you need to have "-C" in order to pass the community string. The low case "-c" is for the critical threshold...
Can you run the snmpwalk against this device?
Is UDP port 161 open?
Code: Select all
./check_snmp -H X.X.X.X -P 2c -C snmp@123! -o sysUpTimeInstanceCode: Select all
snmpwalk -v2c X.X.X.X -c snmp@123!Code: Select all
nmap -sU X.X.X.X -p 161Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: ./check_snmp
Thank you for your help now it is working fine.