Which version of Nagios XI are you using?
How I attempted to replicate this on 5.4.11:
- Created user 'test'
- Logged in as user 'test'
- Scheduled an 'Availability' report for user 'test' (there is a corresponding entry in the xi_usermeta table)
- Deleted user 'test'
As one would expect, the entry in
xi_usermeta that corresponds to a user's scheduled reports was obliterated as well.
Aezox wrote:They have been deleted from my contact table and their access have been deleted but Nagios is still trying to the report to the user.
I would double check to make sure their system user was deleted. You can do this in the GUI via Admin->Manage Users:
2018_03_20_20_54_22_Administration_Nagios_XI.png
Once you've verified that the system user in question was absolutely 100% deleted, can you share the output of the following command executed from the CLI of your Nagios XI machine:
Code: Select all
echo "SELECT u.username, um.user_id, um.keyvalue FROM xi_usermeta um, xi_users u WHERE um.user_id NOT IN (SELECT user_id FROM xi_users) AND keyname='scheduled_reports';" | mysql -uroot -pnagiosxi -Dnagiosxi
That command will help identify orphaned
xi_usermeta records in the
incredibly unlikely event that some exist.
You may need to alter the
mysql command if you've changed the default credentials for security reasons.
You do not have the required permissions to view the files attached to this post.