Alerts going to unconfigured contacts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
asmgiadmin
Posts: 125
Joined: Tue Feb 12, 2013 5:00 pm

Alerts going to unconfigured contacts

Post by asmgiadmin »

Alerts are being sent to users who do not exist as contacts. Also, they seem to be going to users who once existed, but no more.

I've checked contacts.cfg and contacttemplates.cfg, but only see nagios admin.

How can I track down how users are being notified?
asmgiadmin
Posts: 125
Joined: Tue Feb 12, 2013 5:00 pm

Re: Alerts going to unconfigured contacts

Post by asmgiadmin »

pager number for user in question was input as nagios admin, however, still there seems to be artifact of old user.

First, pre-flight mentions 2 users when confirming config.

Next, notification screen shows blank user
Image

While only nagios admin exists
Image

How can I remove user artifact?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Alerts going to unconfigured contacts

Post by slansing »

The blank spot you are able to select is a placeholder and should be present on all Nagios XI servers. Can you take a screenshot of the following page "removing any information you do not want to share:"

Home > Notifications.

Also please post the output of this:

Code: Select all

tail -50 /usr/local/nagios/var/nagios.log | grep NOTIFICATION
asmgiadmin
Posts: 125
Joined: Tue Feb 12, 2013 5:00 pm

Re: Alerts going to unconfigured contacts

Post by asmgiadmin »

Notifications are operating properly. The issue was nagiosadmin had incorrect pager number, notifying additional user. Page number has been corrected.

If placeholder is by design, then my only concern is pre-flight text:

Code: Select all

Checking Contacts...
Checked 2 Contacts.
while above screen shot only displays 1 contact.

Why does Nagios detect 2 contacts, when only 1 is displayed?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Alerts going to unconfigured contacts

Post by slansing »

The placeholder "dummy contact" Is part of the static configuration directory within Nagios XI and is checked every time you run a configuration verification, this should not effect your servers operations at all.
asmgiadmin
Posts: 125
Joined: Tue Feb 12, 2013 5:00 pm

Re: Alerts going to unconfigured contacts

Post by asmgiadmin »

OK - just wanted to confirm.

Thank you.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Alerts going to unconfigured contacts

Post by slansing »

No problem, locking as resolved.
Locked