Nagios XI and MRTG showing Bytes

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rbuckle
Posts: 146
Joined: Tue Aug 04, 2015 12:25 pm
Location: Idaho
Contact:

Nagios XI and MRTG showing Bytes

Post 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?
----------------------------------
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios XI and MRTG showing Bytes

Post by rkennedy »

What plugin are you using to check the service in question?
Former Nagios Employee
rbuckle
Posts: 146
Joined: Tue Aug 04, 2015 12:25 pm
Location: Idaho
Contact:

Re: Nagios XI and MRTG showing Bytes

Post by rbuckle »

the auto discover setup

check_xi_service_mrtgtraf
----------------------------------
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios XI and MRTG showing Bytes

Post 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.
Former Nagios Employee
rbuckle
Posts: 146
Joined: Tue Aug 04, 2015 12:25 pm
Location: Idaho
Contact:

Re: Nagios XI and MRTG showing Bytes

Post 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
----------------------------------
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios XI and MRTG showing Bytes

Post 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.
Former Nagios Employee
rbuckle
Posts: 146
Joined: Tue Aug 04, 2015 12:25 pm
Location: Idaho
Contact:

Re: Nagios XI and MRTG showing Bytes

Post by rbuckle »

that is what i read also, but nothing tells me where to put the -u flag so it changes system wide.
----------------------------------
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios XI and MRTG showing Bytes

Post by rkennedy »

You should be able to configure your check_command to have the -u variable hard coded.
Former Nagios Employee
Locked