Thanks for following up with the screenshots. Noticed that this is a Rock Linux Distro release 8.5 and wanted to find out if the graph perfdata functioned? Wondering if this is an issue was with an update that was pushed out. Whatever the case is, which could be pretty complex and comprehensive as Nagios is not officially supported on the Rock Distro. Further troubleshooting would be challenging to pinpoint the issue since it is not supported.
The best pointers going forward:
Intriguing that .rrd's are written to the /var/lib/mrtg/ directory, or we should say created with zero bytes associated with them.
Either we are running into permissions or other issues, and we see that the '/var/lib/mrtg' directory is not rotating either. Either means the cron job is not doing its job or other reasons include permissions.
Take a look at the .rrd by dumping it to .xml so we can see if there is anything written.
Code: Select all
rrdtool dump some.rrd > some.xml
Code: Select all
cat some.xml
Looking at the verbose logging on 'check_rrdtraf' by adding the -vvv switch to:
command_line
Code: Select all
$USER1$/check_rrdtraf -f /var/lib/mrtg/$ARG1$ -w $ARG2$ -c $ARG3$ -l $ARG4$ -vvv
Another option is to migrate over to one of the support Linux distros.
https://support.nagios.com/kb/article.php?id=12
https://support.nagios.com/kb/article/m ... r-892.html
Please let us know if you have further questions,
Perry