Nagios Looking Glass Creating Templates

Andy Shellam andy.shellam-lists at mailnetwork.co.uk
Fri Jun 15 18:47:31 CEST 2007


Hi Eric,

Have you added it to the server-side, or client-side?
It has to be in the server-side or it'll get overwritten the next time 
you open your client.

I've copied and pasted the code into mine - works fine.
http://looking-glass.andyshellam.eu

Andy.

Eric Hernandez wrote:
> Andy,
> I added this to s3_filter.inc.php
> but it does not show up in the drop down menu.  on the web page.
>  
> $HostFilter[6] = new S3_NetworkFilter();
> $HostFilter[6]->Create("test");
> $HostFilter[6]->SetType("host");
> $HostFilter[6]->AddHost("AA-CG-SW1");
>  
> -eric
>
> */Andy Shellam <andy.shellam-lists at mailnetwork.co.uk>/* wrote:
>
>     Hi Eric,
>
>     You don't need to create a separate template to only show specific
>     hosts
>     - what you're looking for is a custom filter (which will get added to
>     the "filter hosts" drop-down, whichever template you're using.)
>
>     First off I take it you're using the latest 1.0.6 version? If so, see
>     the "filters.txt" file in the distribution - that's got some
>     instructions and examples on the different types of filters you can
>     create. You need to create a "host-specific" filter.
>
>     If the instructions in this file do not help, please contact me back
>     with where you're having difficulty.
>
>     Andy.
>
>     Eric Hernandez wrote:
>     > Hi I have installed Nagios-Looking Glass it works. However I cannot
>     > figure out how to create a template that will only show selected
>     hosts.
>     > Please Advise
>     >
>     > Thx,
>     >
>     > -Eric
>     >
>     >
>     ------------------------------------------------------------------------
>     > Ready for the edge of your seat? Check out tonight's top picks
>     > on Yahoo! TV.
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     >
>     -------------------------------------------------------------------------
>     > This SF.net email is sponsored by DB2 Express
>     > Download DB2 Express C - the FREE version of DB2 express and take
>     > control of your XML. No limits. Just data. Click to get it now.
>     > http://sourceforge.net/powerbar/db2/
>     >
>     > !DSPAM:37,4671b0d0343941989018197!
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > 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
>     >
>     > !DSPAM:37,4671b0d0343941989018197!
>     >
>
>
> ------------------------------------------------------------------------
> Get the Yahoo! toolbar and be alerted to new email 
> <http://us.rd.yahoo.com/evt=48225/*http://new.toolbar.yahoo.com/toolbar/features/mail/index.php>wherever 
> you're surfing. !DSPAM:37,4672c1c5343941056075452! 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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