All graphs failing to display
Posted: Mon Mar 30, 2020 11:19 am
Graphing is not working at all. We tried a full rebuild and a manual export/import of data so we had a fresh install but none of the information is updating. Here is the process used:
delete files in config file managemern tha tthen write configs so we have a fresh copy.
Copy the files from the primary server to the new server.
scp -r /usr/local/nagios/etc/ [email protected]:/usr/local/nagios/
scp -r /etc/mrtg/conf.d/ [email protected]:/etc/mrtg/
scp -r /usr/local/nagios/share/perfdata [email protected]:/usr/local/nagios/share/
scp -r /var/lib/mrtg [email protected]:/var/lib/
import all files to the backup instance and apply
Ensure ownership is correct on the perfdata
chown -R nagios:nagios /usr/local/nagios/share/perfdata
This process worked on 1 set of machines but not for the problem site. We have already done the following troubleshooting:
crond is running
Config files are present and correct.
/etc/mrtg/conf.d/* owned by apache:apache
Test run attached. Need help deciphering the numerous issues. Run time is < 1 minute
Permissions verified on /var/lib/mrtg /usr/local/nagios/share/perfdata
The /var/lock/mrtg/ exists
spool directories are not backing up (zero files)
Forks increased from 4 to 8 in /etc/mrtg/mrtg.cfg
delete files in config file managemern tha tthen write configs so we have a fresh copy.
Copy the files from the primary server to the new server.
scp -r /usr/local/nagios/etc/ [email protected]:/usr/local/nagios/
scp -r /etc/mrtg/conf.d/ [email protected]:/etc/mrtg/
scp -r /usr/local/nagios/share/perfdata [email protected]:/usr/local/nagios/share/
scp -r /var/lib/mrtg [email protected]:/var/lib/
import all files to the backup instance and apply
Ensure ownership is correct on the perfdata
chown -R nagios:nagios /usr/local/nagios/share/perfdata
This process worked on 1 set of machines but not for the problem site. We have already done the following troubleshooting:
crond is running
Config files are present and correct.
/etc/mrtg/conf.d/* owned by apache:apache
Test run attached. Need help deciphering the numerous issues. Run time is < 1 minute
Permissions verified on /var/lib/mrtg /usr/local/nagios/share/perfdata
The /var/lock/mrtg/ exists
spool directories are not backing up (zero files)
Forks increased from 4 to 8 in /etc/mrtg/mrtg.cfg