Monitoring in different time periods

Yost, Karl Karl.Yost at iqor.com
Thu Apr 3 21:21:06 CEST 2008


> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Seth Simmons
> Sent: Thursday, April 03, 2008 3:12 PM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Monitoring in different time periods
> 
> 
> I understand the first part about adding all to the same contact
> groups.
> The second part I can't see how they would have their own hours,
unless
> I have a separate service defined?  For example if I have this (below)
> what line(s) would I need to add/modify?  I'm thinking I would have to
> have a different service defined for each check/notification period?
> 
> define service{
>         use                             generic-service
>         host_name                       servername
>         service_description             Free Space on /
> 	is_volatile			0
> 	check_period			24x7
> 	max_check_attempts		2
> 	normal_check_interval		3
> 	retry_check_interval		5
> 	contact_groups			admins
> 	notification_interval		30
> 	notification_period		24x7
> 	notification_options		u,r
> 	check_command			check_nrpe!check_root
>         }
> 

You don't need multiple service checks, you need multiple contact
groups.
Group 1 - Hours 9-5
Group 2 - Hours 5-9

Thanks,
Karl

> -----Original Message-----
> From: Wojciech Kocjan [mailto:wojciech at kocjan.org]
> Sent: Thursday, April 03, 2008 2:44 PM
> To: Seth Simmons; nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Monitoring in different time periods
> 
> On Thu, 03 Apr 2008 20:34:32 +0200, Seth Simmons
<ssimmons at cymfony.com>
> wrote:
> 
> > Currently I'm using the default 24x7 time for monitoring.  We have a
> > support group in India where we want to shift monitoring there
during
> > off hours.  Since service definition is currently using 24x7, would
I
> > have to create separate services for each time period since the
> > notifications would go to two different groups?  What is the best
way
> > to accomplish this?
> 
> Hi,
> 
> You can simply add both India and non-India users to the same contact
> groups you're currently using. India team will have their notification
> timeperiod set to their working hours whereas the other team would
have
> the remaining hours as their notification timeperiod.
> 
> --
> Wojciech Kocjan
> 
>
-----------------------------------------------------------------------
> --
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
>
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/market
> place
> _______________________________________________
> 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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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