Re: [Nagios-users] Service Escalation via Host Group
On Sat, Jan 01, 2011 at 03:19:24PM +0800, Yueh-Hung Liu wrote: if only services of norm-notify should be escalated, host_name * is no need. That was helpful, thanks! Greetings Marc -- - Marc Haber | I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things.Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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] Service Escalation via Host Group
On Fri, Dec 31, 2010 at 12:06:21PM +0800, Yueh-Hung Liu wrote: but by your configuration, all services will be escalated, not only services of norm-notify. Why? And how do I configure nagios to do what I want? define serviceescalation { host_name * service_description * hostgroup_name norm-notify contact_groups admins-mail first_notification 1 last_notification 0 notification_interval 120 escalation_options w,u,c,r escalation_period 24x7 } define serviceescalation { host_name * service_description * hostgroup_name norm-notify contact_groups admins-sms first_notification 2 last_notification 0 notification_interval 120 escalation_options w,u,c,r escalation_period 24x7 } Greetings Marc -- - Marc Haber | I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things.Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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] Service Escalation via Host Group
On Fri, Dec 31, 2010 at 11:46:04AM +0100, Hugo van der Kooij wrote: On Fri, 31 Dec 2010 11:15:29 +0100, Marc Haber mh+nagios-us...@zugschlus.de wrote: On Fri, Dec 31, 2010 at 12:06:21PM +0800, Yueh-Hung Liu wrote: but by your configuration, all services will be escalated, not only services of norm-notify. Why? And how do I configure nagios to do what I want? The question you have not answered is wether you have true regex matching set. $ grep use.*regexp nagios.cfg use_regexp_matching=0 use_true_regexp_matching=0 $ If that is the case you need to use .* instead of * as true wildcard name. If that were the case, the identical hostescalation configuration wouldn't work either. Or am i missing something? Greetings Marc -- - Marc Haber | I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things.Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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] Service Escalation via Host Group
if only services of norm-notify should be escalated, host_name * is no need. On Fri, Dec 31, 2010 at 6:15 PM, Marc Haber mh+nagios-us...@zugschlus.de wrote: On Fri, Dec 31, 2010 at 12:06:21PM +0800, Yueh-Hung Liu wrote: but by your configuration, all services will be escalated, not only services of norm-notify. Why? And how do I configure nagios to do what I want? define serviceescalation { host_name * service_description * hostgroup_name norm-notify contact_groups admins-mail first_notification 1 last_notification 0 notification_interval 120 escalation_options w,u,c,r escalation_period 24x7 } define serviceescalation { host_name * service_description * hostgroup_name norm-notify contact_groups admins-sms first_notification 2 last_notification 0 notification_interval 120 escalation_options w,u,c,r escalation_period 24x7 } Greetings Marc -- - Marc Haber | I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things. Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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] Service Escalation via Host Group
not sure with the cause of your problem maybe you can check the values of use_regexp_matching and use_true_regexp_matching. but by your configuration, all services will be escalated, not only services of norm-notify. On Fri, Dec 31, 2010 at 9:03 AM, Marc Haber mh+nagios-us...@zugschlus.de wrote: Hi, I would like to have host and service escalations for all hosts that are in a certain host group. The following hostescalation definition seems to work fine: define hostescalation { hostgroup_name norm-notify contact_groups admins-mail first_notification 1 last_notification 0 notification_interval 120 escalation_options d,u,r escalation_period 24x7 } define hostescalation { hostgroup_name norm-notify contact_groups admins-sms first_notification 2 last_notification 0 notification_interval 120 escalation_options d,u,r escalation_period 24x7 } The analogous service escalation definition is ignored: define serviceescalation { host_name * service_description * hostgroup_name norm-notify contact_groups admins-mail first_notification 1 last_notification 0 notification_interval 120 escalation_options w,u,c,r escalation_period 24x7 } define serviceescalation { host_name * service_description * hostgroup_name norm-notify contact_groups admins-sms first_notification 2 last_notification 0 notification_interval 120 escalation_options w,u,c,r escalation_period 24x7 } When a service on a host which is member of host group norm-notify goes down, notifications go out to the contact group that is mentioned in the service definition. The service escalation definition seems to be ignored. Any idea what might be going wrong? Greetings Marc -- - Marc Haber | I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things. Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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