side.html
jeff vier
jeff.vier at tradingtechnologies.com
Fri Sep 26 18:26:26 CEST 2003
could I have the patch for status.cgi so I can try to backport it to
1.1? (as that's what we're using now - production critial== !2.0 for us.
:))
On Thu, 2003-09-25 at 23:03, Ethan Galstad wrote:
> This sounded like a good idea, so I'm committing the patch to the
> HEAD of CVS (2.0). I hacked the status CGI a bit to take a host name
> or host address for the search. Wildcard support isn't available (it
> might be later), but the status CGI only displays details for one
> host at a time, so I don't know how useful it would be (other than to
> shorten keystrokes). Perhaps the first host name that matches the
> pattern would be the one to get displayed...
>
> BTW, someone else (I don't recall who) had posted this search feature
> patch a few months back, but I forgot to incorporate it at the time.
>
>
> On 24 Sep 2003 at 12:09, jeff vier wrote:
>
> > It's not smart like that. it's a super simple little form that's just
> > pushing a single variable (host) to the status.cgi - there's no
> > "brains" in there.
> >
> > I want to be able to search by IP (we are very IP-centric, here). I'm
> > going to hack status.cgi a bit and see what I can whip up to that end.
> >
> > On Wed, 2003-09-24 at 12:02, Cook, Garry wrote:
> > > These are both very cool. However I only seem to be able to search
> > > using the full hostname. Is there any way to search using a partial
> > > name, or wildcards?
> > >
> > > Garry W. Cook, CCNA
> > > Network Infrastructure Manager
> > > MACTEC, Inc. - http://www.mactec.com/
> > > 303.308.6228 (Office) - 720.220.1862 (Mobile)
> > >
> > > > -----Original Message-----
> > > > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com]
> > > > Sent: Wednesday, September 24, 2003 9:21 AM
> > > > To: Williams, P. Lane
> > > > Cc: nagios-users
> > > > Subject: Re: [Nagios-users] side.html
> > > >
> > > >
> > > > Not to be fussy, but TYPE="TEST" isn't legitimate HTML.
> > > >
> > > > I distilled it down for my sidebar - cut out a good amount of the
> > > > spacing, dropped the "Submit" button (hitting Enter works just
> > > > fine) and just added it to the existing table set instead of
> > > > starting a new one. An excellent idea, though, and I am definitely
> > > > stealing it from you :)
> > > >
> > > > I put mine just above "Comments" (so, at the resolution I run at,
> > > > it's right at the bottom of the bar), FYI.
> > > >
> > > > Here is my version:
> > > >
> > > > <tr>
> > > > <td width="13"></td>
> > > > <td><FORM ACTION="/nagios/cgi-bin/status.cgi"
> > > > target="main" class="NavBarItem" METHOD="GET">
> > > > <a class="NavBarItem">Host Search</a>
> > > > <INPUT TYPE="text" NAME="host" size=10></FORM></td>
> > > > </tr>
> > > >
> > > > ---------
> > > >
> > > > On Wed, 2003-09-24 at 08:59, Williams, P. Lane wrote:
> > > > > For those interested. I had a request to add a simple host
> > > > search to
> > > > > the Nagios side bar. I thought that someone else may find
> > > > use in it.
> > > > > I added the snippet (below) to the end of the side.html file
> > > > > under ~nagios/share/ before </BODY></HTML>.
> > > > >
> > > > > Lane
> > > > >
> > > > > <FORM ACTION="/nagios/cgi-bin/status.cgi" target="main"
> > > > > class="NavBarItem" METHOD="GET"> <p>
> > > > > <table width="150" border="0">
> > > > > <tr>
> > > > > <td><a class="NavBarItem">Host Search</a></td>
> > > > > </tr>
> > > > > </table>
> > > > > <INPUT TYPE="TEST" NAME="host"><br>
> > > > > <INPUT TYPE="SUBMIT" VALUE="Search">
> > > > > </p>
> > > > > </FORM>
> > > > >
> > > > >
> > > > > -------------------------------------------------------
> > > > > 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
> > > > > ::: Please include Nagios version, plugin version (-v) and OS
> > > > > when reporting any issue. ::: Messages without supporting info
> > > > > will risk being sent
> > > > to /dev/null
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > 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
> > > > ::: Please include Nagios version, plugin version (-v) and OS when
> > > > reporting any issue. ::: Messages without supporting info will
> > > > risk being sent to /dev/null
> > > >
> >
> >
> >
> > -------------------------------------------------------
> > 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
> > ::: Please include Nagios version, plugin version (-v) and OS when
> > reporting any issue. ::: Messages without supporting info will risk
> > being sent to /dev/null
> >
>
>
>
> Ethan Galstad,
> Nagios Developer
> ---
> Email: nagios at nagios.org
> Website: http://www.nagios.org
>
>
>
> -------------------------------------------------------
> 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
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
-------------------------------------------------------
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
::: 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