Page 2 of 3
Re: Nagios XI 5 upgrade SNMP switch failures
Posted: Tue Oct 13, 2015 2:45 pm
by hsmith
All right. In that case, I would add rules to allow UDP 161/162, and test.
Re: Nagios XI 5 upgrade SNMP switch failures
Posted: Tue Oct 13, 2015 2:58 pm
by rkobliski
done, enabled ports, still down...
Re: Nagios XI 5 upgrade SNMP switch failures
Posted: Tue Oct 13, 2015 2:59 pm
by hsmith
Did you schedule an immediate check? Sometimes it takes a bit before Nagios checks again. Can you try to run the check from the command line?
Re: Nagios XI 5 upgrade SNMP switch failures
Posted: Tue Oct 13, 2015 3:12 pm
by rkobliski
This command it runs from the web "check_xi_service_ifoperstatus" should i not be able to find it on the server?????
Re: Nagios XI 5 upgrade SNMP switch failures
Posted: Tue Oct 13, 2015 3:21 pm
by hsmith
/usr/local/nagios/libexec/check_ifoperstatus is what you're looking for.
Re: Nagios XI 5 upgrade SNMP switch failures
Posted: Tue Oct 13, 2015 3:34 pm
by rkobliski
./check_ifoperstatus -k 10 -v2 -H 172.25.10.1 -C ATNI
WARNING: SNMP error: No response from remote host '172.25.10.1'
no change, what is the difference between 5 and 2014r2.7 for this command????
Re: Nagios XI 5 upgrade SNMP switch failures
Posted: Tue Oct 13, 2015 3:39 pm
by rkobliski
Can i back out of this upgrade???
Re: Nagios XI 5 upgrade SNMP switch failures
Posted: Tue Oct 13, 2015 3:43 pm
by hsmith
XI5:
Code: Select all
[root@hxi libexec]# md5sum check_ifoperstatus
a0801bf522fbcea7ad44bffbc3a4c0d0 check_ifoperstatus
[root@hxi libexec]#
2014r2.7:
Code: Select all
[root@localhost libexec]# md5sum check_ifoperstatus
a0801bf522fbcea7ad44bffbc3a4c0d0 check_ifoperstatus
[root@localhost libexec]#
What does your
'service iptables status' look like right now?
You may want to do a tcpdump to see what is happening.
Re: Nagios XI 5 upgrade SNMP switch failures
Posted: Tue Oct 13, 2015 4:05 pm
by rkobliski
service iptables status
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
2 ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0
3 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
4 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
5 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:587
6 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:80
7 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:443
8 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state NEW udp dpt:161
9 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state NEW udp dpt:162
10 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:389
11 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:636
12 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
1 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
Re: Nagios XI 5 upgrade SNMP switch failures
Posted: Tue Oct 13, 2015 4:11 pm
by hsmith
rkobliski wrote:Can i back out of this upgrade???
Did you make any backups, or do you have a snapshot if you're using a VM?