Page 1 of 1

Metric not graphing

Posted: Thu Sep 21, 2017 6:55 am
by ejlorson
I am on Nagios XI 5.4.8 on Linux

I am pulling system load on a Linux box via SNMP. The value initally came back from check_snmp in quotes so it would not graph.

I created a wrapper for the check_snmp command that strips out the quotes. Now in Nagios I see the value being returned without quotes, but I still do not get the graph. What do I have to do to get the values to be seen as integers and parsed?

Re: Metric not graphing

Posted: Thu Sep 21, 2017 9:40 am
by scottwilkerson
On a Nagios XI system the easiest thing to so is to run the Linux SNMP wizard and use a plugin that takes care of this for you.

The command check_xi_service_snmp_linux_load will take care of this for you

Re: Metric not graphing

Posted: Thu Sep 21, 2017 12:57 pm
by ejlorson
check_xi_service_snmp_linux_load did what I needed - thanks.

FYI, I tried the wizard, but it did not dinf the system load OID. That is why I was trying to set it up myself.

Thanks!

Re: Metric not graphing

Posted: Thu Sep 21, 2017 1:25 pm
by scottwilkerson
Glad it is working!