Status information is not showing correct information.
Posted: Fri May 06, 2016 1:23 pm
Hello all,
I've recently upgraded my backup server to XI 5.2.7. Everything looked great, except my router services are reporting incorrect service information. All other types of services (disk, CPU, memory) are working fine and reporting the correct values for their services. But my bandwidth usage services are all reporting 0 in/0 out. If I run the "test check command", it comes back with "OK", along with 0s for the in/out data:
On backup server (running 5.2.7)
COMMAND: /usr/local/nagios/libexec/check_rrdtraf -f /var/lib/mrtg/10.16.132.98_1.rrd -w 300,300 -c 500,500 -l M
OUTPUT: OK - Current BW in: 0Mbps Out: 0Mbps|in=0Mb/s;300;500 out=0Mb/s;300;500
I run the same command on my primary server (running version 2014r2.7), I'm getting correct information:
COMMAND: /usr/local/nagios/libexec/check_rrdtraf -f /var/lib/mrtg/10.16.132.98_1.rrd -w 300,300 -c 500,500 -l M
OUTPUT: OK - Current BW in: 3.01Mbps Out: 3.42Mbps|in=3.017978Mb/s;300;500 out=3.422293Mb/s;300;500
Looking at the /var/lib/mrtg/10.16.132.98_1.rrd file is showing is hasn't been touched since August of 2015.
backup:
104 -rw-r--r-- 1 root root 105312 Aug 20 2015 10.16.132.98_1.rrd
Where on the production server, it is showing as current:
104 -rw-r--r-- 1 root root 105312 May 6 18:06 10.16.132.98_1.rrd
So my question is, how do I fix this? Is there a way to wipe these old files and copy over the /var/lib/mrtg files from the primary to he backup and restart? Thanks.
Thanks,
Joe
I've recently upgraded my backup server to XI 5.2.7. Everything looked great, except my router services are reporting incorrect service information. All other types of services (disk, CPU, memory) are working fine and reporting the correct values for their services. But my bandwidth usage services are all reporting 0 in/0 out. If I run the "test check command", it comes back with "OK", along with 0s for the in/out data:
On backup server (running 5.2.7)
COMMAND: /usr/local/nagios/libexec/check_rrdtraf -f /var/lib/mrtg/10.16.132.98_1.rrd -w 300,300 -c 500,500 -l M
OUTPUT: OK - Current BW in: 0Mbps Out: 0Mbps|in=0Mb/s;300;500 out=0Mb/s;300;500
I run the same command on my primary server (running version 2014r2.7), I'm getting correct information:
COMMAND: /usr/local/nagios/libexec/check_rrdtraf -f /var/lib/mrtg/10.16.132.98_1.rrd -w 300,300 -c 500,500 -l M
OUTPUT: OK - Current BW in: 3.01Mbps Out: 3.42Mbps|in=3.017978Mb/s;300;500 out=3.422293Mb/s;300;500
Looking at the /var/lib/mrtg/10.16.132.98_1.rrd file is showing is hasn't been touched since August of 2015.
backup:
104 -rw-r--r-- 1 root root 105312 Aug 20 2015 10.16.132.98_1.rrd
Where on the production server, it is showing as current:
104 -rw-r--r-- 1 root root 105312 May 6 18:06 10.16.132.98_1.rrd
So my question is, how do I fix this? Is there a way to wipe these old files and copy over the /var/lib/mrtg files from the primary to he backup and restart? Thanks.
Thanks,
Joe