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?
Not sure how to manage graphs
Re: Not sure how to manage graphs - UPDATE
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?
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?
Re: Not sure how to manage graphs
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.
Re: Not sure how to manage graphs
UPDATE: I wrote a Perl wrapper that does what I need. We can lock this thread.
Thanks,
Eric
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
Glad you were able to solve the issue