Nagios: ?corewindow=cgi-bin/status.cgi

I’ve just found the solution to an issue which has been annoying me for months.

A bit of background – if you link to Nagios, you either link to the entire tool with it’s sidebar and main page, or you link to a specific page within it, losing the sidebar. Nagios includes a nice URL parameter which allows you to specify what the “main page” is, such as the service status view:

http://localhost/nagios/?corewindow=cgi-bin/status.cgi

However, if you try and click on any of the filters, such as “All Problems”, you end up getting an empty list.

It seems that the solution to this is to simply append the value ?host=all to the corewindow parameter:

http://localhost/nagios/?corewindow=cgi-bin/status.cgi%3Fhost=all

This makes it behave as expected. :)