Nagios Looking Glass Creating Templates

Eric Hernandez navyeh at yahoo.com
Fri Jun 15 18:43:41 CEST 2007


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. 
> !DSPAM:37,4671b0d0343941989018197!
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> 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 wherever you're surfing. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070615/9373a14d/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
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