Deleted user exists in notifications, but nowhere else

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
devynuark
Posts: 2
Joined: Wed Jun 27, 2018 12:57 am

Deleted user exists in notifications, but nowhere else

Post by devynuark »

Greetings,

We deleted a user from our NagiosXI installation and it appears that there are a few artifacts that exist for this user, but I am unable to find them.

I've looked in Core Config Manager > Contacts for the user and to see if the user was contained within a Contract Group, but couldn't find the user. The user 'bjballst' only seems to exist when navigating to the host from Host Status, clicking the Configure tab, Re-configure this host and clicking the Notifications tab.

I have not restarted my NagiosXI VM yet. We are running NagiosXI 5.6.3. We'll upgrade to 5.6.4 or 5.6.5 when this problem has been resolved.

When going to Core Config Manager > Tools > Config File Management and clicking Write Configs and then Verify Files, I get the following errors:

Error: Contact 'bjballst' is not defined anywhere!
Error: Could not add contact 'bjballst' to service (config file '/usr/local/nagios/etc/services/ADSB-153.cfg', starting on line 16)

Nagios Core 4.4.3
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2019-01-15
License: GPL

Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Warning: Duplicate definition found for service 'Ping' on host 'UTCH-107A-MDF' (config file '/usr/local/nagios/etc/services/UTCH.cfg', starting on line 50)
Warning: Duplicate definition found for service 'CPU Utilization' on host 'ADSB-DIST' (config file '/usr/local/nagios/etc/services/DIST 4600 CPU Utilization.cfg', starting on line 16)
Error: Contact 'bjballst' is not defined anywhere!
Error: Could not add contact 'bjballst' to service (config file '/usr/local/nagios/etc/services/ADSB-153.cfg', starting on line 16)
Error processing object config files!


***> One or more problems was encountered while processing the config files...

Check your configuration file(s) to ensure that they contain valid
directives and data definitions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.

Any help on getting this issue resolved would be greatly appreciated.

Thank you,
Devyn
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Deleted user exists in notifications, but nowhere else

Post by scottwilkerson »

Lets do the following

Core Config Manager > Tools > Config File Management
Click Delete files
Click Write Configs
Click Verify Files

If all verification works correctly Apply Configuration
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
devynuark
Posts: 2
Joined: Wed Jun 27, 2018 12:57 am

Re: Deleted user exists in notifications, but nowhere else

Post by devynuark »

Scott,

This worked! I was afraid to delete with the warnings, despite the KB stating this was how it needed to be done at the bottom. I'll know for next time. I really appreciate your time here.

Devyn
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Deleted user exists in notifications, but nowhere else

Post by scottwilkerson »

devynuark wrote:Scott,

This worked! I was afraid to delete with the warnings, despite the KB stating this was how it needed to be done at the bottom. I'll know for next time. I really appreciate your time here.

Devyn
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked