certain timeperiods for some services on some hosts
Assaf Flatto
nagios at flatto.net
Fri Nov 19 12:00:33 CET 2010
you can use a template to make it easier.
Build the template to encompass all the definitions you need and then
define the service for the host group/service group you want to
associate it to , and in the service definition you "override " the
timeperiod definition with the local definition .
that way you still have a duplicate , but it will be an easier and
neater solution .
Assaf
On 19/11/10 09:48, Love Grönvall wrote:
> I have two hosts; host_a and host_b, both running web servers which are being checked by Nagios.
>
> I want workhours notification_period on all services on host_a and host_b apart from:
> - 24x7 notification_period for http on host_a
> - workhours notification_period for http on host_b
>
> Do I need to set up different services for the two different time periods?
>
>
> The perfect solution for me would be to set up a servicegroup, "24x7-services", where I place important services on certain servers. But obviously I can't define notification_period for a service group.
>
> How is the best solution to solve this? (It's a setup with hundreds of servers, and doing duplicate definitions of services wouldn't be the prettiest solution.)
>
>
> Best Regards,
>
> Love Gronvall
> .SE
--
Never,Ever Cut A Deal With a Dragon
Next year I will be doing the London to Paris bike ride to
raise money for the DogTrust (www.dogstrust.co.uk) .
Please Sponsor me at http://www.justgiving.com/Assaf-Flatto
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
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