Following page need to update to change the nagios default home page:
File: /usr/share/nagios3/htdocs/index.php
Here are a couple of paths that you may be interested in
my update# vi /usr/share/nagios3/htdocs/index.php
<head>
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
<title>Nagios Core</title>
<link rel="shortcut icon" href="images/favicon.ico" type="image/ico">
</head>
<?php
// allow specifying main window URL for permalinks, etc.
#$corewindow="main.php";
$corewindow="cgi-bin/status.cgi?host=all";
if(isset($_GET['corewindow'])){
...................................
...................................
...................................
"Tactical Summary": cgi-bin/tac.cgi
"Map" : cgi-bin/statusmap.cgi?host=all
"Hosts" : cgi-bin/status.cgi?hostgroup=all&style=hostdetail
"Services" : cgi-bin/status.cgi?host=all
"Summary" : cgi-bin/status.cgi?hostgroup=all&style=summary
"Problems" : cgi-bin/status.cgi?host=all&servicestatustypes=28
"Availability" : cgi-bin/avail.cgi
"Trends" : cgi-bin/trends.cgi
"Summary" : cgi-bin/summary.cgi
External page:
http://code.naishe.in/2012/07/change-nagios-default-home-page.html
No comments:
Post a Comment