Page 1 of 1

Graphics no data display

Posted: Tue Jun 08, 2021 3:16 am
by CMCAPI
Good morning,

We don't know why but our bandwidth services don't receive the right data. We're controlling by Mb/s however the check gets the following result:

[nagios@cmnagios ~]$ /usr/local/nagios/libexec/check_rrdtraf -f /var/lib/mrtg/192.168.225.254_10047.rrd -w 70.00,70.00 -c 85.00,85.00 -l M
OK - Current BW in: 0Mbps Out: 0Mbps|in=.000056Mb/s;70.00;85.00 out=.000056Mb/s;70.00;85.00

Our current bandwidth is 5,6Mb/s however the check gets .000056Mb. How we could change the check in order to receive the right data?

Regards.

Re: Graphics no data display

Posted: Tue Jun 08, 2021 1:46 pm
by ssax
Please PM me this file:

/var/lib/mrtg/192.168.225.254_10047.rrd

Please PM me a copy of your profile, you can download it from Admin > System Profile by clicking the Download Profile button.

Please run these commands as root and PM me the resulting /tmp/mrtg.txt file as well:

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

Re: Graphics no data display

Posted: Wed Jun 16, 2021 4:55 am
by CMCAPI
I attach our profile and the mrtg.txt file.

Thanks for your support.

Moderator's Note: The profile has been shared with the support team but has been removed from the public forum.

Re: Graphics no data display

Posted: Wed Jun 16, 2021 2:19 pm
by ssax
Please send this file:

Code: Select all

/var/lib/mrtg/192.168.225.254_10047.rrd