contacts.cfg file errors when running pre-flight

Bryant Taylor btaylor at modulusvideo.com
Tue Dec 13 21:02:10 CET 2005


Ok so the line "contactgroups		admins" should read "members
admins"?

Correct?

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sebastian
Kayser
Sent: Tuesday, December 13, 2005 11:41 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Re: contacts.cfg file errors when running
pre-flight

* Bryant Taylor <btaylor at modulusvideo.com> wrote:
>    I have configured all of my .cfg files correctly from the manual,
but
>    for some reason, when I run nagios -v nagios.cfg I get the
following
>    on this file. Not sure why, have I haven't found anything online or
on
>    the nagios website that refers to this.
> 
>    Here is my current contacts.cfg file.
> 
>    define  contact {
>            contact_name                    Bryant
>            alias                           Bryant Taylor
>            contactgroups                   admins
>            host_notification_period        24x7
>            service_notification_period     24x7
>            host_notification_options       d,u,r
>            service_notification_options    w,u,c,r
>            host_notification_commands      host-notify-by-email
>            service_notification_commands   notify-by-email
>            email                           btaylor at modulusvideo.local
>            }

The contactgroups membership has to be defined via the directive
"members" of a contactgroups object, not via "contactgroups" in a
contacts object.

- sebastian


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
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