Nagvis and Network Port monitors

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Fred Kroeger
Posts: 588
Joined: Wed Oct 19, 2011 11:36 pm
Location: Perth, Western Australia
Contact:

Nagvis and Network Port monitors

Post by Fred Kroeger »

Is it possible to have the data returned by the Nagios check_rrdtraf plugin changed to a format that is suitable for using Nagvis weatrhermap lines ?
This is an excerpt form the Nagvis doco

Code: Select all

The weathermap lines do not require a specific Nagios plugin. Only the provided performance format needs to match one of the cases below:

    Percentage usage: four perfdata sets. While the first two sets provide the percentage usage and the second two sets provide the usage in bytes per sec.
    One example: inUsage=21103.42%;85;98 outUsage=226363.55%;85;98 inBandwidth=105.52MBs outBandwidth=212.22MBs.

    Byte rate usage: needs at least two perfdata sets with the labels "in" and "out" with an empty UOM. It uses the current value and the maximum value to calculate the current percentage usage. The current value should be given as byte rate. The maximum value should provide the network interface bandwidth as bytes per seconds.
    One example: in=7196.50566429;;;0;1250000.0 inucast=11.6273564992;;;; innucast=0.017617206817;;;; indisc=0.0;;;; inerr=0.0;0.01;0.1;; out=4044.9635368;;;0;1250000.0 outucast=12.1734899105;;;; outnucast=0.0;;;; outdisc=0.0;;;; outerr=0.0;0.01;0.1;; outqlen=0;;;;.
Currently only the following perfdata is returned

Code: Select all

in=0Mb/s;50;80 out=0Mb/s;50;80
So what I'm looking for is perfdata that returns the four values (inUsage, outUsage, inBandwidth, outBandwidth) or the existing two values (in & out) also include the maximum value.

regards.... Fred
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagvis and Network Port monitors

Post by tmcdonald »

It can be pretty easily modified since it's a bash script, but that would need to be either a feature request or custom development for the devs to work on it. We can take either route, just let me know what would work best for you.
Former Nagios employee
Fred Kroeger
Posts: 588
Joined: Wed Oct 19, 2011 11:36 pm
Location: Perth, Western Australia
Contact:

Re: Nagvis and Network Port monitors

Post by Fred Kroeger »

Happy to have it added as a feature request. Might have a quick look myself when it's quiet.

Thanks... Fred
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagvis and Network Port monitors

Post by lmiltchev »

Fred, I filed an internal feature request (TASK ID 8057). Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Fred Kroeger
Posts: 588
Joined: Wed Oct 19, 2011 11:36 pm
Location: Perth, Western Australia
Contact:

Re: Nagvis and Network Port monitors

Post by Fred Kroeger »

Thanks Ludmil - you can close this thread

regards.. Fred
Locked