Deleting user issue
-
keerthi.seetharaman
- Posts: 92
- Joined: Thu Jan 11, 2018 7:55 am
Deleting user issue
Hello All,
I keep getting the below error when deleting any user from the nagios xi and when i click on apply configuration.
"Error: Contact 'xyz' is not defined anywhere
"Error: Could not add contact 'xyz' to host (config file '/usr/local/nagios/etc/hosts/servername.cfg', starting on line 16).
Attached the screenshot for your ref. I have blurred out the username and servername.
Let me know in case if any more details are required.
I keep getting the below error when deleting any user from the nagios xi and when i click on apply configuration.
"Error: Contact 'xyz' is not defined anywhere
"Error: Could not add contact 'xyz' to host (config file '/usr/local/nagios/etc/hosts/servername.cfg', starting on line 16).
Attached the screenshot for your ref. I have blurred out the username and servername.
Let me know in case if any more details are required.
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
Keerthi Prashanth Seetharaman
Keerthi Prashanth Seetharaman
Re: Deleting user issue
It looks like a contact that doesn't exist or is disabled(under Configure > Core Config Manager > Alerting > Contacts) is applied on the host. Can you confirm? You can either enable/add them or edit the host to remove them as a contact.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
keerthi.seetharaman
- Posts: 92
- Joined: Thu Jan 11, 2018 7:55 am
Re: Deleting user issue
Created a contact during the demo session and when i am trying to delete during the demo session it was throwing me the error. I have not added the contact for any of the server for alerting,
Please suggest what needs to be done.
Please suggest what needs to be done.
Thanks & Regards,
Keerthi Prashanth Seetharaman
Keerthi Prashanth Seetharaman
Re: Deleting user issue
Please PM me a non-censored screenshot of the error as well as a copy of the CCM database. It can be gathered from the XI command line with:
The above assumes that the default database is being used. If the database has been offloaded to another machine then the command would need to be changed to something like:
Where the host, username, and password are unique to your setup.
The file we want is nagiosql.sql. Please compress it before PM-ing it to me.
Code: Select all
mysqldump -uroot -pnagiosxi nagiosql > nagiosql.sqlCode: Select all
mysqldump -h database_host_ip -uusername -ppassword nagiosql > nagiosql.sqlThe file we want is nagiosql.sql. Please compress it before PM-ing it to me.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
keerthi.seetharaman
- Posts: 92
- Joined: Thu Jan 11, 2018 7:55 am
Re: Deleting user issue
I loaded the database and the problem seems to be the xi_default_contact contact. This is a static contact and shouldn't be in the contacts under Configure > Core Config Manager > Alerting > Contacts. Remove this account and the rewrite the config by going to Configure > Core Tools > Config File Management, and click:
-Delete Files
-Write Configs
-Verify Files
-Restart Nagios Core
Finally, try applying the configuration and let me know your results.
-Delete Files
-Write Configs
-Verify Files
-Restart Nagios Core
Finally, try applying the configuration and let me know your results.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
keerthi.seetharaman
- Posts: 92
- Joined: Thu Jan 11, 2018 7:55 am
Re: Deleting user issue
Thanks for quick reply.
Is there any document because i am not able to find the Configure > Core Tools > Config File Management.
Can you please send me screenshots for the same.
Is there any document because i am not able to find the Configure > Core Tools > Config File Management.
Can you please send me screenshots for the same.
Thanks & Regards,
Keerthi Prashanth Seetharaman
Keerthi Prashanth Seetharaman
Re: Deleting user issue
Sorry, that should have been Configure > Core Config Manager > Tools > Config File Management.
Screenshot attached.
Screenshot attached.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
keerthi.seetharaman
- Posts: 92
- Joined: Thu Jan 11, 2018 7:55 am
Re: Deleting user issue
Thanks. It's working fine now.
Please close the issue. In case of any issue will ping over the same forum.
Please close the issue. In case of any issue will ping over the same forum.
Thanks & Regards,
Keerthi Prashanth Seetharaman
Keerthi Prashanth Seetharaman
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Deleting user issue
Great!keerthi.seetharaman wrote:Thanks. It's working fine now.
Please close the issue. In case of any issue will ping over the same forum.
Locking thread