Switch ports and bandwidth errors after switch wizard
Posted: Fri Dec 21, 2018 12:02 pm
I tried to configure some switches using the wizard and it's not working. The port status does report if the port is up or down correctly, but the Bandwidth has one of two issues, either it reports zero up and zero down at all time:
Or it says some variation of:
Reading online I also did the following. I tried "LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg" this is the output:
I tried modifying permissions with:
I set up a brand new Nagios XI installation without this switch, and restored from backup, and then recreated the switch but that just recreated the problem.
Thanks for your assistance.
Code: Select all
OK - Current BW in: 0Mbps Out: 0Mbps
Code: Select all
/var/lib/mrtg/192.168.2.182_139.rrd does not exist.
Code: Select all
[root@nagios /]# LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
ERROR: Line 71 (Target[192.168.2.182_2]: 2:[email protected]:161::::2) in CFG file (/etc/mrtg/conf.d/192.168.2.182.cfg)
contains a duplicate definition for target[192.168.2.182_2].
First definition is on line 4
I tried modifying permissions with:
Code: Select all
chown -R apache.nagios /etc/mrtg/conf.d
chmod -R 775 /etc/mrtg/conf.d
Thanks for your assistance.