contacts.cfg file errors when running pre-flight

Bryant Taylor btaylor at modulusvideo.com
Tue Dec 13 20:25:16 CET 2005


Hope someone can help.

 

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.

 

Any ideas and or resolutions would be great

 

Thank you,

 

Bryant

 

Nagios 1.2

Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org)

Last Modified: 02-02-2004

License: GPL

 

Reading configuration data...

 

Error: Could not add object property in file '/etc/nagios/contacts.cfg'
on line 16.

 

 

***> One or more problems was encountered while processing the config
files...

 

     Check your configuration file(s) to ensure that they contain valid

     directives and data defintions.  If you are upgrading from a
previous

     version of Nagios, you should be aware that some
variables/definitions

     may have been removed or modified in this version.  Make sure to
read

     the HTML documentation on the main and host config files, as well
as the

     'Whats New' section to find out what has changed.

 

 

 

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

        }

 

########################################################################
#######

#

# Contact configuration file

#

# END OF FILE

#

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051213/a96bf866/attachment.html>


More information about the Users mailing list