contacts.cfg file errors when running pre-flight

Sebastian Kayser mls at skayser.de
Tue Dec 13 20:40:53 CET 2005


* 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





More information about the Users mailing list