Page 1 of 1

Problems with Alerts

Posted: Tue Oct 10, 2017 12:46 pm
by jorgeaaq
Hi

i have an estrange problem

I have 3 contacts in a group

when a notification is generated, in nagios log appear:

[1507656113] SERVICE NOTIFICATION: admin1;service1;Check_ICMP;OK;xi_service_notification_handler;OK - 10.4.170.250: rta 570.628ms, lost 0%
[1507656113] SERVICE NOTIFICATION: admin2;service1;Check_ICMP;OK;xi_service_notification_handler;OK - 10.4.170.250: rta 570.628ms, lost 0%
[1507656113] SERVICE NOTIFICATION: admin3;service1;Check_ICMP;OK;xi_service_notification_handler;OK - 10.4.170.250: rta 570.628ms, lost 0%

3 service notifications to 3 contacts

but in postfix logs

only appear 2 mails to contacts

Oct 10 12:22:01 ednagios postfix/smtp[65206]: 5DB7C1742: to=<[email protected]>, relay=domain.com[10.11.6.7]:25, delay=0.21, delays=0.03/0.01/0.08/0.08, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as BD76D54A56)
Oct 10 12:22:01 ednagios postfix/qmgr[1999]: 5DB7C1742: removed
Oct 10 12:22:01 ednagios postfix/smtp[65210]: 6EA301744: to=<[email protected]>, relay=domain.com[10.11.6.7]:25, delay=0.2, delays=0.01/0.01/0.1/0.08, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as CF33454B3C)
Oct 10 12:22:01 ednagios postfix/qmgr[1999]: 6EA301744: removed

and i do not found how debug this to understand why only two mails are generated

can someone help me ??


thanks in advance

Jorge Arenas

Re: Problems with Alerts

Posted: Tue Oct 10, 2017 12:57 pm
by scottwilkerson
You need to login as the user that isn't getting notified (Admin -> Manage Users -> Masquerade As), click their username (upper right)
Verify email address is set
Then under "Notification Preferences" verify Enable notifications and other boxes checked
Then under "Notification Methods" verify Receive alerts via email. is checked