Not sure how to manage graphs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ejlorson
Posts: 27
Joined: Thu Jul 27, 2017 6:55 am

Not sure how to manage graphs

Post by ejlorson »

Running Nagios XI on CentOS. I am monitoring Linux-based security appliances with SNMPv3. I am not using wizards to create any Nagios objects for security reasons.

I set up basic SSH up/down monitoring for the host then created a SNMP Polling Service to collect User CPU usage. Both of these metrics show up in the graphs for the appliance as expected.

I then created a Service to collect the system load via SNMP. That Service is up and collecting data in Service Detail, but the metrics are not appearing as graphs. I looked in Graphs for the host as well as the Performance Graphs and Metrics and I only see the SSH and User CPU metrics.

What do I have to do to get my SNMP Metric Services to appear as graphs?
ejlorson
Posts: 27
Joined: Thu Jul 27, 2017 6:55 am

Re: Not sure how to manage graphs - UPDATE

Post by ejlorson »

I added two other checks - octets in and available memory and they showed up in graphs quickly. The ones that are not showing up have quotes around the return value.

E.G.:
SERVICE 1: SNMP OK - "4.03" (does not create graph)
SERVICE 2: SNMP OK - 2541567 (DOES create graph)

NOTE: both of these results came from polling the same system

So how do I strip out the quotes or otherwise get Nagios to ignore them?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Not sure how to manage graphs

Post by cdienger »

It looks like this is the same as https://support.nagios.com/forum/viewto ... 35&t=32588 . I'm not aware of any wrapper to remove the quotes at the moment but perhaps the device can be modified to remove them ?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ejlorson
Posts: 27
Joined: Thu Jul 27, 2017 6:55 am

Re: Not sure how to manage graphs

Post by ejlorson »

UPDATE: I wrote a Perl wrapper that does what I need. We can lock this thread.

Thanks,
Eric
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Not sure how to manage graphs

Post by scottwilkerson »

Glad you were able to solve the issue
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked