Page 1 of 2

Not everybody in a Contact group was notified

Posted: Tue Apr 19, 2016 10:05 am
by JohnFLi
We had a server go down lastnight and not everybody in the contact group for the various services was notified.
The group for all the services has 6 email address's yet only 4 of them was contacted. The address's that wasn't contacted is on other items for different servers/services and he gets those.

Any ideas and where to begin looking as to why?
In Nagios Core I can see the 4 notification sent out, but not the other 2.

Re: Not everybody in a Contact group was notified

Posted: Tue Apr 19, 2016 10:15 am
by lmiltchev
We will need more information in order to troubleshoot the issue.

Can you post the configs of the contact(s), contact group(s), notification command, and any relevant templates?

Are you using SMTP or Sendmail?

Admin->Manage Email Settings

Are these contacts "xi users" or "contacts only"?

https://support.nagios.com/kb/article.php?id=136

Can you show the Notifications Report from the same time period (when the notification was supposed to be sent)?

Reports->Notifications

Do you see any errors in the mail log?

Code: Select all

tail -100 /var/log/maillog
tail -100 /usr/local/nagiosxi/tmp/phpmailer.log

Re: Not everybody in a Contact group was notified

Posted: Tue Apr 19, 2016 10:42 am
by JohnFLi
1: SMTP
2: one is an XI user, the other a contact only
3:
contacts.jpg
The contacts that should have been 3 different people. Each person has 2 types of contact info. 1 is thier regular email address, the second is to send their cell phone a message. The person that was not notified did not get it in their email, or cell.

4: THe /var/log/maillog during the time period:

Code: Select all

Apr 19 04:35:02 G1VPNAG03 postfix/qmgr[1859]: 1150511E9: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 04:35:04 G1VPNAG03 postfix/smtp[11356]: 1150511E9: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=2, delays=0.08/0.01/0/2, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670377] Queued mail for delivery)
Apr 19 04:35:04 G1VPNAG03 postfix/qmgr[1859]: 1150511E9: removed
Apr 19 04:40:01 G1VPNAG03 postfix/pickup[28980]: B76E42309: uid=0 from=<root>
Apr 19 04:40:01 G1VPNAG03 postfix/cleanup[19368]: B76E42309: message-id=<[email protected]>
Apr 19 04:40:01 G1VPNAG03 postfix/qmgr[1859]: B76E42309: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 04:40:02 G1VPNAG03 postfix/smtp[19370]: B76E42309: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.34, delays=0.04/0.01/0.01/0.28, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670393] Queued mail for delivery)
Apr 19 04:40:02 G1VPNAG03 postfix/qmgr[1859]: B76E42309: removed
Apr 19 04:40:54 G1VPNAG03 postfix/pickup[28980]: 13D032313: uid=500 from=<nagios>
Apr 19 04:40:54 G1VPNAG03 postfix/cleanup[19368]: 13D032313: message-id=<[email protected]>
Apr 19 04:40:54 G1VPNAG03 postfix/qmgr[1859]: 13D032313: from=<[email protected]>, size=739, nrcpt=1 (queue active)
Apr 19 04:40:54 G1VPNAG03 postfix/pickup[28980]: 156202312: uid=500 from=<nagios>
Apr 19 04:40:54 G1VPNAG03 postfix/cleanup[19368]: 156202312: message-id=<[email protected]>
Apr 19 04:40:54 G1VPNAG03 postfix/qmgr[1859]: 156202312: from=<[email protected]>, size=738, nrcpt=1 (queue active)
Apr 19 04:40:54 G1VPNAG03 postfix/pickup[28980]: 160CB2316: uid=500 from=<nagios>
Apr 19 04:40:54 G1VPNAG03 postfix/cleanup[19368]: 160CB2316: message-id=<[email protected]>
Apr 19 04:40:54 G1VPNAG03 postfix/qmgr[1859]: 160CB2316: from=<[email protected]>, size=731, nrcpt=1 (queue active)
Apr 19 04:40:54 G1VPNAG03 postfix/pickup[28980]: 16A0F2315: uid=500 from=<nagios>
Apr 19 04:40:54 G1VPNAG03 postfix/cleanup[19368]: 16A0F2315: message-id=<[email protected]>
Apr 19 04:40:54 G1VPNAG03 postfix/qmgr[1859]: 16A0F2315: from=<[email protected]>, size=730, nrcpt=1 (queue active)
Apr 19 04:40:54 G1VPNAG03 postfix/smtp[20584]: 16A0F2315: to=<[email protected]>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.24, delays=0.01/0.01/0/0.22, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670399] Queued mail for delivery)
Apr 19 04:40:54 G1VPNAG03 postfix/qmgr[1859]: 16A0F2315: removed
Apr 19 04:40:54 G1VPNAG03 postfix/smtp[20583]: 160CB2316: to=<[email protected]>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.27, delays=0.01/0/0/0.25, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670400] Queued mail for delivery)
Apr 19 04:40:54 G1VPNAG03 postfix/qmgr[1859]: 160CB2316: removed
Apr 19 04:40:54 G1VPNAG03 postfix/smtp[19370]: 13D032313: to=<[email protected]>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.34, delays=0.02/0/0/0.32, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670397] Queued mail for delivery)
Apr 19 04:40:54 G1VPNAG03 postfix/qmgr[1859]: 13D032313: removed
Apr 19 04:40:54 G1VPNAG03 postfix/smtp[20582]: 156202312: to=<[email protected]>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.44, delays=0.01/0/0/0.43, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670398] Queued mail for delivery)
Apr 19 04:40:54 G1VPNAG03 postfix/qmgr[1859]: 156202312: removed
Apr 19 04:45:01 G1VPNAG03 postfix/pickup[28980]: 8E4D92AD0: uid=0 from=<root>
Apr 19 04:45:01 G1VPNAG03 postfix/cleanup[27195]: 8E4D92AD0: message-id=<[email protected]>
Apr 19 04:45:01 G1VPNAG03 postfix/qmgr[1859]: 8E4D92AD0: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 04:45:01 G1VPNAG03 postfix/smtp[27234]: 8E4D92AD0: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.3, delays=0.06/0/0.01/0.24, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670411] Queued mail for delivery)
Apr 19 04:45:01 G1VPNAG03 postfix/qmgr[1859]: 8E4D92AD0: removed
Apr 19 04:50:01 G1VPNAG03 postfix/pickup[28980]: 70D8715B: uid=0 from=<root>
Apr 19 04:50:01 G1VPNAG03 postfix/cleanup[2961]: 70D8715B: message-id=<[email protected]>
Apr 19 04:50:01 G1VPNAG03 postfix/qmgr[1859]: 70D8715B: from=<[email protected]>, size=918, nrcpt=1 (queue active)
Apr 19 04:50:03 G1VPNAG03 postfix/smtp[2970]: 70D8715B: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=1.7, delays=0.05/0.02/0/1.6, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670433] Queued mail for delivery)
Apr 19 04:50:03 G1VPNAG03 postfix/qmgr[1859]: 70D8715B: removed
Apr 19 04:55:01 G1VPNAG03 postfix/pickup[28980]: A00F244E: uid=0 from=<root>
Apr 19 04:55:01 G1VPNAG03 postfix/cleanup[10782]: A00F244E: message-id=<[email protected]>
Apr 19 04:55:01 G1VPNAG03 postfix/qmgr[1859]: A00F244E: from=<[email protected]>, size=918, nrcpt=1 (queue active)
Apr 19 04:55:01 G1VPNAG03 postfix/smtp[10793]: A00F244E: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.36, delays=0.05/0.02/0/0.29, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670454] Queued mail for delivery)
Apr 19 04:55:01 G1VPNAG03 postfix/qmgr[1859]: A00F244E: removed
Apr 19 05:00:01 G1VPNAG03 postfix/pickup[28980]: 97362B7E: uid=0 from=<root>
Apr 19 05:00:01 G1VPNAG03 postfix/cleanup[18842]: 97362B7E: message-id=<[email protected]>
Apr 19 05:00:01 G1VPNAG03 postfix/qmgr[1859]: 97362B7E: from=<[email protected]>, size=918, nrcpt=1 (queue active)
Apr 19 05:00:02 G1VPNAG03 postfix/smtp[18872]: 97362B7E: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=1.1, delays=0.06/0/0/1.1, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670469] Queued mail for delivery)
Apr 19 05:00:02 G1VPNAG03 postfix/qmgr[1859]: 97362B7E: removed
Apr 19 05:05:01 G1VPNAG03 postfix/pickup[28980]: A3A3F2DC9: uid=0 from=<root>
Apr 19 05:05:01 G1VPNAG03 postfix/cleanup[26679]: A3A3F2DC9: message-id=<[email protected]>
Apr 19 05:05:01 G1VPNAG03 postfix/qmgr[1859]: A3A3F2DC9: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 05:05:02 G1VPNAG03 postfix/smtp[26706]: A3A3F2DC9: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.41, delays=0.06/0.01/0.01/0.34, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670526] Queued mail for delivery)
Apr 19 05:05:02 G1VPNAG03 postfix/qmgr[1859]: A3A3F2DC9: removed
Apr 19 05:10:01 G1VPNAG03 postfix/pickup[28413]: 794E72E01: uid=0 from=<root>
Apr 19 05:10:01 G1VPNAG03 postfix/cleanup[2681]: 794E72E01: message-id=<[email protected]>
Apr 19 05:10:01 G1VPNAG03 postfix/qmgr[1859]: 794E72E01: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 05:10:01 G1VPNAG03 postfix/smtp[2683]: 794E72E01: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.34, delays=0.03/0.02/0.01/0.28, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670558] Queued mail for delivery)
Apr 19 05:10:01 G1VPNAG03 postfix/qmgr[1859]: 794E72E01: removed
Apr 19 05:15:01 G1VPNAG03 postfix/pickup[28413]: 810D52E2B: uid=0 from=<root>
Apr 19 05:15:01 G1VPNAG03 postfix/cleanup[10527]: 810D52E2B: message-id=<[email protected]>
Apr 19 05:15:01 G1VPNAG03 postfix/qmgr[1859]: 810D52E2B: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 05:15:01 G1VPNAG03 postfix/smtp[10543]: 810D52E2B: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.34, delays=0.04/0/0.01/0.29, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670583] Queued mail for delivery)
Apr 19 05:15:01 G1VPNAG03 postfix/qmgr[1859]: 810D52E2B: removed
Apr 19 05:20:01 G1VPNAG03 postfix/pickup[28413]: 7321E2E64: uid=0 from=<root>
Apr 19 05:20:01 G1VPNAG03 postfix/cleanup[18545]: 7321E2E64: message-id=<[email protected]>
Apr 19 05:20:01 G1VPNAG03 postfix/qmgr[1859]: 7321E2E64: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 05:20:01 G1VPNAG03 postfix/smtp[18548]: 7321E2E64: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.46, delays=0.04/0/0/0.42, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670602] Queued mail for delivery)
Apr 19 05:20:01 G1VPNAG03 postfix/qmgr[1859]: 7321E2E64: removed
Apr 19 05:25:01 G1VPNAG03 postfix/pickup[28413]: C36A62E8C: uid=0 from=<root>
Apr 19 05:25:01 G1VPNAG03 postfix/cleanup[26406]: C36A62E8C: message-id=<[email protected]>
Apr 19 05:25:01 G1VPNAG03 postfix/qmgr[1859]: C36A62E8C: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 05:25:02 G1VPNAG03 postfix/smtp[26418]: C36A62E8C: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.31, delays=0.03/0.01/0/0.27, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670612] Queued mail for delivery)
Apr 19 05:25:02 G1VPNAG03 postfix/qmgr[1859]: C36A62E8C: removed
Apr 19 05:30:01 G1VPNAG03 postfix/pickup[28413]: 888E92EBC: uid=0 from=<root>
Apr 19 05:30:01 G1VPNAG03 postfix/cleanup[2156]: 888E92EBC: message-id=<[email protected]>
Apr 19 05:30:01 G1VPNAG03 postfix/qmgr[1859]: 888E92EBC: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 05:30:22 G1VPNAG03 postfix/smtp[2196]: 888E92EBC: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=21, delays=0.04/0.01/0.01/21, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670632] Queued mail for delivery)
Apr 19 05:30:22 G1VPNAG03 postfix/qmgr[1859]: 888E92EBC: removed
Apr 19 05:35:01 G1VPNAG03 postfix/pickup[28413]: 670ED2EE7: uid=0 from=<root>
Apr 19 05:35:01 G1VPNAG03 postfix/cleanup[9991]: 670ED2EE7: message-id=<[email protected]>
Apr 19 05:35:01 G1VPNAG03 postfix/qmgr[1859]: 670ED2EE7: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 05:35:01 G1VPNAG03 postfix/smtp[10004]: 670ED2EE7: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.32, delays=0.07/0.01/0.01/0.23, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670653] Queued mail for delivery)
Apr 19 05:35:01 G1VPNAG03 postfix/qmgr[1859]: 670ED2EE7: removed
Apr 19 05:40:01 G1VPNAG03 postfix/pickup[28413]: 7D7972F15: uid=0 from=<root>
Apr 19 05:40:01 G1VPNAG03 postfix/cleanup[18075]: 7D7972F15: message-id=<[email protected]>
Apr 19 05:40:01 G1VPNAG03 postfix/qmgr[1859]: 7D7972F15: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 05:40:01 G1VPNAG03 postfix/smtp[18108]: 7D7972F15: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.28, delays=0.06/0/0/0.21, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670689] Queued mail for delivery)
Apr 19 05:40:01 G1VPNAG03 postfix/qmgr[1859]: 7D7972F15: removed
Apr 19 05:41:23 G1VPNAG03 postfix/pickup[28413]: 0BCF42F22: uid=500 from=<nagios>
Apr 19 05:41:23 G1VPNAG03 postfix/cleanup[18075]: 0BCF42F22: message-id=<[email protected]>
Apr 19 05:41:23 G1VPNAG03 postfix/qmgr[1859]: 0BCF42F22: from=<[email protected]>, size=730, nrcpt=1 (queue active)
Apr 19 05:41:23 G1VPNAG03 postfix/pickup[28413]: 0D5EB2F20: uid=500 from=<nagios>
Apr 19 05:41:23 G1VPNAG03 postfix/cleanup[18075]: 0D5EB2F20: message-id=<[email protected]>
Apr 19 05:41:23 G1VPNAG03 postfix/qmgr[1859]: 0D5EB2F20: from=<[email protected]>, size=738, nrcpt=1 (queue active)
Apr 19 05:41:23 G1VPNAG03 postfix/pickup[28413]: 0DE1D2F1D: uid=500 from=<nagios>
Apr 19 05:41:23 G1VPNAG03 postfix/cleanup[18075]: 0DE1D2F1D: message-id=<[email protected]>
Apr 19 05:41:23 G1VPNAG03 postfix/qmgr[1859]: 0DE1D2F1D: from=<[email protected]>, size=739, nrcpt=1 (queue active)
Apr 19 05:41:23 G1VPNAG03 postfix/pickup[28413]: 0E71F2F24: uid=500 from=<nagios>
Apr 19 05:41:23 G1VPNAG03 postfix/cleanup[18075]: 0E71F2F24: message-id=<[email protected]>
Apr 19 05:41:23 G1VPNAG03 postfix/qmgr[1859]: 0E71F2F24: from=<[email protected]>, size=731, nrcpt=1 (queue active)
Apr 19 05:41:23 G1VPNAG03 postfix/smtp[18108]: 0BCF42F22: to=<[email protected]>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.23, delays=0.02/0/0/0.21, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670695] Queued mail for delivery)
Apr 19 05:41:23 G1VPNAG03 postfix/qmgr[1859]: 0BCF42F22: removed
Apr 19 05:41:23 G1VPNAG03 postfix/smtp[20077]: 0E71F2F24: to=<[email protected]>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.24, delays=0.01/0.01/0/0.23, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670697] Queued mail for delivery)
Apr 19 05:41:23 G1VPNAG03 postfix/qmgr[1859]: 0E71F2F24: removed
Apr 19 05:41:23 G1VPNAG03 postfix/smtp[20075]: 0D5EB2F20: to=<[email protected]>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.37, delays=0.02/0/0/0.34, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670696] Queued mail for delivery)
Apr 19 05:41:23 G1VPNAG03 postfix/qmgr[1859]: 0D5EB2F20: removed
Apr 19 05:41:23 G1VPNAG03 postfix/smtp[20076]: 0DE1D2F1D: to=<[email protected]>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.45, delays=0/0.01/0/0.44, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670698] Queued mail for delivery)
Apr 19 05:41:23 G1VPNAG03 postfix/qmgr[1859]: 0DE1D2F1D: removed
Apr 19 05:45:01 G1VPNAG03 postfix/pickup[28413]: 870A62F3D: uid=0 from=<root>
Apr 19 05:45:01 G1VPNAG03 postfix/cleanup[25894]: 870A62F3D: message-id=<[email protected]>
Apr 19 05:45:01 G1VPNAG03 postfix/qmgr[1859]: 870A62F3D: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 05:45:01 G1VPNAG03 postfix/smtp[25912]: 870A62F3D: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.3, delays=0.09/0.01/0/0.2, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670708] Queued mail for delivery)
Apr 19 05:45:01 G1VPNAG03 postfix/qmgr[1859]: 870A62F3D: removed
Apr 19 05:50:02 G1VPNAG03 postfix/pickup[28413]: 389A72F3C: uid=0 from=<root>
Apr 19 05:50:02 G1VPNAG03 postfix/cleanup[1539]: 389A72F3C: message-id=<[email protected]>
Apr 19 05:50:02 G1VPNAG03 postfix/qmgr[1859]: 389A72F3C: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 05:50:02 G1VPNAG03 postfix/smtp[1545]: 389A72F3C: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.26, delays=0.04/0.01/0.01/0.19, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670738] Queued mail for delivery)
Apr 19 05:50:02 G1VPNAG03 postfix/qmgr[1859]: 389A72F3C: removed
Apr 19 05:55:01 G1VPNAG03 postfix/pickup[28413]: EFBC62F8C: uid=0 from=<root>
Apr 19 05:55:01 G1VPNAG03 postfix/cleanup[9540]: EFBC62F8C: message-id=<[email protected]>
Apr 19 05:55:01 G1VPNAG03 postfix/qmgr[1859]: EFBC62F8C: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 05:55:02 G1VPNAG03 postfix/smtp[9549]: EFBC62F8C: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.26, delays=0.04/0/0/0.21, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670758] Queued mail for delivery)
Apr 19 05:55:02 G1VPNAG03 postfix/qmgr[1859]: EFBC62F8C: removed
Apr 19 06:00:02 G1VPNAG03 postfix/pickup[28413]: 5FECB2F8D: uid=0 from=<root>
Apr 19 06:00:02 G1VPNAG03 postfix/cleanup[17556]: 5FECB2F8D: message-id=<[email protected]>
Apr 19 06:00:02 G1VPNAG03 postfix/qmgr[1859]: 5FECB2F8D: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 06:00:02 G1VPNAG03 postfix/smtp[17563]: 5FECB2F8D: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=1.3, delays=1/0.02/0/0.25, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670782] Queued mail for delivery)
Apr 19 06:00:02 G1VPNAG03 postfix/qmgr[1859]: 5FECB2F8D: removed
Apr 19 06:05:01 G1VPNAG03 postfix/pickup[28413]: 6C1532FDF: uid=0 from=<root>
Apr 19 06:05:01 G1VPNAG03 postfix/cleanup[25344]: 6C1532FDF: message-id=<[email protected]>
Apr 19 06:05:01 G1VPNAG03 postfix/qmgr[1859]: 6C1532FDF: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 06:05:01 G1VPNAG03 postfix/smtp[25348]: 6C1532FDF: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.37, delays=0.03/0.02/0/0.31, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670873] Queued mail for delivery)
Apr 19 06:05:01 G1VPNAG03 postfix/qmgr[1859]: 6C1532FDF: removed
Apr 19 06:10:01 G1VPNAG03 postfix/pickup[28413]: B5569300E: uid=0 from=<root>
Apr 19 06:10:01 G1VPNAG03 postfix/cleanup[932]: B5569300E: message-id=<[email protected]>
Apr 19 06:10:01 G1VPNAG03 postfix/qmgr[1859]: B5569300E: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 06:10:02 G1VPNAG03 postfix/smtp[937]: B5569300E: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.64, delays=0.32/0/0/0.31, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670910] Queued mail for delivery)
Apr 19 06:10:02 G1VPNAG03 postfix/qmgr[1859]: B5569300E: removed
Apr 19 06:15:01 G1VPNAG03 postfix/pickup[28413]: B43453034: uid=0 from=<root>
Apr 19 06:15:01 G1VPNAG03 postfix/cleanup[8919]: B43453034: message-id=<[email protected]>
Apr 19 06:15:01 G1VPNAG03 postfix/qmgr[1859]: B43453034: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 06:15:02 G1VPNAG03 postfix/smtp[8952]: B43453034: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.37, delays=0.18/0/0.01/0.18, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670961] Queued mail for delivery)
Apr 19 06:15:02 G1VPNAG03 postfix/qmgr[1859]: B43453034: removed
Apr 19 06:20:01 G1VPNAG03 postfix/pickup[28413]: A1688305B: uid=0 from=<root>
Apr 19 06:20:01 G1VPNAG03 postfix/cleanup[16951]: A1688305B: message-id=<[email protected]>
Apr 19 06:20:01 G1VPNAG03 postfix/qmgr[1859]: A1688305B: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 06:20:01 G1VPNAG03 postfix/smtp[16957]: A1688305B: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.32, delays=0.04/0.01/0/0.26, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10670987] Queued mail for delivery)
Apr 19 06:20:01 G1VPNAG03 postfix/qmgr[1859]: A1688305B: removed
Apr 19 06:25:01 G1VPNAG03 postfix/pickup[28413]: A8AC63083: uid=0 from=<root>
Apr 19 06:25:01 G1VPNAG03 postfix/cleanup[24714]: A8AC63083: message-id=<[email protected]>
Apr 19 06:25:01 G1VPNAG03 postfix/qmgr[1859]: A8AC63083: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 06:25:02 G1VPNAG03 postfix/smtp[24726]: A8AC63083: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.36, delays=0.05/0.01/0.01/0.29, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10671022] Queued mail for delivery)
Apr 19 06:25:02 G1VPNAG03 postfix/qmgr[1859]: A8AC63083: removed
Apr 19 06:30:01 G1VPNAG03 postfix/pickup[30224]: 7177230A7: uid=0 from=<root>
Apr 19 06:30:01 G1VPNAG03 postfix/cleanup[318]: 7177230A7: message-id=<[email protected]>
Apr 19 06:30:01 G1VPNAG03 postfix/qmgr[1859]: 7177230A7: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 06:30:01 G1VPNAG03 postfix/smtp[328]: 7177230A7: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.33, delays=0.04/0.01/0.01/0.27, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10671055] Queued mail for delivery)
Apr 19 06:30:01 G1VPNAG03 postfix/qmgr[1859]: 7177230A7: removed
Apr 19 06:35:01 G1VPNAG03 postfix/pickup[30224]: 6258A30D6: uid=0 from=<root>
Apr 19 06:35:01 G1VPNAG03 postfix/cleanup[8344]: 6258A30D6: message-id=<[email protected]>
Apr 19 06:35:01 G1VPNAG03 postfix/qmgr[1859]: 6258A30D6: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 06:35:01 G1VPNAG03 postfix/smtp[8353]: 6258A30D6: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.31, delays=0.05/0/0/0.25, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10671089] Queued mail for delivery)
Apr 19 06:35:01 G1VPNAG03 postfix/qmgr[1859]: 6258A30D6: removed
Apr 19 06:40:01 G1VPNAG03 postfix/pickup[30224]: EEA6B3104: uid=0 from=<root>
Apr 19 06:40:01 G1VPNAG03 postfix/cleanup[16340]: EEA6B3104: message-id=<[email protected]>
Apr 19 06:40:01 G1VPNAG03 postfix/qmgr[1859]: EEA6B3104: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 06:40:02 G1VPNAG03 postfix/smtp[16342]: EEA6B3104: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.36, delays=0.06/0.02/0.01/0.27, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10671128] Queued mail for delivery)
Apr 19 06:40:02 G1VPNAG03 postfix/qmgr[1859]: EEA6B3104: removed
Apr 19 06:41:37 G1VPNAG03 postfix/pickup[30224]: 64C0E3114: uid=500 from=<nagios>
Apr 19 06:41:37 G1VPNAG03 postfix/cleanup[16340]: 64C0E3114: message-id=<[email protected]>
Apr 19 06:41:37 G1VPNAG03 postfix/qmgr[1859]: 64C0E3114: from=<[email protected]>, size=730, nrcpt=1 (queue active)
Apr 19 06:41:37 G1VPNAG03 postfix/pickup[30224]: 695B53112: uid=500 from=<nagios>
Apr 19 06:41:37 G1VPNAG03 postfix/cleanup[16340]: 695B53112: message-id=<[email protected]>
Apr 19 06:41:37 G1VPNAG03 postfix/qmgr[1859]: 695B53112: from=<[email protected]>, size=739, nrcpt=1 (queue active)
Apr 19 06:41:37 G1VPNAG03 postfix/pickup[30224]: 6A1A03116: uid=500 from=<nagios>
Apr 19 06:41:37 G1VPNAG03 postfix/cleanup[16340]: 6A1A03116: message-id=<[email protected]>
Apr 19 06:41:37 G1VPNAG03 postfix/qmgr[1859]: 6A1A03116: from=<[email protected]>, size=738, nrcpt=1 (queue active)
Apr 19 06:41:37 G1VPNAG03 postfix/pickup[30224]: 6AD493115: uid=500 from=<nagios>
Apr 19 06:41:37 G1VPNAG03 postfix/cleanup[16340]: 6AD493115: message-id=<[email protected]>
Apr 19 06:41:37 G1VPNAG03 postfix/qmgr[1859]: 6AD493115: from=<[email protected]>, size=731, nrcpt=1 (queue active)
Apr 19 06:41:37 G1VPNAG03 postfix/smtp[16342]: 64C0E3114: to=<[email protected]>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.23, delays=0.03/0/0/0.2, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10671137] Queued mail for delivery)
Apr 19 06:41:37 G1VPNAG03 postfix/qmgr[1859]: 64C0E3114: removed
Apr 19 06:41:37 G1VPNAG03 postfix/smtp[18891]: 6AD493115: to=<[email protected]>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.24, delays=0.03/0.01/0/0.21, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10671140] Queued mail for delivery)
Apr 19 06:41:37 G1VPNAG03 postfix/qmgr[1859]: 6AD493115: removed
Apr 19 06:41:37 G1VPNAG03 postfix/smtp[18890]: 6A1A03116: to=<[email protected]>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.33, delays=0.02/0/0/0.3, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10671138] Queued mail for delivery)
Apr 19 06:41:37 G1VPNAG03 postfix/qmgr[1859]: 6A1A03116: removed
Apr 19 06:41:37 G1VPNAG03 postfix/smtp[18889]: 695B53112: to=<[email protected]>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.44, delays=0.02/0/0/0.41, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10671139] Queued mail for delivery)
Apr 19 06:41:37 G1VPNAG03 postfix/qmgr[1859]: 695B53112: removed
Apr 19 06:45:01 G1VPNAG03 postfix/pickup[30224]: D481F312C: uid=0 from=<root>
Apr 19 06:45:01 G1VPNAG03 postfix/cleanup[24205]: D481F312C: message-id=<[email protected]>
Apr 19 06:45:01 G1VPNAG03 postfix/qmgr[1859]: D481F312C: from=<[email protected]>, size=920, nrcpt=1 (queue active)
Apr 19 06:45:02 G1VPNAG03 postfix/smtp[24207]: D481F312C: to=<[email protected]>, orig_to=<root>, relay=exch-2k3-02.firemountain.local[10.100.9.36]:25, delay=0.36, delays=0.06/0.01/0/0.3, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=10671158] Queued mail for delivery)
Apr 19 06:45:02 G1VPNAG03 postfix/qmgr[1859]: D481F312C: removed
Apr 19 06:50:01 G1VPNAG03 postfix/pickup[30224]: C9C86315C: uid=0 from=<root>
Apr 19 06:50:01 G1VPNAG03 postfix/cleanup[32261]: C9C86315C: message-id=<[email protected]>
Apr 19 06:50:01 G1VPNAG03 postfix/qmgr[1859]: C9C86315C: from=<[email protected]>, size=920, nrcpt=1 (queue active)

THe phpmailer.log only has one item in it saying it was 'unable to relay', but it's dated Mar 13 of 2015

Re: Not everybody in a Contact group was notified

Posted: Tue Apr 19, 2016 10:55 am
by rkennedy
Can you post the configs of the contact(s), contact group(s), notification command, and any relevant templates?
We will need this information as well.

I suspect that your contacts are set to use the generic notify-host-by-email or notify-service-by-email, when they need to be using the XI commands, which utilize SMTP.

Re: Not everybody in a Contact group was notified

Posted: Tue Apr 19, 2016 11:05 am
by JohnFLi
dang....sorry about that..

Code: Select all

define contact {
	contact_name                  		Andrew
	alias                         		Andrew 
	host_notifications_enabled    		1
	service_notifications_enabled 		1
	host_notification_period      		xi_timeperiod_24x7
	service_notification_period   		xi_timeperiod_24x7
	host_notification_options     		d,u,r,f,s,n,
	service_notification_options  		w,u,c,r,f,s,n,
	host_notification_commands    		notify-host-by-email
	service_notification_commands 		notify-service-by-email
	email                         		his email [email protected]
	}	

define contact {
	contact_name                  		Andrew TXT
	alias                         		Andrew TXT
	host_notifications_enabled    		1
	service_notifications_enabled 		1
	host_notification_period      		xi_timeperiod_24x7
	service_notification_period   		xi_timeperiod_24x7
	host_notification_options     		d,u,r,f,s,n,
	service_notification_options  		w,u,c,r,f,s,
	host_notification_commands    		notify-host-by-email
	service_notification_commands 		notify-service-by-email
	email                         		[email protected]
	}	

Code: Select all

define contactgroup {
	contactgroup_name             		G1VPEXC0X
	alias                         		Exchange Servers
	members                       		Andrew,AndrewTXT,Janis,Janis_TXT,Randy,Randy_txt
	}	

Code: Select all

define service {
	host_name			G1VPEXC02
	service_description		Exchange Core Services
	use				xiwizard_exchange_service
	check_command			check_xi_service_nsclient!!SERVICESTATE!-l MSExchangeADTopology,MSExchangeAntispamUpdate,MSExchangeEdgeSync,MSExchangeFDS,MSExchangeIS,MSExchangeMailboxAssistants,MSExchangeMailSubmission,MSExchangeRepl,MSExchangeSA,MSExchangeSearch,MSExchangeServiceHost,MSExchangeTransport,MSExchangeTransportLogSearch,msftesql-Exchange -d SHOWALL!!!!!
	max_check_attempts		5
	check_interval			5
	retry_interval			1
	check_period			xi_timeperiod_24x7
	notification_interval		60
	notification_period		xi_timeperiod_24x7
	contact_groups			G1VPEXC0X
	_xiwizard			exchange
	register			1
	}

Re: Not everybody in a Contact group was notified

Posted: Tue Apr 19, 2016 4:23 pm
by lmiltchev
define contact {
contact_name Andrew
alias Andrew
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period xi_timeperiod_24x7
service_notification_period xi_timeperiod_24x7
host_notification_options d,u,r,f,s,n,
service_notification_options w,u,c,r,f,s,n,
host_notification_commands notify-host-by-email
service_notification_commands notify-service-by-email
email his email [email protected]
}

define contact {
contact_name Andrew TXT
alias Andrew TXT
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period xi_timeperiod_24x7
service_notification_period xi_timeperiod_24x7
host_notification_options d,u,r,f,s,n,
service_notification_options w,u,c,r,f,s,
host_notification_commands notify-host-by-email
service_notification_commands notify-service-by-email
email [email protected]
}
If you have an option "n" specified in the host or service notification options, the emails won't be sent to this contact.

Here's a quote from our documentation:
Contact - host notification options

This directive is used to define the host states for which notifications can be sent out to this contact. Valid options are a combination of one or more of the following:
d = notify on DOWN host states,
u = notify on UNREACHABLE host states,
r = notify on host recoveries (UP states),
f = notify when the host starts and stops flapping, and
s = send notifications when host or service scheduled downtime starts and ends.
If you specify n (none) as an option, the contact will not receive any type of host notifications.

Parameter name: host_notification_options
Required: yes
The same is valid for the "service_notification_options".

You can remove the "n" option by going to CCM->Contacts->Edit->Alert Settings, clear the "n" check-box, save, and apply configuration.

Let us know if this fixed your issue.

Re: Not everybody in a Contact group was notified

Posted: Tue Apr 19, 2016 4:35 pm
by JohnFLi
interesting, this person does get notifications for other items.
I will make those adjustments.

but if you notice the service notification for service 'n' was unchecked.

Re: Not everybody in a Contact group was notified

Posted: Tue Apr 19, 2016 5:00 pm
by rkennedy
Let us know how it goes.

Another thing - is what I mentioned above.
I suspect that your contacts are set to use the generic notify-host-by-email or notify-service-by-email, when they need to be using the XI commands, which utilize SMTP.
The email could be getting filtered by the SMS provider, since these will be sending directly from the XI machine, versus how users of XI are utilizing xi_host_notification_handler and xi_service_notification_handler.

Re: Not everybody in a Contact group was notified

Posted: Tue Apr 19, 2016 6:05 pm
by JohnFLi
All contacts and users are set to use the generic for service and host notifications. Including the 2 that did get the text messages. But even if did get hung up by the cell phone provider for the person that did not get the messages, he still should have gotten the emails.
Along with that, on the log files that I posted here during the time frame, it doesn't show anythign being amiss.

Re: Not everybody in a Contact group was notified

Posted: Wed Apr 20, 2016 9:02 am
by lmiltchev
Can you check if you have multiple instances of nagios running?

Code: Select all

ps -ef | grep bin/nagios
2: one is an XI user, the other a contact only
Please verify that the xi user's email under the "Manage Users" page (Admin->Manage Users) matches the corresponding contact's email under the "Contacts" page (CCM->Contacts).

Can you log in (or masquerade as) this user, click on the username in the upper right corner, and show us the "Notification Preferences", and "Notification Methods" settings?

Also, show us the service definition of the service that this user/contact should have been notified about.