1) Menu > Current Status > Hosts
2) Click 'localhost' under 'Host'
3) Click 'View Trends For This Host' or 'View Alert Histogram For This Host'
4) Check 'Not Found / The requested URL was not found on this server.' page
(or is it found?)
1) Menu > Current Status > Services
2) Click 'Current Load' under 'Service' for 'localhost'
3) Click 'View Trends For This Service' and 'View Alert Histogram For This Service'
4) Check 'Not Found / The requested URL was not found on this server.' page
(or is it found?)
Test Steps:
---
lxc launch ubuntu- daily:oracular nagios4-oracular
lxc exec nagios4-oracular -- su - ubuntu
sudo apt update recommends
sudo apt install nagios4 apache2 --yes --no-install-
sudo a2dismod mpm_event
sudo a2dismod mpm_worker
sudo a2enmod mpm_prefork
sudo a2enmod php8.3
sudo a2enmod cgi
sudo a2enmod cgid
sudo a2enconf serve-cgi-bin
sudo a2enmod auth_digest # for AuthDigestDomain in nagios4-cgi.conf
sudo a2enmod authz_groupfile # for AuthGroupFile in nagios4-cgi.conf
sudo a2enconf nagios4-cgi
sudo systemctl restart apache2
<LXD>$ ip -4 a l type veth | grep inet
inet 10.191.59.205/24 metric 100 brd 10.191.59.255 scope global dynamic eth0
<HOST>$ $BROWSER http:// 10.191. 59.205/ nagios4/
1) Menu > Current Status > Hosts
2) Click 'localhost' under 'Host'
3) Click 'View Trends For This Host' or 'View Alert Histogram For This Host'
4) Check 'Not Found / The requested URL was not found on this server.' page
(or is it found?)
1) Menu > Current Status > Services
2) Click 'Current Load' under 'Service' for 'localhost'
3) Click 'View Trends For This Service' and 'View Alert Histogram For This Service'
4) Check 'Not Found / The requested URL was not found on this server.' page
(or is it found?)