Create a template host. Howto?

Andy Shellam andy-lists at networkmail.eu
Sun May 10 15:24:04 CEST 2009


Gabriel,

 From experience, you're better off using host groups.  For example all 
your hosts will have certain checks (ping, disk space etc) so I have a 
group "all hosts" which all hosts are added to.

We also have hosts that perform their own functions - e.g. database 
servers, DNS servers, web servers, which all have relevant checks of 
their own.  So we have other host groups called, for example, "DNS 
servers", "web servers" etc which each host is added to the group 
depending on the function it performs.  All service checks are then 
added to the host groups, instead of individual hosts.

Then if we come up with a new service check, it gets added to the host 
group it needs to be in, and is automatically added to all hosts in that 
group.  Similarly if we add a new server, it gets added to the host 
groups it needs to be in, and inherits all the service checks of that 
group without any additional configuration.

See this page for the above (and plenty other) time-saving tricks: 
http://nagios.sourceforge.net/docs/3_0/objecttricks.html

HTH,

Andy

Gabriel - IP Guys wrote:
> Dear All,
>  
> I've completed my nagios installation, thanks to a bit of lurking on 
> this list, and now I have an issue of my own.
>  
> I've finished configuring a host with all the checks and warnings that 
> I need, and now I want to use all the same checks on my other hosts. I 
> don't want to have to keep changing every host once when i install and 
> configure new plugins. How can create a template so that all host are 
> 'updated' with new checks when i update just the template?
>  
> Thanks for any advice in advance.
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image 
> processing features enabled. http://p.sf.net/sfu/kodak-com
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
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