Change default homepage?

Marc Powell mpowell at ena.com
Tue Oct 15 23:34:12 CEST 2002


There's an easier way to get rid of the host and service status totals.
Add '&noheader' to the URL:

http://my.nagios.com/cgi/status.cgi?hostgroup=all&style=summary&noheader

--
Marc

> -----Original Message-----
> From: David Rippel [mailto:RippelD at hillsboroughcounty.org]
> Sent: Tuesday, October 15, 2002 3:40 PM
> To: kmiller at inflow.com; nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Change default homepage?
> 
> On second thought, I won't be getting out of the office in this
weather..
> bad storm here in Tampa, FL..
> 
> Anyway, to answer your second question:
> 
> In the source, you will need to comment out two lines in cgi/status.c
to
> accomplish this:
> 
> Comment out (use /* at beginning of line, */ at end of line):
> 
> at line 295:  show_host_status_totals();
> at line 302:  show_service_status_totals();
> 
> Recompile (make clean; make; make install), etc... This should work.
You
> may need to comment out the <td> lines too if the table causes
formatting
> problems. Hopefully this is enough to get you started on the right
track.
> 
> - David.
> 
> >>> "David Rippel" <RippelD at hillsboroughcounty.org> 10/15/02 04:27PM
>>>
> To answer your first question...
> 
> Edit the file /usr/local/nagios/share/index.html:
> 
> change <FRAME SRC="main.html" NAME="main">
> 
> to
> 
> <FRAME SRC="/nagios/cgi-bin/status.cgi?hostgroup=all&style=summary"
> NAME="main">
> 
> As for your second question, I'm too lazy to answer that one ;)
> 
> Anyone?
> 
> - David.
> 
> >>> Kevin Miller <kmiller at inflow.com> 10/15/02 03:55PM >>>
> Is there a way to change the initial login page?  Currently when I
login
> it
> takes me to the title page where credits and release notes are listed.
I
> would like it to take me to the status summary page.
> 
> Also is there a way to get rid of the "host status totals" and
"service
> status totals" at the top of the page?
> 
> Thanks
> 
> Kevin Miller
> Sr. Network Security Engineer
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: viaVerio will pay you up to
> $1,000 for every account that you consolidate with us.
>
http://ad.doubleclick.net/clk;4749864;7604308;v?http://www.viaverio.com/
> consolidator/osdn.cfm
> 
> 
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users


-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm




More information about the Users mailing list