Change default screen in Nagios Core 4.4.5

(Last Updated On: March 25, 2020)

The main default screen in Nagios does not provide any useful host or service information. This can easily be changed.

Edit

/usr/local/nagios/share/index.php

Towards the top, look for the highlighted line:

<?php
// Allow specifying main window URL for permalinks, etc.
$url = 'main.php';

Change this to the page of your choice. CGI rendered pages can be used, be sure to qualify the path…

$url = 'cgi-bin/status.cgi?hostgroup=all&style=hostdetail';

or

$url = 'cgi-bin/tac.cgi';

…are two common choices.

 

From this:

To this:

 

Leave a Reply