check_rrdtraf plugin producing 0 interface Bandwidth output

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jaibharath
Posts: 1
Joined: Tue Jun 09, 2020 9:56 am

check_rrdtraf plugin producing 0 interface Bandwidth output

Post 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.
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: check_rrdtraf plugin producing 0 interface Bandwidth out

Post 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.
Locked