Server missing from graph explorer

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Server missing from graph explorer

Post 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
Nagios XI 5.8.1
https://outsideit.net
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Server missing from graph explorer

Post by sreinhardt »

That is very interesting, could you "tail -f /var/log/httpd/error_log" and visit that page please?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Server missing from graph explorer

Post 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...
Nagios XI 5.8.1
https://outsideit.net
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Server missing from graph explorer

Post by lmiltchev »

I don't see the " _HOST_.rrd" and the "_HOST_.xml" in the list.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Server missing from graph explorer

Post 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?
Nagios XI 5.8.1
https://outsideit.net
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Server missing from graph explorer

Post 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?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Server missing from graph explorer

Post by WillemDH »

The host has the xiwizard_website_host template configured who has $USER1$/check_http -H $HOSTADDRESS$ $ARG1$ as host check.
Nagios XI 5.8.1
https://outsideit.net
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Server missing from graph explorer

Post by scottwilkerson »

This has been resolved in 2012r2.9.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Server missing from graph explorer

Post by WillemDH »

Hello,

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

Grtz
Nagios XI 5.8.1
https://outsideit.net
Locked