Page 1 of 1

Server missing from graph explorer

Posted: Fri Feb 07, 2014 9:21 am
by WillemDH
Hello,

I have a server that is not showing up in the Graph Explorer. I'm 100 % sure it was there a month ago. I think it has something to do with the 2.8 update probably. I noticed it today as I was cleaning up a dashboard. After deleting a dashlet for this particular server, I wanted to re-add it, but it seems to be no longer in the host list where you select hosts in the Graph Explorer.

When I go the server through quick find, the server is still there and I can access it's perfdata form the last 24 hours with the new graph icon. When I go to /usr/local/nagios/share/perfdata I can see the rrd and xml files.

Code: Select all

-rwxrwxr-x 1 nagios nagios  768224 Feb  7 15:03 DRV_C.rrd
-rw-rw-rw- 1 nagios nagios    2956 Feb  7 15:03 DRV_C.xml
-rwxrwxr-x 1 nagios nagios  768224 Dec 16 11:57 HTTP.rrd
-rwxrwxr-x 1 nagios nagios    2963 Dec 16 11:57 HTTP.xml
-rwxrwxr-x 1 nagios nagios  384952 Feb  7 15:09 PFC_Avg_Disk_Queue_Length.rrd
-rw-rw-rw- 1 nagios nagios    2582 Feb  7 15:09 PFC_Avg_Disk_Queue_Length.xml
-rwxrwxr-x 1 nagios nagios  384952 Feb  7 15:11 PFC_Mem_Pages_Output_Per_Second.rrd
-rw-rw-rw- 1 nagios nagios    2574 Feb  7 15:11 PFC_Mem_Pages_Output_Per_Second.xml
-rwxrwxr-x 1 nagios nagios 1151496 Feb  7 15:09 SRV_CPU.rrd
-rw-rw-rw- 1 nagios nagios    3498 Feb  7 15:09 SRV_CPU.xml
-rwxrwxr-x 1 nagios nagios 1534768 Feb  7 15:09 SRV_Memory.rrd
-rw-rw-rw- 1 nagios nagios    4663 Feb  7 15:09 SRV_Memory.xml
-rwxrwxr-x 1 nagios nagios  768224 Feb  7 15:08 SRV_Ping.rrd
-rw-rw-rw- 1 nagios nagios    2956 Feb  7 15:08 SRV_Ping.xml
-rwxrwxr-x 1 nagios nagios  768224 Dec 16 11:57 __URL_Status.rrd
-rwxrwxr-x 1 nagios nagios    3015 Dec 16 11:57 __URL_Status.xml
-rwxrwxr-x 1 nagios nagios  768224 Dec 16 11:58 Web_Page_Content.rrd
-rwxrwxr-x 1 nagios nagios    3141 Dec 16 11:58 Web_Page_Content.xml
What is going wrong here?

Willem

Re: Server missing from graph explorer

Posted: Fri Feb 07, 2014 1:29 pm
by sreinhardt
That is very interesting, could you "tail -f /var/log/httpd/error_log" and visit that page please?

Re: Server missing from graph explorer

Posted: Tue Feb 11, 2014 6:09 am
by WillemDH
Hello,

the error log show the following entries: (continu)

Code: Select all

[Tue Feb 11 12:06:22 2014] [error] [client ip] File does not exist: /usr/local/nagiosxi/html/perfgraphs/Your session has timed out., referer: http://nagios/nagiosxi/perfgraphs/?search=Search...&startdate=2014-02-02+09%3A00&enddate=2014-02-10+11%3A20&searchButton=Go&host=parkeerenzorg.be&host_id=&service_id=635&service=LAMP_+URL+Content&source=1&mode=2
[Tue Feb 11 12:06:30 2014] [error] [client ip] File does not exist: /usr/local/nagiosxi/html/perfgraphs/Your session has timed out., referer: http://nagios/nagiosxi/perfgraphs/index.php?search=Search...&startdate=2014-02-05+10%3A50&enddate=2014-02-05+11%3A10&searchButton=Go&host=digipolis.be&host_id=615&service_id=&service=_HOST_&source=1&mode=2
[Tue Feb 11 12:06:30 2014] [error] [client ip] File does not exist: /usr/local/nagiosxi/html/perfgraphs/Your session has timed out., referer: http://nagios/nagiosxi/perfgraphs/index.php?search=Search...&startdate=2014-02-05+10%3A50&enddate=2014-02-05+11%3A10&searchButton=Go&host=digipolis.be&host_id=615&service_id=&service=_HOST_&source=1&mode=2
The server that is missing is not in the list...

Re: Server missing from graph explorer

Posted: Tue Feb 11, 2014 11:26 am
by lmiltchev
I don't see the " _HOST_.rrd" and the "_HOST_.xml" in the list.

Re: Server missing from graph explorer

Posted: Wed Feb 12, 2014 7:33 am
by WillemDH
The reason for that is that the name of the server is also a web application. In fact I added the web application like 6 months ago and about two months ago, the server needed to be monitored too. So I added the default cpu, drive etc services to the web application. Why would this be an issue for a host to show up in graph Explorer?

Re: Server missing from graph explorer

Posted: Wed Feb 12, 2014 10:52 am
by abrist
WillemDH wrote:Why would this be an issue for a host to show up in graph Explorer?
Host checks will save their performance data to __HOST__.rrd. If you are missing this file, you may not have any checks configured for the host. Does the host that this service runs under have a host-check configured?

Re: Server missing from graph explorer

Posted: Thu Feb 13, 2014 7:17 am
by WillemDH
The host has the xiwizard_website_host template configured who has $USER1$/check_http -H $HOSTADDRESS$ $ARG1$ as host check.

Re: Server missing from graph explorer

Posted: Thu Feb 13, 2014 10:06 am
by scottwilkerson
This has been resolved in 2012r2.9.

Re: Server missing from graph explorer

Posted: Tue Feb 18, 2014 7:43 am
by WillemDH
Hello,

I can confirm the problem is solved in 2.9. Thread can be closed.

Grtz