services for hostgroups : disable notifications for hosts that are shutdown during the night ?

Andreas Ericsson ae at op5.se
Wed Jul 13 10:45:45 CEST 2011


On 07/13/2011 10:16 AM, ghoulsblade wrote:
> hi all !
> 
> i have services linked to hostgroups like http/mail/linuxbasechecks/...
> but some servers are shutdown over night, and others continue to run 24hours
> i don't want to get notifications for the servers that are shutdown
> during the night.
> 
> do i really have to dublicate all services and make a 24h variant and a
> workhours only variant or is there a more elegant solution like
> 

Services will inherit their check and notification periods from the
host if none is specified for the service, so if you just remove
those variables from the services and set it properly for the hosts,
everything should work the way you want it to.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
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