Problem with contacts.cfg


I just installed Nagios 3.0.4 and am now checking the config files for errors. I keep getting this error:

Error: Could not add object property in file ‘/etc/nagios/objects/contacts.cfg’ on line 7.

This is my contacts.cfg file (line 7 is the contact_name line):

define contact{
        contact_name                    john
        alias                           John
        host_notifications_enabled      1
        service_notifications_enabled   1
        host_notification_period        24x7
        service_notification_period     24x7
        host_notification_options       d,r
        service_notification_options    c,r
        host_notification_commands      host-notify-by-email
        service_notification_commands   notify-by-email
        email                          *snipped*

I’ve checked the documentation several times to make sure this is correct and can’t find anything wrong. Is there something else that could be causing this porblem or am I just a n00b missing something important? Thanks for the help.


was able to get it fixed finally