Hello:
Running Nagios XI 5.6.7
A colleague left and I helped the new Nagios XI Admin remove the departed User's account in Nagios XI from the User and Contact areas.
However, doing so is now throwing errors associated to the removed account/contact:
Error: Could not add contact '<removed_account>' to host (config file '/usr/local/nagios/etc/hosts/<associated_host>.cfg', starting on line 16)
Error: Could not add contact '<removed_account>' to service (config file '/usr/local/nagios/etc/services/<associated_service>.cfg', starting on line 16)
Please inform how to resolve. Thank you.
Removed a user and now getting dependent errors ...
Re: Removed a user and now getting dependent errors ...
Never mind.
I fixed the issue by:
1). Revert to last known good config
2). Use the Bulk Modification Tool (BMT) and remove the associated dependencies.
3). Delete Contacts and accounts.
However, there were a couple of other dependencies (Host and/or Service stuff) that I had to dig around and find.
Finally, I had one last error and found this to fix it:
"
Re: Error: Contact '' has no service notification commands
Unread postby scottwilkerson » Tue May 15, 2018 7:25 am
Assuming xxxx is also an XI user:
Go to Configure -> CCM -> Contact -> Edit xxxx
Alert Settings Tab Set
Manage Host Notification Commands = xi_host_notification_handler
Manage Service Notification Commands = xi_service_notification_handler
Save Apply Configuration
"
All good, so please go ahead and freeze this post.
I fixed the issue by:
1). Revert to last known good config
2). Use the Bulk Modification Tool (BMT) and remove the associated dependencies.
3). Delete Contacts and accounts.
However, there were a couple of other dependencies (Host and/or Service stuff) that I had to dig around and find.
Finally, I had one last error and found this to fix it:
"
Re: Error: Contact '' has no service notification commands
Unread postby scottwilkerson » Tue May 15, 2018 7:25 am
Assuming xxxx is also an XI user:
Go to Configure -> CCM -> Contact -> Edit xxxx
Alert Settings Tab Set
Manage Host Notification Commands = xi_host_notification_handler
Manage Service Notification Commands = xi_service_notification_handler
Save Apply Configuration
"
All good, so please go ahead and freeze this post.
Newbie '14
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Removed a user and now getting dependent errors ...
Hello @PhilG,
We'll close this out, feel free to open another if you have any new questions.
Benjamin
Excellent! Thank you for sharing your solution.All good, so please go ahead and freeze this post.
We'll close this out, feel free to open another if you have any new questions.
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!