Graph Explorer issue
Graph Explorer issue
Hi,
I have all hosts inside the graph explorer. My issue is, for some hosts, there are some services that do not generate graps (e.g. memory usage). What could be the reason for it? Where can I check the configuration for Graph Explorer?
Thank you in advance.
I have all hosts inside the graph explorer. My issue is, for some hosts, there are some services that do not generate graps (e.g. memory usage). What could be the reason for it? Where can I check the configuration for Graph Explorer?
Thank you in advance.
Re: Graph Explorer issue
Do you see the graphs when you go to: Service Detail-><your service>->Performance Graphs? What is the version of the Nagios XI that you are currently using?
Try to access the graph in the Graph Explorer, then run the following command and show us the output if code wraps:
Try to access the graph in the Graph Explorer, then run the following command and show us the output if code wraps:
Code: Select all
tail -50 /var/log/httpd/error_logBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Graph Explorer issue
Unfortunately, I don't see it too when I go to: Service Detail-><your service>->Performance Graphs. Nagios XI version is 2014R1.3.
[Sun Jun 21 03:16:01 2015] [notice] Digest: generating secret for digest authentication ...
[Sun Jun 21 03:16:01 2015] [notice] Digest: done
[Sun Jun 21 03:16: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
[root@NFVI-COMMON-NAGIOS-01 libexec]# tail -50 /var/log/httpd/error_loglmiltchev wrote:Code: Select all
tail -50 /var/log/httpd/error_log
[Sun Jun 21 03:16:01 2015] [notice] Digest: generating secret for digest authentication ...
[Sun Jun 21 03:16:01 2015] [notice] Digest: done
[Sun Jun 21 03:16: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
Re: Graph Explorer issue
If you don't see a graph under the "Service Status Detail" ("Performance Graphs" tab), you are not going to see it under the "Graph Explorer", either.
Can you click on the "Advanced" tab under the "Service Status Detail" page and show us a screenshot of this page?
Also, run:
and show us the output. Please, substitute "<host name>" with the actual hostname of the host to which the "problem" service is added.
Can you click on the "Advanced" tab under the "Service Status Detail" page and show us a screenshot of this page?
Also, run:
Code: Select all
ll -d /usr/local/nagios/share/perfdata/<host name>
ll /usr/local/nagios/share/perfdata/<host name>
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Graph Explorer issue
lmiltchev wrote:Can you click on the "Advanced" tab under the "Service Status Detail" page and show us a screenshot of this page?
[iptribe@NFVI-COMMON-NAGIOS-01 ~]$ ll -d /usr/local/nagios/share/perfdata/RCS-PROD-WCAS-01Code: Select all
ll -d /usr/local/nagios/share/perfdata/<host name>
ll /usr/local/nagios/share/perfdata/<host name>
drwxrwxr-x. 2 nagios nagios 4096 Jun 30 13:53 /usr/local/nagios/share/perfdata/RCS-PROD-WCAS-01
[iptribe@NFVI-COMMON-NAGIOS-01 ~]$ ll /usr/local/nagios/share/perfdata/RCS-PROD-WCAS-01
total 9800
-rwxrwxr-x. 1 nagios nagios 1534768 Jun 30 13:52 CPU_Stats.rrd
-rw-rw-rw- 1 nagios nagios 4113 Jun 30 13:52 CPU_Stats.xml
-rwxrwxr-x. 1 nagios nagios 384952 Jun 30 13:53 _dev_sda1_Disk_Usage.rrd
-rw-rw-rw- 1 nagios nagios 2238 Jun 30 13:53 _dev_sda1_Disk_Usage.xml
-rwxrwxr-x. 1 nagios nagios 384952 Jun 30 13:50 _dev_sdb1_Disk_Usage.rrd
-rw-rw-rw- 1 nagios nagios 2261 Jun 30 13:50 _dev_sdb1_Disk_Usage.xml
-rwxrwxr-x. 1 nagios nagios 1534768 Jun 30 13:52 _HOST_.rrd
-rw-rw-rw- 1 nagios nagios 2112 Jun 30 13:52 _HOST_.xml
-rwxrwxr-x 1 nagios nagios 768224 Oct 12 2014 HTTP.rrd
-rwxrwxr-x 1 nagios nagios 2767 Oct 12 2014 HTTP.xml
-rwxrwxr-x. 1 nagios nagios 1151496 Sep 10 2014 Load.rrd
-rwxrwxr-x 1 nagios nagios 3503 Sep 10 2014 Load.xml
-rwxrwxr-x. 1 nagios nagios 2301312 Jun 25 07:35 Memory_Usage.rrd
-rwxrwxr-x 1 nagios nagios 2956 Jun 25 07:35 Memory_Usage.xml
-rwxrwxr-x. 1 nagios nagios 1534768 Oct 10 2014 Ping.rrd
-rwxrwxr-x 1 nagios nagios 4130 Oct 10 2014 Ping.xml
-rwxrwxr-x. 1 nagios nagios 384952 Oct 12 2014 Swap_Usage.rrd
-rwxrwxr-x 1 nagios nagios 2160 Oct 12 2014 Swap_Usage.xml
You do not have the required permissions to view the files attached to this post.
Re: Graph Explorer issue
I believe the issue is in the multiple semicolons (";;;;"). The performance data should look like something like this:
https://nagios-plugins.org/doc/guidelines.html#AEN200
What is the plugin that you are using? Can you provide us with a download link to it? We can test it in-house.
Also, show us the actual check run from the command line, along with the output of it.
Code: Select all
'TOTAL'=valueKB;'USED'=valueKB;'FREE'=valueKB;'CACHES'=valueKB;What is the plugin that you are using? Can you provide us with a download link to it? We can test it in-house.
Also, show us the actual check run from the command line, along with the output of it.
Be sure to check out our Knowledgebase for helpful articles and solutions!
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Graph Explorer issue
If this is the case, it will show up in the logs.lmiltchev wrote:I believe the issue is in the multiple semicolons (";;;;").
Lets increase the logging verbosity and then take a deeper look into the logs. Follow the FAQ entry below to increase the log level of process_perfdata and npcd:
http://support.nagios.com/wiki/index.ph ... leshooting
Wait 15 - 20 minutes and then get a tail of the logs:
Code: Select all
tail -250 /usr/local/nagios/var/perfdata.log > /tmp/perfdata.txt
tail -250 /usr/local/nagios/var/npcd.log > /tmp/npcd.txtDon't forget to turn down the log level as per the FAQ when you are done!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Graph Explorer issue
I got it from the link below:lmiltchev wrote:I believe the issue is in the multiple semicolons (";;;;"). The performance data should look like something like this:
https://nagios-plugins.org/doc/guidelines.html#AEN200Code: Select all
'TOTAL'=valueKB;'USED'=valueKB;'FREE'=valueKB;'CACHES'=valueKB;
What is the plugin that you are using? Can you provide us with a download link to it? We can test it in-house.
Also, show us the actual check run from the command line, along with the output of it.
http://sysadminsjourney.com/content/200 ... os-plugin/
root@RCS-PROD-WCAS-01:/usr/lib/nagios/plugins# ./check_mem.pl -f -C -w 5 -c 1
OK - 72.1% (11849624 kB) free.|TOTAL=16429872KB;;;; USED=4580248KB;15608378;16265573;; FREE=11849624KB;;;; CACHES=4744340KB;;;;
I modified the plugin but it still does not produce graphs.
root@RCS-PROD-WCAS-01:/usr/lib/nagios/plugins# ./check_mem.pl -f -C -w 5 -c 1
OK - 71.6% (11761692 kB) free.|TOTAL=16429872KB; USED=4668180KB;15608378;16265573; FREE=11761692KB; CACHES=5387536KB;
Box293 wrote:If this is the case, it will show up in the logs.lmiltchev wrote:I believe the issue is in the multiple semicolons (";;;;").
Lets increase the logging verbosity and then take a deeper look into the logs. Follow the FAQ entry below to increase the log level of process_perfdata and npcd:
http://support.nagios.com/wiki/index.ph ... leshooting
Wait 15 - 20 minutes and then get a tail of the logs:
Send us a copy of /tmp/perfdata.txt and /tmp/npcd.txtCode: Select all
tail -250 /usr/local/nagios/var/perfdata.log > /tmp/perfdata.txt tail -250 /usr/local/nagios/var/npcd.log > /tmp/npcd.txt
Don't forget to turn down the log level as per the FAQ when you are done!
You do not have the required permissions to view the files attached to this post.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Graph Explorer issue
Can you run these commands please:
And send us the output
Code: Select all
su nagios
/usr/local/nagios/libexec/process_perfdata.pl --versionAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Graph Explorer issue
[nagios@NFVI-COMMON-NAGIOS-01 root]$ /usr/local/nagios/libexec/process_perfdata.pl --versionBox293 wrote:Can you run these commands please:
And send us the outputCode: Select all
su nagios /usr/local/nagios/libexec/process_perfdata.pl --version
Version: process_perfdata.pl 0.6.11
Copyright (c) 2005-2010 Joerg Linge <[email protected]>