Different timeperdiods for warning / critical states ?
Assaf Flatto
nagios at flatto.net
Wed Mar 10 17:30:34 CET 2010
Nicolas Ross wrote:
> Hi !
>
> We have a nagios 2.x installation that I plan to upgrade to 3.x soon...
>
> For some services, I'd like to be able to send notification 24x7, but only
> with a critical state. For exemple a disk space checking service. When it
> reaches warning state, I don't want to be waked up at 3 am. But when it's
> critical, it's ok.
>
> I know I can define 2 services whith 2 notification_options and 2 time
> periods, but that would make 2 services, with 2 different names for every
> partition on our servers...
>
> Is there another way to acomplish this ?
>
>
>
You can define one service with a contact group , with in that contact
group 2 contacts and each of them have a tipe period and notification
criteria
the definitions below are an example - for exact commands see the
documentation :
service A
{
host V
command kaboom
conatctgroup loonytoons
}
contactgroup loonytoons
members bug, duffy
conatct
name bugs
time graveyard_shift
serivce notification critiria c
host notification critiria d
email bugs at wb.com
conatct
name duffy
time rest of time
serivce notification critiria w,r,u
host notification critiria u,w
email duffy at wb.com
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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