Page 1 of 1

r1.8 bandwidth and connection refused

Posted: Sun Nov 27, 2011 2:06 am
by dwatson
Hi

I was recently on version 1.6 and upgraded to 1.7 where it crashed the system.

So i have started again from the 1.8 image. I am having two issues however with this version.

1. The windows hosts are reporting Connection refused. I can telnet on port 5666 from the server to nagios and 12489 from nagios to the server. Is there anything else i should look out for?

2. The routers that are reporting back via SNMP are not reporting anything in the bandwidth. Not even 0mbps, just blank. When I run an snmp walk, the out octets are increasing. OK - Current BW in: Mbps Out: Mbps

Would it have anything to do with snmp version 2c rather then 2? As you cant select 2c in this version


Any help will be greatly appreciated as i want to get this system back up and running.

thanks

Re: r1.8 bandwidth and connection refused

Posted: Sun Nov 27, 2011 5:30 pm
by jsmurphy
Has the IP address or hostname changed? Perhaps the NSclient configs and SNMP ACL's are not allowing the new server access.

Re: r1.8 bandwidth and connection refused

Posted: Sun Nov 27, 2011 8:44 pm
by dwatson
I managed to fix 1. Didnt setup my DNS settings correct. :o

But i am still having issues with the bandwidth reporting.

I have checked the SNMP ACLs and the IP is still correct as the host IP is still the same

thanks

Re: r1.8 bandwidth and connection refused

Posted: Mon Nov 28, 2011 6:33 am
by dwatson
when i run the check_rrdtraf i get the following

[root@pacsysmon libexec]# ./check_rrdtraf -f '/var/lib/mrtg/10.131.32.1_1.rrd' -w 1,1 -c 2,2 -l M
./check_rrdtraf: line 315: bc: command not found
./check_rrdtraf: line 315: bc: command not found
OK - Current BW in: Mbps Out: Mbps./check_rrdtraf: line 316: bc: command not found
|in=Mb/s;1;2 ./check_rrdtraf: line 317: bc: command not found
out=Mb/s;1;2
You have new mail in /var/spool/mail/root


is this file different in 1.8?

Re: r1.8 bandwidth and connection refused

Posted: Mon Nov 28, 2011 3:50 pm
by lmiltchev
Do you have bc installed? Try running in terminal:

Code: Select all

# yum install bc

Re: r1.8 bandwidth and connection refused

Posted: Mon Nov 28, 2011 5:08 pm
by dwatson
thanks, that has resolved my issue

Re: r1.8 bandwidth and connection refused

Posted: Mon Nov 28, 2011 5:51 pm
by lmiltchev
Glad, I could help!