Hi Experts,
I'm not very good at Nagios. My company use OMD. I try to define contact under check_mk directory but have "invalid syntax" error. can someone give me a hint how to troubleshoot the issue.
Path: ~/etc/check_mk/conf.d/wato$
When i run cmk -R command, it reported an error: Cannot read in configuration file /omd/sites/xxx/etc/check_mk/conf.d/wato/contacts.mk:
invalid syntax (contacts.mk, line 8)
define contact{
contact_name testuser
alias testuser
host_notification_commands host-notify-by-email
service_notification_commands service-notify-by-email
service_notification_period 24x7
host_notification_period 24x7
service_notification_options c,u
host_notification_options d,u
host_notifications_enabled 1
service_notifications_enabled 1
email [email protected]
}
Thanks.
define contact report invalid syntax
Re: define contact report invalid syntax
OMD is a highly customized distribution and there are some potentially significant differences from a vanilla version of core. You may want to ask about this issue on their forums: http://www.redmine.org/projects/redmine/boards
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.