Error during configuration verification

Gearry Judkins GJudkins at fchn.org
Fri Sep 3 20:53:14 CEST 2004


Perhaps I missed something simple, but I am trying to test out my initial
nagios config and I am getting an error when I run the verification process:


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

Line 52 is the serivce_notification_period line below.  24x7 is in my
timeperiods.cfg .

#On Call contact template
define contact{
        register                        0
        service_notfication_period      24x7
        host_notification_period        24x7
        service_notification_options    w,u,c,r
        host_notification_options       d,r
        service_notification_commands   notify-by-email
        host_notification_commands      host-notify-by-email
        name                            oncall_template
        }

Any thoughts.  I have looked things over and don't see where I have gone
wrong.  Perhaps the problem is with the way I have done the template, but I
thought I followed the documentation.

Gearry


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&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