Certain users get alerts even when no notifications are set

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
spperry
Posts: 24
Joined: Wed Feb 28, 2018 10:29 am

Certain users get alerts even when no notifications are set

Post by spperry »

We have had our Nagios XI environment set up for several years. It appears that the person that set it up previously made some sort of configuration that causes certain users to get updates where the status is UNKNOWN (i.e., it can't figure out what to do). I have been troubleshooting an issue with one of our pieces of equipment and created some new port monitors that didn't work as expected, and this came to light when a member of one of my infrastructure teams asked what the alerts were.

My question is this - is there a setting somewhere that a user can have assigned that causes them to get unknown alerts, or alerts for monitors that aren't configured properly, regardless of the contact configuration of the hosts or services? Because the alerts they are getting have no alert notifications configured to go anywhere. It's apparently been set up this way from the beginning, but nobody can seem to identify where that configuration is.

Any assistance would be appreciated. Hopefully this is clear and makes sense.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Certain users get alerts even when no notifications are

Post by ssax »

Please PM a copy of your profile, you can download it from Admin > System Profile > Download Profile.

Let us know an example hostname that this occurred with AND the contact name that received them but shouldn't have so we can try to identify what's going on.

Additionally, please send the output of these commands (as root):
- NOTE: You may need to adjust the -h 127.0.0.1, the -uroot, and -pnagiosxi in the first command if your DB is offloaded to another server and/or you've changed the root mysql password

Code: Select all

echo "SELECT table_name AS 'Table', round(((data_length + index_length) / 1024 / 1024), 2) 'Size in MB' FROM information_schema.TABLES WHERE table_schema IN ('nagios', 'nagiosql', 'nagiosxi');" | mysql -h 127.0.0.1 -uroot -pnagiosxi --table
This next command may fail, that's okay, not all systems are running postgresql:

Code: Select all

echo "SELECT relname as Table, pg_size_pretty(pg_total_relation_size(relid)) As Size, pg_size_pretty(pg_total_relation_size(relid) - pg_relation_size(relid)) as ExternalSize FROM pg_catalog.pg_statio_user_tables ORDER BY pg_total_relation_size(relid) DESC;" | psql nagiosxi nagiosxi
Locked