Page 1 of 1

disable contact error

Posted: Fri Aug 16, 2019 11:43 am
by shouchen
when disabling or deleting a specific contact i get the following errors when applying the config

Error: Contact 'gberkshier' is not defined anywhere!
Error: Could not add contact 'gberkshier' to host (config file '/usr/local/nagios/etc/hosts/fmaudit2.cefcu.com.cfg', starting on line 16)

Re: disable contact error

Posted: Fri Aug 16, 2019 12:47 pm
by lmiltchev
You need to remove the contact from the "fmaudit2.cefcu.com" host before disabling it or deleting it. You cannot remove an object if it has dependencies (relationships to other objects).

Tip: To view all of the dependencies before deleting a contact, go to the CCM > Contacts > gberkshier > Relationshipts (blue circle with white "i" in the middle).