Hi Team,
I have discovered Aruba switch on Nagios [version 8.5.1], I see /var/lib/mrtg/10.*.*.*_828.rrd does not exist. error for interface bandwidth.
If there is a device A and has 3 interfaces [interface1,interface2,interface3] then interface1 and interface2 is working fine but interface3 ends up with the error mentioned above.
If anyone has come across similar case please let me know.
/var/lib/mrtg/10.*.*.*_828.rrd does not exist.
-
- Posts: 105
- Joined: Thu Apr 09, 2020 7:35 am
Re: /var/lib/mrtg/10.*.*.*_828.rrd does not exist.
Please run these commands as root and then PM me the resulting /tmp/mrtg.txt file so I can review what MRTG is seeing:
Thank you!
Code: Select all
cat /etc/cron.d/mrtg > /tmp/mrtg.txt
ls -ld /var/lib/mrtg >> /tmp/mrtg.txt
ls -l /var/lib/mrtg >> /tmp/mrtg.txt
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg -debug=cfg,base,log &>> /tmp/mrtg.txt
LANG=C LC_ALL=C /usr/bin/mrtg &>> /tmp/mrtg.txt
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/mrtg/mrtg.ok --user=nagios --group=nagios &>> /tmp/mrtg.txt
{ time LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg 2>1 ; } 2>> /tmp/mrtg.txt
-
- Posts: 105
- Joined: Thu Apr 09, 2020 7:35 am
Re: /var/lib/mrtg/10.*.*.*_828.rrd does not exist.
Hi Ssax,
Here is the o/p.
Moderator's Note: The mrtg.txt has been shared with the support team but has been removed from the public forum.
Here is the o/p.
Moderator's Note: The mrtg.txt has been shared with the support team but has been removed from the public forum.
Re: /var/lib/mrtg/10.*.*.*_828.rrd does not exist.
This was resolved on the remote session, we had to resetup the config file in /etc/mrtg/conf.d for about 10 hosts because the snmp community changed. The are a couple that are administratively down that won't create the RRD file because that is the default for what MRTG does, you can either disable those services, or uncomment the port in /etc/mrtg/conf.d/X.X.X.X.cfg and it will starting building the RRDs for that port.