nagios 4.4.6 all compiled and installed and seemingly groovy.
The plugins compiled and installed and seemingly groovy. But my problem
occurs when trying to test the website after installing nagios.
the instructions say:
Ah, no. I go to this place, I **am** prompted for a user/pass, which IYou will be prompted for a username and password. The username is nagiosadmin (you created it in a previous step) and the password is what you provided earlier.
Once you have logged in you are presented with the Nagios interface. Congratulations you have installed Nagios Core.
give it, and I get to a page that says:
in the left hand column I get stuff like this:http://cyril.jgscrater.com/nagios/
Not Found
The requested URL was not found on this server.
Apache/2.4.38 (Raspbian) Server at cyril.jgscrater.com Port 80
I've never turned on selinux or iptables and so on./tac.cgi" target="">Tactical Overview
Map /statusmap.cgi?host=all" target="">(Legacy)
/status.cgi?hostgroup=all&style=hostdetail"
So I'm convinced this is not a permissions problem.
Anyway, I get the page, it just doesn't look right.
From /var/log/apache2:
**nothing** in the error log from today.
the access.log
Only one line above has a 404 return code.10.1.1.3 - nagiosadmin [18/Jul/2020:20:21:43 -0500] "GET /nagios/ HTTP/1.1" 304 183 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
10.1.1.3 - nagiosadmin [18/Jul/2020:20:21:43 -0500] "GET /nagios/side.php HTTP/1.1" 304 183 "http://cyril.jgscrater.com/nagios/" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
10.1.1.3 - nagiosadmin [18/Jul/2020:20:21:43 -0500] "GET /nagios/%3C?php%20echo%20$url;%20?%3E HTTP/1.1" 404 502 "http://cyril.jgscrater.com/nagios/" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
10.1.1.3 - nagiosadmin [18/Jul/2020:20:21:43 -0500] "GET /nagios/stylesheets/common.css?%3C?php%20echo%20$this_version;%20?%3E HTTP/1.1" 200 2816 "http://cyril.jgscrater.com/nagios/side.php" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
10.1.1.3 - nagiosadmin [18/Jul/2020:20:21:43 -0500] "GET /nagios/images/sblogo.png HTTP/1.1" 304 182 "http://cyril.jgscrater.com/nagios/side.php" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"
So the LHS is wrong, and the RHS is blank. Huh? Wha?
my nagios.cfg file (and similar) are totally stock.