Nagios Core 4.1.1 "Unable to get process data"

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios Core 4.1.1 "Unable to get process data"

Post by hsmith »

Change SELINUX=permissive to SELINUX=disabled in /etc/selinux/config and reboot. Make sure nagiosand httpd come up after you reboot and attempt to access the page again.
Former Nagios Employee.
me.
User avatar
rhassing
Posts: 416
Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands

Re: Nagios Core 4.1.1 "Unable to get process data"

Post by rhassing »

Please do what hsmith said.

It looks like the nagios.conf file in /etc/httpd/conf.d/ did not parse at all.

In this file is stated that the directory for Nagios is in /usr/local/nagios/share and your logfile compains about not able to show an index file in /var/www/html/

You could also create a the following file to prove it looks in the wrong directory:

Code: Select all

/var/www/html/index.html

Code: Select all

<html>
<head>
<title>Not Nagios!</title>
</head>
<body>
<center><h1>
This is not my Nagios page
</h1></center>
</body>
</html>
Rob Hassing
Image
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios Core 4.1.1 "Unable to get process data"

Post by hsmith »

It wouldn't be the first time SELinux has caused problems :)

Darn security!
Former Nagios Employee.
me.
druid
Posts: 33
Joined: Tue Oct 06, 2015 1:46 pm

Re: Nagios Core 4.1.1 "Unable to get process data"

Post by druid »

hsmith wrote:Change SELINUX=permissive to SELINUX=disabled in /etc/selinux/config and reboot. Make sure nagiosand httpd come up after you reboot and attempt to access the page again.
I set SELINUX to disabled, rebooted, made sure nagios and httpd were running and attempted to access the page again.
I still see the same error on the webpage as well as in httpd/error_log
User avatar
rhassing
Posts: 416
Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands

Re: Nagios Core 4.1.1 "Unable to get process data"

Post by rhassing »

did you try to create the index.html file in /var/www/html/ ?

And also check the access.log file from httpd...
Rob Hassing
Image
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Nagios Core 4.1.1 "Unable to get process data"

Post by jolson »

I agree with checking the access log - please get that to us as soon as you can. Thanks!
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
druid
Posts: 33
Joined: Tue Oct 06, 2015 1:46 pm

Re: Nagios Core 4.1.1 "Unable to get process data"

Post by druid »

Creating a index.html file in /var/www/html seems to have stopped the httpd/error_log errors.

Here is the last few lines from access_log:

Code: Select all

130.126.153.46 - nagios [06/Oct/2015:16:55:14 -0500] "GET /nagios/cgi-bin/statusjson.cgi?query=programstatus HTTP/1.1" 200 1 "http://128.174.46.250/nagios/main.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:55:14 -0500] "GET /nagios/images/passiveonly.gif HTTP/1.1" 304 - "http://128.174.46.250/nagios/main.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:55:14 -0500] "GET /nagios/images/disabled.gif HTTP/1.1" 304 - "http://128.174.46.250/nagios/main.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:55:15 -0500] "GET /nagios/images/sflogo.png HTTP/1.1" 304 - "http://128.174.46.250/nagios/main.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:55:15 -0500] "GET /nagios/images/favicon.ico HTTP/1.1" 200 822 "http://128.174.46.250/nagios/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:55:18 -0500] "GET /nagios/index.html HTTP/1.1" 404 215 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:55:21 -0500] "GET /nagios/index.html HTTP/1.1" 404 215 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
128.174.46.250 - - [06/Oct/2015:16:55:21 -0500] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) PHP/5.4.16 (internal dummy connection)"
128.174.46.250 - - [06/Oct/2015:16:55:28 -0500] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) PHP/5.4.16 (internal dummy connection)"
130.126.153.46 - nagios [06/Oct/2015:16:57:44 -0500] "GET /nagios/index.html HTTP/1.1" 404 215 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:47 -0500] "GET /nagios/index.html HTTP/1.1" 404 215 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:52 -0500] "GET /nagios/ HTTP/1.1" 200 901 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:52 -0500] "GET /nagios/side.php HTTP/1.1" 200 4776 "http://128.174.46.250/nagios/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:52 -0500] "GET /nagios/main.php HTTP/1.1" 200 9123 "http://128.174.46.250/nagios/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:52 -0500] "GET /nagios/cgi-bin/statusjson.cgi?query=programstatus HTTP/1.1" 200 1 "http://128.174.46.250/nagios/main.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/map.html?host=all HTTP/1.1" 200 2627 "http://128.174.46.250/nagios/side.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/stylesheets/map-directive.css HTTP/1.1" 200 1439 "http://128.174.46.250/nagios/map.html?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/bootstrap-3.3.0/css/bootstrap-theme.min.css HTTP/1.1" 200 19199 "http://128.174.46.250/nagios/map.html?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/stylesheets/map.css HTTP/1.1" 200 514 "http://128.174.46.250/nagios/map.html?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/spin/spin.min.js HTTP/1.1" 200 4143 "http://128.174.46.250/nagios/map.html?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/angularjs/ui-bootstrap-tpls-0.12.0.min.js HTTP/1.1" 200 65175 "http://128.174.46.250/nagios/map.html?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/js/map.js HTTP/1.1" 200 4984 "http://128.174.46.250/nagios/map.html?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/angularjs/angular-1.3.9/angular.min.js HTTP/1.1" 200 125229 "http://128.174.46.250/nagios/map.html?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/angularjs/ui-utils-0.2.1/ui-utils.js HTTP/1.1" 200 84014 "http://128.174.46.250/nagios/map.html?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/bootstrap-3.3.0/css/bootstrap.min.css HTTP/1.1" 200 114011 "http://128.174.46.250/nagios/map.html?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/d3/d3.min.js HTTP/1.1" 200 150760 "http://128.174.46.250/nagios/map.html?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/js/map-form.js HTTP/1.1" 200 1541 "http://128.174.46.250/nagios/map.html?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/js/nagios-decorations.js HTTP/1.1" 200 2442 "http://128.174.46.250/nagios/map.html?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/js/nagios-time.js HTTP/1.1" 200 5680 "http://128.174.46.250/nagios/map.html?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/js/map-directive.js HTTP/1.1" 200 100955 "http://128.174.46.250/nagios/map.html?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/images/menu.png HTTP/1.1" 200 161 "http://128.174.46.250/nagios/map.html?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/map-directive.html HTTP/1.1" 200 1967 "http://128.174.46.250/nagios/map.html?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/infobox.html HTTP/1.1" 200 1660 "http://128.174.46.250/nagios/map.html?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/map-popup.html HTTP/1.1" 200 1723 "http://128.174.46.250/nagios/map.html?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/cgi-bin/objectjson.cgi?&details=true&formatoptions=enumerate+bitmask&query=hostlist HTTP/1.1" 200 1 "http://128.174.46.250/nagios/map.html?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/cgi-bin/statusjson.cgi?query=programstatus HTTP/1.1" 200 1 "http://128.174.46.250/nagios/map.html?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/map-links.html HTTP/1.1" 200 623 "http://128.174.46.250/nagios/map.html?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:57:55 -0500] "GET /nagios/cgi-bin/statusjson.cgi?query=programstatus HTTP/1.1" 200 1 "http://128.174.46.250/nagios/map.html?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:58:02 -0500] "GET /nagios/cgi-bin/status.cgi?host=all HTTP/1.1" 200 1794 "http://128.174.46.250/nagios/side.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:58:04 -0500] "GET /nagios/main.php HTTP/1.1" 200 9123 "http://128.174.46.250/nagios/side.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:58:04 -0500] "GET /nagios/cgi-bin/statusjson.cgi?query=programstatus HTTP/1.1" 200 1 "http://128.174.46.250/nagios/main.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
127.0.0.1 - - [06/Oct/2015:16:58:10 -0500] "GET / HTTP/1.0" 200 79 "-" "check_http/v2.1.1 (nagios-plugins 2.1.1)"
128.174.46.250 - - [06/Oct/2015:16:58:11 -0500] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) PHP/5.4.16 (internal dummy connection)"
130.126.153.46 - nagios [06/Oct/2015:16:59:32 -0500] "GET /nagios/ HTTP/1.1" 200 901 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:59:32 -0500] "GET /nagios/main.php HTTP/1.1" 200 9123 "http://128.174.46.250/nagios/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:59:32 -0500] "GET /nagios/side.php HTTP/1.1" 200 4776 "http://128.174.46.250/nagios/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:59:32 -0500] "GET /nagios/stylesheets/common.css?4.1.1 HTTP/1.1" 304 - "http://128.174.46.250/nagios/main.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:59:32 -0500] "GET /nagios/js/jquery-1.7.1.min.js HTTP/1.1" 304 - "http://128.174.46.250/nagios/main.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:59:32 -0500] "GET /nagios/images/logofullsize.png HTTP/1.1" 304 - "http://128.174.46.250/nagios/main.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:59:32 -0500] "GET /nagios/images/weblogo1.png HTTP/1.1" 304 - "http://128.174.46.250/nagios/main.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:59:32 -0500] "GET /nagios/images/sflogo.png HTTP/1.1" 304 - "http://128.174.46.250/nagios/main.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:59:32 -0500] "GET /nagios/images/sblogo.png HTTP/1.1" 304 - "http://128.174.46.250/nagios/side.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:59:32 -0500] "GET /nagios/images/passiveonly.gif HTTP/1.1" 304 - "http://128.174.46.250/nagios/main.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:59:32 -0500] "GET /nagios/cgi-bin/statusjson.cgi?query=programstatus HTTP/1.1" 200 1 "http://128.174.46.250/nagios/main.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:59:32 -0500] "GET /nagios/images/disabled.gif HTTP/1.1" 304 - "http://128.174.46.250/nagios/main.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:16:59:33 -0500] "GET /nagios/images/favicon.ico HTTP/1.1" 200 822 "http://128.174.46.250/nagios/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
128.174.46.250 - - [06/Oct/2015:16:59:40 -0500] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) PHP/5.4.16 (internal dummy connection)"
127.0.0.1 - - [06/Oct/2015:17:03:10 -0500] "GET / HTTP/1.0" 200 79 "-" "check_http/v2.1.1 (nagios-plugins 2.1.1)"
127.0.0.1 - - [06/Oct/2015:17:08:10 -0500] "GET / HTTP/1.0" 200 79 "-" "check_http/v2.1.1 (nagios-plugins 2.1.1)"
130.126.153.46 - nagios [06/Oct/2015:17:12:40 -0500] "GET /nagios/ HTTP/1.1" 200 901 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:17:12:40 -0500] "GET /nagios/main.php HTTP/1.1" 200 9123 "http://128.174.46.250/nagios/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:17:12:40 -0500] "GET /nagios/side.php HTTP/1.1" 200 4776 "http://128.174.46.250/nagios/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:17:12:40 -0500] "GET /nagios/js/jquery-1.7.1.min.js HTTP/1.1" 304 - "http://128.174.46.250/nagios/main.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:17:12:40 -0500] "GET /nagios/images/logofullsize.png HTTP/1.1" 304 - "http://128.174.46.250/nagios/main.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:17:12:40 -0500] "GET /nagios/stylesheets/common.css?4.1.1 HTTP/1.1" 304 - "http://128.174.46.250/nagios/main.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:17:12:40 -0500] "GET /nagios/images/sflogo.png HTTP/1.1" 304 - "http://128.174.46.250/nagios/main.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:17:12:40 -0500] "GET /nagios/images/sblogo.png HTTP/1.1" 304 - "http://128.174.46.250/nagios/side.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:17:12:40 -0500] "GET /nagios/images/weblogo1.png HTTP/1.1" 304 - "http://128.174.46.250/nagios/main.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:17:12:40 -0500] "GET /nagios/images/passiveonly.gif HTTP/1.1" 304 - "http://128.174.46.250/nagios/main.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:17:12:40 -0500] "GET /nagios/cgi-bin/statusjson.cgi?query=programstatus HTTP/1.1" 200 1 "http://128.174.46.250/nagios/main.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:17:12:40 -0500] "GET /nagios/images/disabled.gif HTTP/1.1" 304 - "http://128.174.46.250/nagios/main.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
130.126.153.46 - nagios [06/Oct/2015:17:12:41 -0500] "GET /nagios/images/favicon.ico HTTP/1.1" 200 822 "http://128.174.46.250/nagios/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
128.174.46.250 - - [06/Oct/2015:17:12:48 -0500] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) PHP/5.4.16 (internal dummy connection)"
127.0.0.1 - - [06/Oct/2015:17:13:10 -0500] "GET / HTTP/1.0" 200 79 "-" "check_http/v2.1.1 (nagios-plugins 2.1.1)"
User avatar
rhassing
Posts: 416
Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands

Re: Nagios Core 4.1.1 "Unable to get process data"

Post by rhassing »

And now you have nothing in your error.log?
Rob Hassing
Image
druid
Posts: 33
Joined: Tue Oct 06, 2015 1:46 pm

Re: Nagios Core 4.1.1 "Unable to get process data"

Post by druid »

Error_log is currently this. The few "cannot serve directory" errors came back after I removed the index.html file. I added the file back to /var/www/html, restarted httpd, and the error went away again.

Code: Select all

[Tue Oct 06 16:26:38.298063 2015] [lbmethod_heartbeat:notice] [pid 798] AH02282: No slotmem from mod_heartmonitor
[Tue Oct 06 16:26:38.435748 2015] [mpm_prefork:notice] [pid 798] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Tue Oct 06 16:26:38.435783 2015] [core:notice] [pid 798] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Tue Oct 06 16:30:10.136532 2015] [autoindex:error] [pid 1507] [client 127.0.0.1:42456] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Tue Oct 06 16:33:56.958061 2015] [mpm_prefork:notice] [pid 798] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Oct 06 16:33:58.009136 2015] [suexec:notice] [pid 2135] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 06 16:33:58.031058 2015] [auth_digest:notice] [pid 2135] AH01757: generating secret for digest authentication ...
[Tue Oct 06 16:33:58.031729 2015] [lbmethod_heartbeat:notice] [pid 2135] AH02282: No slotmem from mod_heartmonitor
[Tue Oct 06 16:33:58.045014 2015] [mpm_prefork:notice] [pid 2135] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Tue Oct 06 16:33:58.045050 2015] [core:notice] [pid 2135] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Tue Oct 06 16:40:52.004557 2015] [mpm_prefork:notice] [pid 2135] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Oct 06 16:40:53.053511 2015] [suexec:notice] [pid 2216] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 06 16:40:53.074055 2015] [auth_digest:notice] [pid 2216] AH01757: generating secret for digest authentication ...
[Tue Oct 06 16:40:53.074580 2015] [lbmethod_heartbeat:notice] [pid 2216] AH02282: No slotmem from mod_heartmonitor
[Tue Oct 06 16:40:53.088130 2015] [mpm_prefork:notice] [pid 2216] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Tue Oct 06 16:40:53.088152 2015] [core:notice] [pid 2216] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Tue Oct 06 16:41:04.330592 2015] [mpm_prefork:notice] [pid 2216] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Oct 06 16:41:22.193176 2015] [suexec:notice] [pid 794] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 06 16:41:22.268857 2015] [auth_digest:notice] [pid 794] AH01757: generating secret for digest authentication ...
[Tue Oct 06 16:41:22.269537 2015] [lbmethod_heartbeat:notice] [pid 794] AH02282: No slotmem from mod_heartmonitor
[Tue Oct 06 16:41:22.341195 2015] [mpm_prefork:notice] [pid 794] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Tue Oct 06 16:41:22.341230 2015] [core:notice] [pid 794] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Tue Oct 06 16:45:10.245931 2015] [autoindex:error] [pid 2009] [client 127.0.0.1:37115] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Tue Oct 06 16:46:10.030956 2015] [autoindex:error] [pid 2010] [client 127.0.0.1:37116] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Tue Oct 06 16:47:10.078955 2015] [autoindex:error] [pid 1360] [client 127.0.0.1:37118] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Tue Oct 06 16:48:10.125202 2015] [autoindex:error] [pid 2004] [client 127.0.0.1:37119] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Tue Oct 06 16:55:10.494047 2015] [mpm_prefork:notice] [pid 794] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Oct 06 16:55:11.544185 2015] [suexec:notice] [pid 2115] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 06 16:55:11.565177 2015] [auth_digest:notice] [pid 2115] AH01757: generating secret for digest authentication ...
[Tue Oct 06 16:55:11.565702 2015] [lbmethod_heartbeat:notice] [pid 2115] AH02282: No slotmem from mod_heartmonitor
[Tue Oct 06 16:55:11.575782 2015] [mpm_prefork:notice] [pid 2115] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Tue Oct 06 16:55:11.580330 2015] [core:notice] [pid 2115] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Tue Oct 06 17:19:11.079753 2015] [mpm_prefork:notice] [pid 2115] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Oct 06 17:19:27.768478 2015] [suexec:notice] [pid 792] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 06 17:19:27.810153 2015] [auth_digest:notice] [pid 792] AH01757: generating secret for digest authentication ...
[Tue Oct 06 17:19:27.810644 2015] [lbmethod_heartbeat:notice] [pid 792] AH02282: No slotmem from mod_heartmonitor
[Tue Oct 06 17:19:27.887480 2015] [mpm_prefork:notice] [pid 792] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Tue Oct 06 17:19:27.887504 2015] [core:notice] [pid 792] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Tue Oct 06 17:24:07.367488 2015] [mpm_prefork:notice] [pid 792] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Oct 06 17:24:08.417822 2015] [suexec:notice] [pid 2059] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 06 17:24:08.437006 2015] [auth_digest:notice] [pid 2059] AH01757: generating secret for digest authentication ...
[Tue Oct 06 17:24:08.437495 2015] [lbmethod_heartbeat:notice] [pid 2059] AH02282: No slotmem from mod_heartmonitor
[Tue Oct 06 17:24:08.446443 2015] [mpm_prefork:notice] [pid 2059] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Tue Oct 06 17:24:08.446466 2015] [core:notice] [pid 2059] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
User avatar
rhassing
Posts: 416
Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands

Re: Nagios Core 4.1.1 "Unable to get process data"

Post by rhassing »

And can you find anything disturbing in your nagios.log file?
Rob Hassing
Image
Locked