get this error
Error: Failed to locate contact 'test' for contactgroup 'admins'
Bad member of contactgroup 'admins' (config file '/usr/local/nagios/etc/objects/contacts.cfg', starting on line 64)
Error processing object config files!
My code
Code: Select all
define contact{
contact_name test
use generic-contact
service_notification_period 24x7
host_notification_period 24x7
service_notification_options c,r
host_notification_options d,r
service_notification_commands sm-service-push-notify
host_notification_commands sm-host-push-notify
register 0
}
###############################################################################
###############################################################################
#
# CONTACT GROUPS
#
###############################################################################
###############################################################################
# We only have one contact in this simple configuration file, so there is
# no need to create more than one contact group.
define contactgroup{
contactgroup_name admins
alias Nagios Administrators
members nagiosadmin, support, test
}
Any ideas?
Thank you
Tom