Page 1 of 1

check_rrdtraf plugin producing 0 interface Bandwidth output

Posted: Thu May 06, 2021 4:48 pm
by jaibharath
We are facing issues with check_rrdtraf plugin, which is producing 0 interface Bandwidth output.
We have other similar plugin which is generating bandwidth output correctly.
We have attached screenshot of the CLI output from rrdtraf and GUI and CLI.

Please help at the earliest as this is causing production impact since we are not able to produce bandwidth reports or receiving any related alerts.

Re: check_rrdtraf plugin producing 0 interface Bandwidth out

Posted: Fri May 07, 2021 2:57 pm
by ssax
Please run these commands as root and PM me the resulting /tmp/mrtg.txt file:

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
Please PM me a copy of your profile.zip as well, you can download it from Admin > System Profile by clicking the Download Profile button.

That should give us the info we need.