Hi,
We have a linux box being monitored in nagiosxi. One of its services configured is Active Sessions. We are getting the values correctly, however the value in graph explorer is different.
when run via command line:
$ /usr/local/nagios/libexec/check_snmp -H x.x.x.x -P 2c -o globalStatActiveCalls.summaryPeriod1Current5Minutes -m /usr/share/snmp/mibs/perimeta.mib
SNMP OK - 4 | PERIMETA-MIB::globalStatActiveCalls.summaryPeriod1Current5Minutes=4c
in GUI mode:
Performance Graph does not show for this service.
Graph Explorer Value is different:
Thanks in advance for those who will help.
check_snmp, performance graph and graph explorer discrepancy
check_snmp, performance graph and graph explorer discrepancy
You do not have the required permissions to view the files attached to this post.
Re: check_snmp, performance graph and graph explorer discrep
Below is the rrd and xml file.
You do not have the required permissions to view the files attached to this post.
Re: check_snmp, performance graph and graph explorer discrep
Please run this command:
Then go to the performance graph that doesn't show and post any error that the command outputs (if any).
I'll take a look at the RRD while you do that.
Code: Select all
tail -f /var/log/httpd/error_log /var/log/httpd/ssl_error_logI'll take a look at the RRD while you do that.
Re: check_snmp, performance graph and graph explorer discrep
Hi,ssax wrote:Please run this command:
Then go to the performance graph that doesn't show and post any error that the command outputs (if any).Code: Select all
tail -f /var/log/httpd/error_log /var/log/httpd/ssl_error_log
I'll take a look at the RRD while you do that.
This is what I got. Though the error came up even before I go to the performance graph.
[root@NFVI-COMMON-NAGIOS-01 ~]# tail -f /var/log/httpd/error_log /var/log/httpd/ssl_error_log
==> /var/log/httpd/error_log <==
[Sun Jul 12 03:35:01 2015] [notice] Digest: generating secret for digest authentication ...
[Sun Jul 12 03:35:01 2015] [notice] Digest: done
[Sun Jul 12 03:35:01 2015] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
==> /var/log/httpd/ssl_error_log <==
[Sun Jul 12 03:35:01 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Jul 12 03:35:01 2015] [warn] RSA server certificate CommonName (CN) `rcscommonsplunk01' does NOT match server name!?
Re: check_snmp, performance graph and graph explorer discrep
Please go to the details for that service and post a screenshot of the "Advanced" tab which is to the right of "Performance Graphs".
Former Nagios employee
Re: check_snmp, performance graph and graph explorer discrep
Please see below.tmcdonald wrote:Please go to the details for that service and post a screenshot of the "Advanced" tab which is to the right of "Performance Graphs".
You do not have the required permissions to view the files attached to this post.
Re: check_snmp, performance graph and graph explorer discrep
There might be an issue with the long label returned for the performance data. Lets shorten it by adding the -l label option to your command like below.
/usr/local/nagios/libexec/check_snmp -H x.x.x.x -P 2c -o globalStatActiveCalls.summaryPeriod1Current5Minutes -m /usr/share/snmp/mibs/perimeta.mib -l ActiveCalls
Then you will have delete the old graph and data files and then the graphs will recreate themselves in about 20 minutes.
Run this to delete them.
rm /usr/local/nagios/share/perfdata/RCS-PROD-SSC-01/PROD_SSC_1_Active_Sessions.*
Wait a while and post back the results.
/usr/local/nagios/libexec/check_snmp -H x.x.x.x -P 2c -o globalStatActiveCalls.summaryPeriod1Current5Minutes -m /usr/share/snmp/mibs/perimeta.mib -l ActiveCalls
Then you will have delete the old graph and data files and then the graphs will recreate themselves in about 20 minutes.
Run this to delete them.
rm /usr/local/nagios/share/perfdata/RCS-PROD-SSC-01/PROD_SSC_1_Active_Sessions.*
Wait a while and post back the results.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: check_snmp, performance graph and graph explorer discrep
The graph for the service is now being shown under Performance Graph. However, we are still getting invalid value as shown below. Same data is seen under Graph Explorer.tgriep wrote:There might be an issue with the long label returned for the performance data. Lets shorten it by adding the -l label option to your command like below.
/usr/local/nagios/libexec/check_snmp -H x.x.x.x -P 2c -o globalStatActiveCalls.summaryPeriod1Current5Minutes -m /usr/share/snmp/mibs/perimeta.mib -l ActiveCalls
Then you will have delete the old graph and data files and then the graphs will recreate themselves in about 20 minutes.
Run this to delete them.
rm /usr/local/nagios/share/perfdata/RCS-PROD-SSC-01/PROD_SSC_1_Active_Sessions.*
Wait a while and post back the results.
You do not have the required permissions to view the files attached to this post.
Re: check_snmp, performance graph and graph explorer discrep
We are looking at the graphing issue with check_snmp and counters. As soon as a fix is found, we'll post back.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: check_snmp, performance graph and graph explorer discrep
Hi tgriep,tgriep wrote:We are looking at the graphing issue with check_snmp and counters. As soon as a fix is found, we'll post back.
Appreciate it.