Page 1 of 1

Change bandwidth decimal

Posted: Mon Jun 28, 2021 9:09 am
by ndc
Good afternoon.
I am running this command and it shows me in = .000048Mb / s

When it should show in = 48.00Mb / s

[root@nagios ~]# /usr/local/nagios/libexec/check_rrdtraf -f /var/lib/mrtg/sw.ndc.local_10101.rrd -w 150.00,150.00 -c 170,170.0 -l M

OK - Current BW in: 0Mbps Out: 0Mbps|in=.000048Mb/s;150.00;170 out=.000008Mb/s;150.00;170.0

Thank you.

Re: Change bandwidth decimal

Posted: Mon Jun 28, 2021 2:53 pm
by ssax
Please note that the plugin is checking the average over the last 10 minutes.

What version of the plugin are you using?

Code: Select all

/usr/local/nagios/libexec/check_rrdtraf  -V
Please attach this file:

Code: Select all

/var/lib/mrtg/sw.ndc.local_10101.rrd
Send the full output of this command:

Code: Select all

/usr/local/nagios/libexec/check_rrdtraf -f /var/lib/mrtg/sw.ndc.local_10101.rrd -w 150.00,150.00 -c 170,170.0 -l M -vv

Re: Change bandwidth decimal

Posted: Mon Jun 28, 2021 3:36 pm
by ssax
There is already a ticket open on this, please continue support through the ticket.

Locking the thread.