Re: [Nagios-users] contactgroups

2008-04-13 Thread Julien Dehee
Hi, I think you have to do that work, but using template services should
help you to write the contactgroups only once in service.cfg.
Template services are the only way to make your whole configuration clean an
simple without writing the same thing twice.

Julien.


On Sun, Apr 13, 2008 at 12:48 PM, Melanie Pfefer [EMAIL PROTECTED]
wrote:

 hello

 I created 2 contactgroups and thought that by affecting each hostgroup to
 a contactgroup, the alerts that belong to a host will go according to the
 contactgroup value that was defined in the hostgroup definition.

 However, I saw also that services has hostgroup value. So I had to redo
 the work: Affect a contactgroup to each service.

 Any alternative than doing this redundant work?

 thanks


  ___
 Yahoo! For Good helps you make a difference

 http://uk.promotions.yahoo.com/forgood/

 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Don't miss this year's exciting event. There's still time to save $100.
 Use priority code J8TL2D2.

 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 Nagios-users mailing list
 Nagios-users@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

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Configuring tricky escalations

2008-04-08 Thread Julien Dehee
Thank you ! I was stuck in the escalation oriented mindset, of course it
works with adding more specific contacts.

Julien.

On Mon, Apr 7, 2008 at 12:57 PM, Edgar Matzinger [EMAIL PROTECTED]
wrote:

 Hi Julien,

  This is working just fine. Now the tricky part : we would
  like to send notification for DF WARNINGS only during
  workhours, and the rest (u,c,r) in the 24x7 period.
  I tried to create more escalations, specific with
  timeperiod and escalation_options but I can't make it.
 
  Will you find the solution ? thanks in advance for your help.

   you have to specify in the contacts or contacts group the notification
 period, i.e. when *they* want to be notified.

 HTH, cu l8r, Edgar.
 --
|\  /| :: Addr: Valid Eindhoven B.V.
  /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R.
 Matzinger
 /   || ::   Paradijslaan 36
 \  /|  /\| ::   5611 KN Eindhoven
  \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
 Disclaimer: Any comments, opinions made are mine, etc ...

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] Configuring tricky escalations

2008-04-07 Thread Julien Dehee
Hi, I'm using Nagios in a production environment, and I'm trying to
configure some complex setup, which I'll try to explain here :

- Munin is sending to Nagios NSCA exports to tell when a server run out of
disk space.
We have in services.cfg this configuration :
define service{
use  crit-service   # this is a
service which will send us SMS notifications
host_name   serverOne, serverTwo
hostgroup_namegroupofServers1, groupofServers2
service_description df
max_check_attempts 1
check_commandcheck_none
active_checks_enabled   0
}

This is a typical passive checks driven service. we also want to send
notification first to somebody, and 10 minutes later to the whole admin team
:
here is the escalation.cfg for the df service  and (for one of the
servers, this is repeated for each server or group of server):

define serviceescalation{
service_description df
host_name   someserver
first_notification 1
last_notification 0
notification_interval   10
contact_groups some_guy
}

define serviceescalation{
service_description df
host_name   someserver
first_notification 2
last_notification 0
notification_interval   10
contact_groups whole_admin_team
}


This is working just fine. Now the tricky part : we would like to send
notification for DF WARNINGS only during workhours, and the rest (u,c,r) in
the 24x7 period.
I tried to create more escalations, specific with timeperiod and
escalation_options but I can't make it.

Will you find the solution ? thanks in advance for your help.

Julien Dehee.
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
Nagios-users mailing list
Nagios-users@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