Page 1 of 1

Nagios XI and MRTG showing Bytes

Posted: Thu Dec 31, 2015 1:17 pm
by rbuckle
What is the best process to change MRTGs Bytes into Bits in Nagios XI?

Explaination:

I work for an ISP, we monitor our border routers for bandwidth.... our current charting (not Nagios) shows everything in Bits, we pay for Bits... for some reason Nagios XI's VM shows the bandwidth in Bytes.

Can anything be done?

Re: Nagios XI and MRTG showing Bytes

Posted: Mon Jan 04, 2016 1:06 pm
by rkennedy
What plugin are you using to check the service in question?

Re: Nagios XI and MRTG showing Bytes

Posted: Mon Jan 04, 2016 1:40 pm
by rbuckle
the auto discover setup

check_xi_service_mrtgtraf

Re: Nagios XI and MRTG showing Bytes

Posted: Mon Jan 04, 2016 2:30 pm
by rkennedy
Thanks for that. There is a previous post that has a bit of information about changing ti from bytes -> bits. Here it is -
https://support.nagios.com/forum/viewto ... =7&t=31476

I think you'll be limited based on that plugin, it may be worth taking a look at what other options you may have.

Re: Nagios XI and MRTG showing Bytes

Posted: Tue Jan 05, 2016 12:07 pm
by rbuckle
I read that thread... it is not clear as to what was actually done... I am currently running the prepackaged VHD for Nagios XI

Re: Nagios XI and MRTG showing Bytes

Posted: Tue Jan 05, 2016 3:44 pm
by rkennedy
It is not clear what was done, but with that last thread in mind I don't think you'll be able to change it from bytes -> bits with this plugin.

I took a look over at our exchange, and found this plugin -
https://exchange.nagios.org/directory/P ... af/details

From the looks of it, it'll display it in bytes with the -u flag.

Re: Nagios XI and MRTG showing Bytes

Posted: Mon Jan 11, 2016 1:49 pm
by rbuckle
that is what i read also, but nothing tells me where to put the -u flag so it changes system wide.

Re: Nagios XI and MRTG showing Bytes

Posted: Mon Jan 11, 2016 1:57 pm
by rkennedy
You should be able to configure your check_command to have the -u variable hard coded.