side.html

jeff vier jeff.vier at tradingtechnologies.com
Wed Sep 24 19:09:06 CEST 2003


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





More information about the Users mailing list