SNMP Performance Data Graph Scale

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
GldRush98
Posts: 256
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL
Contact:

SNMP Performance Data Graph Scale

Post by GldRush98 »

We have some SNMP checks set up that are monitoring data traffic for some virtual web sites.
We have the check working and we are getting performance data logged in to Nagios, but the unit of measurement is somewhat confusing.
The labels are simply "c". How can we configure a UOM on these services to something more logical like megabits per second, so that the graph shows this?

Here is an example of what we currently see:
graphApi.png
And here is what one of the services looks like:
check_xi_service_snmp! -o .1.3.6.1.4.1.1991.1.1.4.25.1.1.7.10.10.98.149 -C activewebsite -P 2c -u Bytes -l Interface Traffic!!!!!!!
The unit there is specified as Bytes, but it doesn't appear to be graphing that way.
So, how can we change this?
You do not have the required permissions to view the files attached to this post.
Dev & Prod XI: Debian 12 - Nagios XI 2024R1.3
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: SNMP Performance Data Graph Scale

Post by scottwilkerson »

If you go to the service detail page for this service on the advanced tab, what does it say under performance data:?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
GldRush98
Posts: 256
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL
Contact:

Re: SNMP Performance Data Graph Scale

Post by GldRush98 »

Performance Data:iso.3.6.1.4.1.1991.1.1.4.25.1.1.7.10.10.98.142=2982558408c
Dev & Prod XI: Debian 12 - Nagios XI 2024R1.3
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: SNMP Performance Data Graph Scale

Post by scottwilkerson »

performance data must be numeric, your has a c at the end
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: SNMP Performance Data Graph Scale

Post by Box293 »

I think that to change the performance data you need to use the -l (lowercase L) AND encapsulape the output in double quotes.

-l "Bytes"

Code: Select all

check_xi_service_snmp! -o .1.3.6.1.4.1.1991.1.1.4.25.1.1.7.10.10.98.149 -C activewebsite -P 2c -u Bytes -l "Interface Traffic!!!!!!!" 
or

Code: Select all

check_xi_service_snmp! -o .1.3.6.1.4.1.1991.1.1.4.25.1.1.7.10.10.98.149 -C activewebsite -P 2c -u Bytes -l "Bytes" 
Or for no label do
-l ""

Code: Select all

check_xi_service_snmp! -o .1.3.6.1.4.1.1991.1.1.4.25.1.1.7.10.10.98.149 -C activewebsite -P 2c -u Bytes -l "" 
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
GldRush98
Posts: 256
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL
Contact:

Re: SNMP Performance Data Graph Scale

Post by GldRush98 »

Ok, I'll give that a shot and post what works.
Is there no way to have it graph that bytes value as something more friendly like megabytes? I thought the graph would scale it accordingly... or maybe it will once it is receiving good data?
I have it updated and am just waiting for all new data to cycle in to see what it will do. I should have an answer tomorrow morning.
Dev & Prod XI: Debian 12 - Nagios XI 2024R1.3
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: SNMP Performance Data Graph Scale

Post by Box293 »

How did you go with this? Did you get the result you were after?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
GldRush98
Posts: 256
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL
Contact:

Re: SNMP Performance Data Graph Scale

Post by GldRush98 »

Sorry about not getting back sooner, but yes, I ended up using this one:
check_xi_service_snmp! -o .1.3.6.1.4.1.1991.1.1.4.25.1.1.7.10.10.98.149 -C activewebsite -P 2c -u Bytes -l "Bytes"
And that produced the output we were looking for. Thank you for your assistance. :)
Dev & Prod XI: Debian 12 - Nagios XI 2024R1.3
Locked