Re: [Nagios-users] Service escalations without contacts or groups defined on the services themselves

2011-07-06 Thread Chris Beattie
Kevin Kenny wrote:
 I find this a convenient configuration because it means I don't have to 
 explicitly define contacts or contact groups at either the service 
 template or service check itself and makes management somewhat simpler.

Well, that's one way to do it, but...

 Despite the warnings, and even though this configuration works just 
 fine, is it recommended?

...I can't recommend it, personally.  It may work for you now, but it 
won't scale up.  I have over a thousand hosts and ten thousand services. 
  My preflight check has to be clean, or I would miss one new 
configuration warning as ten thousand preventable warnings scrolled past.


-- 
-Chris

--


Nothing in this message is intended to make or accept an offer or to form a 
contract, except that an attachment that is an image of a contract bearing the 
signature of an officer of our company may be or become a contract. This 
message (including any attachments) is intended only for the use of the 
individual or entity to whom it is addressed. It may contain information that 
is non-public, proprietary, privileged, confidential, and exempt from 
disclosure under applicable law or may constitute as attorney work product. If 
you are not the intended recipient, we hereby notify you that any use, 
dissemination, distribution, or copying of this message is strictly prohibited. 
If you have received this message in error, please notify us immediately by 
telephone and delete this message immediately.

Thank you.


--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
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] Service escalations without contacts or groups defined on the services themselves

2011-07-03 Thread Kevin Kenny
All of my service checks are based on templates where notifications are
enabled, the notification period set to 24x7, notification type is set to
U,C etc. But there are no contacts or contact groups associated in the
service check templates.

When I add a new service check, the check is always based on one of these
templates. However I *still don't* add any contacts or groups to the actual
checks themselves.

The service checks all get added to to a service group called
Critical-Services.

I also have a number of users who are members of a contact group called
Duty-Admin-Pagers.

I have a service escalation configured with a linked contact group of
Duty-Admin-Pagers (above) and with a servicegroup_name of Critical-Services,
it looks like this:

define serviceescalation{
servicegroup_name Critical-Services
contact_groups Duty-Admin
contacts
first_notification 1
last_notification 999
notification_interval 1
escalation_period 24x7
escalation_options u,c
}

Whenever a service goes CRITICAL HARD and exceeds the number of retries I
get pager alerts fired off just as I expect.

However when I load this configuration into Nagios I get warnings such as:

Warning Service 'APC-Power-Output' on host 'APC-PDU-0299' has no default
contacts or contactgroups defined!

The escalation and notifications still work and still send notifications to
the contact_group Duty-Admin defined in the service escalation.

I find this a convenient configuration because it means I don't have to
explicitly define contacts or contact groups at either the service template
or service check itself and makes management somewhat simpler.

Despite the warnings, and even though this configuration works just fine, is
it recommended?

Thanks
Kevin
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
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