SOLVED - WARNING: Unknown contact keyword: serviceescalation
Chad Rhyner
crhyner at box.net
Tue Mar 15 18:29:28 CET 2011
Well, I found this issue, and it was not related to nagios at all. I was
looking in the wrong place. The issue stemmed from a Python module, and as
it parsed the Nagios configuration, it did not recognize hostescalation and
serviceescalation, which printed out the messages that we had in the Daily
Status report that we were examining. So, it was not my configuration as I
expected, and it was the supporting module that reported this.
~Chad
On Mon, Feb 28, 2011 at 2:37 PM, Max Schubert <maxs at webwizarddesign.com>wrote:
> Have you tried removing the trailing commas from the contact attribute
> 'members' for the two contactgroup defintions?
>
> - Max
>
> On Mon, Feb 28, 2011 at 4:47 PM, Chad Rhyner <crhyner at box.net> wrote:
> > On Mon, Feb 28, 2011 at 12:27 PM, Max Schubert <maxs at webwizarddesign.com
> >
> > wrote:
> >>
> >> Please respond to the list with the version of Nagios you are using
> >> and an example contact and/or serviceescalation definition that you
> >> are using.
> >>
> >> - Max
> >
> > Certainly. The version I am using is 3.0.6. Here is a copy of the
> output:
> >
> > Nagios 3.0.6
> > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
> > Last Modified: 12-01-2008
> > License: GPL
> >
> > This is being run on a 64-bit Linux machine. Here is an example of the
> > serviceescalation definition:
> >
> > define serviceescalation{
> > hostgroup_name sms
> > service_description HTTP
> > first_notification 1
> > last_notification 2
> > notification_interval 10
> > contact_groups oncall,email
> > }
> >
> > Here are the contactgroups related to that serviceescalation:
> >
> > define contactgroup{
> > contactgroup_name oncall
> > alias Oncall
> > members user1,user2,
> > }
> >
> > define contactgroup{
> > contactgroup_name email
> > alias Email
> > members
> > user1_email,user2_email,user3_email,...usern_email,
> > }
> >
> > For both contactgroups oncall and email, there is a contact defined for
> each
> > user that is named. I have changed the usernames for privacy reasons.
> >
> > ~Chad
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110315/7f39c579/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
-------------- next part --------------
_______________________________________________
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