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.
check_rrdtraf plugin producing 0 interface Bandwidth output
-
jaibharath
- Posts: 1
- Joined: Tue Jun 09, 2020 9:56 am
check_rrdtraf plugin producing 0 interface Bandwidth output
You do not have the required permissions to view the files attached to this post.
Re: check_rrdtraf plugin producing 0 interface Bandwidth out
Please run these commands as root and PM me the resulting /tmp/mrtg.txt file:
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.
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.txtThat should give us the info we need.