is there some URL that does not return http 200 when nagios is not running?
Posted: Sun Mar 24, 2024 9:38 am
I may be totally blind, but i cant find an URL that returns something else than 200 when i have shut down nagios.
I want to check that Nagios is running (using apache httpd as webserver, and basic auth).
Its nagios Core 4.4.6 (in Debian).
When i shut down nagios i get a lot of these
from various urls, but they all return 200 OK.
For instance /nagios4/map.php - i was hoping that would return something else than 200 OK when nagios is shut down. Like a 503 Service Unavailable.
I want to check that Nagios is running (using apache httpd as webserver, and basic auth).
Its nagios Core 4.4.6 (in Debian).
When i shut down nagios i get a lot of these
Code: Select all
Whoops! Error: Could not read host and service status information!
For instance /nagios4/map.php - i was hoping that would return something else than 200 OK when nagios is shut down. Like a 503 Service Unavailable.