Change "default" page?
Marc Powell
marc at ena.com
Mon May 10 16:27:12 CEST 2004
It actually seems easier to me to just edit index.html and change the
second <FRAME SRC...> to point to the page you want --
To show the Status Summary as the default --
<FRAMESET BORDER="0" FRAMEBORDER="0" FRAMESPACING="0" COLS="180,*">
<FRAME SRC="side.html" NAME="side" TARGET="main">
<FRAME SRC="/cgi-bin/status.cgi?hostgroup=all" NAME="main">
</FRAMESET>
To show Service Problems as the default --
<FRAMESET BORDER="0" FRAMEBORDER="0" FRAMESPACING="0" COLS="180,*">
<FRAME SRC="side.html" NAME="side" TARGET="main">
<FRAME SRC="/cgi-bin/status.cgi?host=all&servicestatustypes=248"
NAME="main">
</FRAMESET>
--
Marc
Scott <mailto:scott at netspace.net.au> wrote:
> I suppose the easy way would be to set apache or whatever web server
> you are using to look at a different default page and then set that
> page up to be a redirect to the page you are actually looking for..
>
> eg
>
> set your DirectoryIndex to default in your httpd.conf (This is for
> apache)
>
> DirectoryIndex default.html.html
>
> content of default.html
>
> <pre>
> <head><META HTTP-EQUIV="Refresh" CONTENT="0;
> URL=http://nagios.server/cgi-bin/status.cgi?hostgroup=all"></head>
> <body>Redirecting</body> </html>
> </pre>
>
> Hope this makes sense.
>
>
> > Hi!
> >
> > How easy is it to change the default page to the "Status Overview"
> > page? I'd like to have that be the very first page to come up.
> >
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list