Page 2 of 3

Re: NagiosXI - Change command, get NaN in graph

Posted: Thu Dec 05, 2013 12:11 pm
by abrist
Lets check the spool for file accumulation - what is the output of:

Code: Select all

ls /usr/local/nagios/var/spool/checkresults | wc -l
ls /usr/local/nagios/var/spool/perfdata | wc -l
ls /usr/local/nagios/var/spool/xidpe | wc -l

Re: NagiosXI - Change command, get NaN in graph

Posted: Thu Dec 05, 2013 12:14 pm
by JumpingSnake
ls /usr/local/nagios/var/spool/checkresults | wc -l
-- 125
ls /usr/local/nagios/var/spool/perfdata | wc -l
-- 0
ls /usr/local/nagios/var/spool/xidpe | wc -l
-- 0

Re: NagiosXI - Change command, get NaN in graph

Posted: Thu Dec 05, 2013 12:16 pm
by abrist
Run the following command every 30 seconds for 2 minutes. post each of the outputs:

Code: Select all

ls /usr/local/nagios/var/spool/checkresults | wc -l
I want to see if the number is going down.

Re: NagiosXI - Change command, get NaN in graph

Posted: Thu Dec 05, 2013 12:37 pm
by JumpingSnake
0:00 - 43
0:30 - 81
1:00 - 17
1:30 - 23
2:00 - 15

Re: NagiosXI - Change command, get NaN in graph

Posted: Thu Dec 05, 2013 1:42 pm
by abrist
Ok, they decreased in size. No new data on those graphs yet? (there will still be an empty section of the graphs)
Lets check the apache logs. Try to browse to a graph and then check the logs:

Code: Select all

tail -25 /var/log/httpd/error_log

Re: NagiosXI - Change command, get NaN in graph

Posted: Thu Dec 05, 2013 1:52 pm
by JumpingSnake
Here's the graph at this point:
Nagios01.jpg
Here's the output from trying to go there:

Code: Select all

[Thu Dec 05 09:40:21 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:40:51 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:41:21 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:41:52 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:42:21 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:42:52 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:43:22 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:43:52 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:44:25 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:44:52 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:45:23 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:45:52 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:46:23 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:46:53 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:47:23 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:47:53 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:48:23 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:48:53 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:49:25 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:49:53 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:50:25 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:50:53 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:51:25 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:51:55 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4
[Thu Dec 05 09:52:24 2013] [error] [client <client IP>] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/windowsserver.png, referer: http://<host IP>/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=4

Re: NagiosXI - Change command, get NaN in graph

Posted: Thu Dec 05, 2013 1:57 pm
by abrist
Is that check reporting perfdata? Go to Home --> Service Details --> click on the service --> Advanced tab --> What is on the "performance data" line?

Re: NagiosXI - Change command, get NaN in graph

Posted: Thu Dec 05, 2013 2:37 pm
by JumpingSnake
Here's a screenshot:
Nagios03.jpg

Re: NagiosXI - Change command, get NaN in graph

Posted: Thu Dec 05, 2013 5:46 pm
by sreinhardt
The only thing I am noticing, and why I pointed out the virtual memory percent as well, is the % after the number without a space. This may or may not be the issue, but I did experience a similar case of anything that was not a number concatenated with my performance data variable was not read in properly. I will look into the documentation to see if this is the case, but you might just want to remove that % from the perfdata as it doesn't really help you in any way.

Re: NagiosXI - Change command, get NaN in graph

Posted: Mon Dec 09, 2013 1:53 pm
by JumpingSnake
Hey sreinhardt,
Any news on this? Also, how would I remove the % from the perfdata line?