Hi All,
the other day I did a yum update on the Centos VM running nagios, and ever since my switch traffic monitoring is showing 0Mbps. This is occurring on the three separate switches that I'm monitoring via SNMP.
Nagios version 5.2.5
Centos version centos-release-6-8.el6.centos.12.3.x86_64
Profile attached.
Cheers,
Chris.
Upgraded nagios host o/s now swich traffic bandwidht is zero
Upgraded nagios host o/s now swich traffic bandwidht is zero
You do not have the required permissions to view the files attached to this post.
Re: Upgraded nagios host o/s now swich traffic bandwidht is
Do you have a log of what all was updated when you ran 'yum update'?
Looking at your profile, I noticed this -
Is this one of the switches that is showing 0Mbps, or is this a newly added one? What is the full output of ls -la /var/lib/mrtg/?
Looking at your profile, I noticed this -
Code: Select all
Jul 11 11:30:57 nagios5 nagios: SERVICE ALERT: sonar41;Port 8 Bandwidth;UNKNOWN;SOFT;2;/var/lib/mrtg/10.174.64.41_8.rrd does not exist.
Jul 11 11:31:08 nagios5 nagios: SERVICE ALERT: sonar41;Port 9 Bandwidth;UNKNOWN;SOFT;1;/var/lib/mrtg/10.174.64.41_9.rrd does not exist.
Jul 11 11:31:12 nagios5 nagios: SERVICE ALERT: sonar41;Port 10 Bandwidth;UNKNOWN;SOFT;4;/var/lib/mrtg/10.174.64.41_10.rrd does not exist.
Jul 11 11:31:52 nagios5 nagios: SERVICE ALERT: sonar41;Port 8 Bandwidth;UNKNOWN;SOFT;3;/var/lib/mrtg/10.174.64.41_8.rrd does not exist.
Jul 11 11:32:04 nagios5 nagios: SERVICE ALERT: sonar41;Port 9 Bandwidth;UNKNOWN;SOFT;2;/var/lib/mrtg/10.174.64.41_9.rrd does not exist.
Jul 11 11:32:11 nagios5 nagios: SERVICE ALERT: sonar41;Port 10 Bandwidth;UNKNOWN;HARD;5;/var/lib/mrtg/10.174.64.41_10.rrd does not exist.
Jul 11 11:32:52 nagios5 nagios: SERVICE ALERT: sonar41;Port 8 Bandwidth;UNKNOWN;SOFT;4;/var/lib/mrtg/10.174.64.41_8.rrd does not exist.
Jul 11 11:33:05 nagios5 nagios: SERVICE ALERT: sonar41;Port 9 Bandwidth;UNKNOWN;SOFT;3;/var/lib/mrtg/10.174.64.41_9.rrd does not exist.
Jul 11 11:33:51 nagios5 nagios: SERVICE ALERT: sonar41;Port 8 Bandwidth;UNKNOWN;HARD;5;/var/lib/mrtg/10.174.64.41_8.rrd does not exist.
Jul 11 11:34:04 nagios5 nagios: SERVICE ALERT: sonar41;Port 9 Bandwidth;UNKNOWN;SOFT;4;/var/lib/mrtg/10.174.64.41_9.rrd does not exist.
Jul 11 11:35:04 nagios5 nagios: SERVICE ALERT: sonar41;Port 9 Bandwidth;UNKNOWN;HARD;5;/var/lib/mrtg/10.174.64.41_9.rrd does not exist.
Former Nagios Employee
Re: Upgraded nagios host o/s now swich traffic bandwidht is
I am having the same problem with Traffic Bandwidth being Zero after the 5.2.9 upgrade Don't know if it was a Centos with MRTG issue or the latest update that caused it to Fail.
Also Have attached my Yum Update on the Box also.
Also Have attached my Yum Update on the Box also.
You do not have the required permissions to view the files attached to this post.
Re: Upgraded nagios host o/s now swich traffic bandwidht is
The problem in doing a yum upgrade, it actually downgrades the MRTG package to an older version that doesn't work with the new file format XI uses to generate the bandwidth data.
To upgrade it to the working version, follow this KB article.
https://support.nagios.com/kb/article.php?id=511
To upgrade it to the working version, follow this KB article.
https://support.nagios.com/kb/article.php?id=511
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgraded nagios host o/s now swich traffic bandwidht is
This fixed the problem thank you very very much.
Re: Upgraded nagios host o/s now swich traffic bandwidht is
Hi tgriep,
that fixed it thanks.
I did the update after reading this thread which indicated that doing a yum update was safe.
https://support.nagios.com/forum/viewto ... 16&t=39192
Is there some way to stop yum from updating the mrtg components, or should I just not do the updates?
Cheers,
Chris.
that fixed it thanks.
I did the update after reading this thread which indicated that doing a yum update was safe.
https://support.nagios.com/forum/viewto ... 16&t=39192
Is there some way to stop yum from updating the mrtg components, or should I just not do the updates?
Cheers,
Chris.
Re: Upgraded nagios host o/s now swich traffic bandwidht is
The link below are some instructions I found that you can use to set excludes for certain packages.
http://www.tecmint.com/disable-certain- ... os-fedora/
You just have to edit the yum config files for that repo and add the "exclude= mrtg mrtg-libs" to the file.
Mrtg is usually part of the Base repo.
http://www.tecmint.com/disable-certain- ... os-fedora/
You just have to edit the yum config files for that repo and add the "exclude= mrtg mrtg-libs" to the file.
Mrtg is usually part of the Base repo.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgraded nagios host o/s now swich traffic bandwidht is
Hi tgriep,
thanks for that. I'll look into that.
Cheers,
Chris.
thanks for that. I'll look into that.
Cheers,
Chris.
Re: Upgraded nagios host o/s now swich traffic bandwidht is
Are we good to mark this thread as resolved?
Former Nagios Employee