check_snmp return value with performance graph

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
bongbi
Posts: 27
Joined: Wed Oct 07, 2015 2:05 pm

Re: check_snmp return value with performance graph

Post by bongbi »

Thanks.

Here is the conf file.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_snmp return value with performance graph

Post by scottwilkerson »

I think you need to remove the following from $ARG1$ field for these services=

Code: Select all

 -m NUTANIX-MIB
This is not present for the clusterIops which is working correctly
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
bongbi
Posts: 27
Joined: Wed Oct 07, 2015 2:05 pm

Re: check_snmp return value with performance graph

Post by bongbi »

Hi,

Performance graph still takes arbitrary value from somewhere. Any other suggestion?
You do not have the required permissions to view the files attached to this post.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: check_snmp return value with performance graph

Post by cdienger »

The graph showing zero may have had settings at one point that have changed and now new data can no longer be graphed. Try removing this graph's rrd and xml file. You'll find it under:

/usr/local/nagios/share/perfdata/<hostname>/<servicedesc>.[rrd|xml]
Performance graph still takes arbitrary value from somewhere.
The graph that jumps around would be graphing the data that the device returns and it's likely the counter jumps. Are you able to check the value on the device itself or with a MIB browser?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
bongbi
Posts: 27
Joined: Wed Oct 07, 2015 2:05 pm

Re: check_snmp return value with performance graph

Post by bongbi »

Hi,

I have deleted performance data rrd & xml file and restarted Nagios service but it shows same result.
I have attached MIB Browser output as well.

Thanks.
You do not have the required permissions to view the files attached to this post.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: check_snmp return value with performance graph

Post by cdienger »

Let's try to verify the requests from XI and the responses it receives.

On the XI command line run:

yum -y install tcpdump
tcpdump -s 0 -i any port 161 and host w.x.y.z -w ouputput.pcap


where w.x.y.z is the IP address of the device that is being queried. Let this run just long enough to capture a couple jumps in the graph and then use CTRL+C to stop it and PM me the output.pcap it created.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
bongbi
Posts: 27
Joined: Wed Oct 07, 2015 2:05 pm

Re: check_snmp return value with performance graph

Post by bongbi »

Email sent!
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: check_snmp return value with performance graph

Post by cdienger »

I missed the part where it's using snmp v3 and hence encrypted. Can it be switched to version 2c to help troubleshoot?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
bongbi
Posts: 27
Joined: Wed Oct 07, 2015 2:05 pm

Re: check_snmp return value with performance graph

Post by bongbi »

Based on Nutanix documentation, v1 & v2 are not supported.

https://portal.nutanix.com/#/page/docs/ ... _wc_t.html
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: check_snmp return value with performance graph

Post by cdienger »

Can you provide a screenshot of the Advanced tab for the clusterIops service so that we may see the performance data field? If you check this field, do you see the value jumping as well?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked