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?
Metric not graphing
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Metric not graphing
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
The command check_xi_service_snmp_linux_load will take care of this for you
Re: Metric not graphing
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!
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!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Metric not graphing
Glad it is working!