SNMP error with snmp version 1 (No response from remote host
Posted: Fri Jun 05, 2015 9:13 am
Nagios Core: 4.0.1
We have nagios polling some of the cisco servers service checks for call manager, unity and one attempt shows this error, and the next attempt at the next minute is successfull. This mainly happening for the add on: check_hr_process
[06-05-2015 12:28:29] SERVICE ALERT: MY.HOST.X;sys-proc-hostagt;OK;SOFT;2;OK: 1 process(es) running
[06-05-2015 12:27:32] SERVICE ALERT: MY.HOST.X;sys-proc-hostagt;CRITICAL;SOFT;1;CRITICAL: SNMP error with snmp version 1 (No response from remote host "172.16.241.14")
[06-05-2015 12:13:57] SERVICE ALERT: MY.HOST.X;sys-proc-CuFileSync;OK;SOFT;2;OK: 1 process(es) running
[06-05-2015 12:13:04] SERVICE ALERT: MY.HOST.X;sys-proc-CuFileSync;CRITICAL;SOFT;1;CRITICAL: SNMP error with snmp version 1 (No response from remote host "172.16.241.14")
[06-05-2015 12:08:41] SERVICE ALERT: MY.HOST.X;sys-proc-AuditLog;OK;SOFT;2;OK: 1 process(es) running
[06-05-2015 12:07:47] SERVICE ALERT: MY.HOST.X;sys-proc-AuditLog;CRITICAL;SOFT;1;CRITICAL: SNMP error with snmp version 1 (No response from remote host "172.16.241.14")
When we check the same service from nagios command line, each attempt is successful.
./check_hr_process -v 1 -H 172.16.241.14 -C tiger -w 1 -c 1 -d hostagt -t 60
[root@NAGIOS01 libexec]# ./check_hr_process -v 1 -H 172.16.241.14 -C tiger -w 1 -c 1 -d hostagt -t 60
OK: 1 process(es) running
[root@NAGIOS01 libexec]# ./check_hr_process -v 1 -H 172.16.241.14 -C tiger -w 1 -c 1 -d hostagt -t 60
OK: 1 process(es) running
[root@NAGIOS01 libexec]# ./check_hr_process -v 1 -H 172.16.241.14 -C tiger -w 1 -c 1 -d hostagt -t 60
OK: 1 process(es) running
Ping test from nagios to the servers shows no packet loss.
[root@NAGIOS01 libexec]# ping 172.16.241.14 -s 1200 -c 5
PING 172.16.241.14 (172.16.241.14) 1200(1228) bytes of data.
1208 bytes from 172.16.241.14: icmp_seq=1 ttl=60 time=10.9 ms
1208 bytes from 172.16.241.14: icmp_seq=2 ttl=60 time=19.4 ms
1208 bytes from 172.16.241.14: icmp_seq=3 ttl=60 time=17.5 ms
1208 bytes from 172.16.241.14: icmp_seq=4 ttl=60 time=13.0 ms
1208 bytes from 172.16.241.14: icmp_seq=5 ttl=60 time=17.4 ms
--- 172.16.241.14 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4023ms
rtt min/avg/max/mdev = 10.988/15.678/19.472/3.157 ms
We have also set the timeout value to -t in checkcommands.cfg as below.[/b]
define command {
command_name check_hr_process
command_line $USER1$/check_hr_process -v 1 -H $HOSTADDRESS$ -C $ARG1$ -w $ARG2$ -c $ARG3$ -d $ARG4$ -t 60
}
Any advice where should (if any) timeout settings to be modified in nagios?
Thank you.
We have nagios polling some of the cisco servers service checks for call manager, unity and one attempt shows this error, and the next attempt at the next minute is successfull. This mainly happening for the add on: check_hr_process
[06-05-2015 12:28:29] SERVICE ALERT: MY.HOST.X;sys-proc-hostagt;OK;SOFT;2;OK: 1 process(es) running
[06-05-2015 12:27:32] SERVICE ALERT: MY.HOST.X;sys-proc-hostagt;CRITICAL;SOFT;1;CRITICAL: SNMP error with snmp version 1 (No response from remote host "172.16.241.14")
[06-05-2015 12:13:57] SERVICE ALERT: MY.HOST.X;sys-proc-CuFileSync;OK;SOFT;2;OK: 1 process(es) running
[06-05-2015 12:13:04] SERVICE ALERT: MY.HOST.X;sys-proc-CuFileSync;CRITICAL;SOFT;1;CRITICAL: SNMP error with snmp version 1 (No response from remote host "172.16.241.14")
[06-05-2015 12:08:41] SERVICE ALERT: MY.HOST.X;sys-proc-AuditLog;OK;SOFT;2;OK: 1 process(es) running
[06-05-2015 12:07:47] SERVICE ALERT: MY.HOST.X;sys-proc-AuditLog;CRITICAL;SOFT;1;CRITICAL: SNMP error with snmp version 1 (No response from remote host "172.16.241.14")
When we check the same service from nagios command line, each attempt is successful.
./check_hr_process -v 1 -H 172.16.241.14 -C tiger -w 1 -c 1 -d hostagt -t 60
[root@NAGIOS01 libexec]# ./check_hr_process -v 1 -H 172.16.241.14 -C tiger -w 1 -c 1 -d hostagt -t 60
OK: 1 process(es) running
[root@NAGIOS01 libexec]# ./check_hr_process -v 1 -H 172.16.241.14 -C tiger -w 1 -c 1 -d hostagt -t 60
OK: 1 process(es) running
[root@NAGIOS01 libexec]# ./check_hr_process -v 1 -H 172.16.241.14 -C tiger -w 1 -c 1 -d hostagt -t 60
OK: 1 process(es) running
Ping test from nagios to the servers shows no packet loss.
[root@NAGIOS01 libexec]# ping 172.16.241.14 -s 1200 -c 5
PING 172.16.241.14 (172.16.241.14) 1200(1228) bytes of data.
1208 bytes from 172.16.241.14: icmp_seq=1 ttl=60 time=10.9 ms
1208 bytes from 172.16.241.14: icmp_seq=2 ttl=60 time=19.4 ms
1208 bytes from 172.16.241.14: icmp_seq=3 ttl=60 time=17.5 ms
1208 bytes from 172.16.241.14: icmp_seq=4 ttl=60 time=13.0 ms
1208 bytes from 172.16.241.14: icmp_seq=5 ttl=60 time=17.4 ms
--- 172.16.241.14 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4023ms
rtt min/avg/max/mdev = 10.988/15.678/19.472/3.157 ms
We have also set the timeout value to -t in checkcommands.cfg as below.[/b]
define command {
command_name check_hr_process
command_line $USER1$/check_hr_process -v 1 -H $HOSTADDRESS$ -C $ARG1$ -w $ARG2$ -c $ARG3$ -d $ARG4$ -t 60
}
Any advice where should (if any) timeout settings to be modified in nagios?
Thank you.