Re: Nagios XI 5.6.6 Missing /var/lib/mrtg/
Posted: Mon Dec 09, 2019 3:45 pm
When installing rrdcached on the server, it add an option to the MRTG config file which caused MRTG to fail.
Edit the /etc/mrtg/mrtg.cfg file and remove this line and save it.
You may have to reinstall the rrdtool perl package by running
To test it, run this command
If you do not see this error
Wait for 20 minutes and see if the rrd files are created.
Edit the /etc/mrtg/mrtg.cfg file and remove this line and save it.
Code: Select all
LibAdd: /opt/rrdtool-1.4.4/lib/perl/5.10.1Code: Select all
yum reinstall rrdtool-perlCode: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg -debug=cfg,base,logCode: Select all
ERROR: CFG Error in "libadd", file /etc/mrtg/mrtg.cfg line 0: /opt/rrdtool-1.4.4/lib/perl/5.10.1 is not the name of a directory