Emails not sent out to contact group
Posted: Tue Jun 14, 2016 11:35 am
I set up a parent contact group 'CQ Web' with a child contact group 'TTS-OPS' and a couple of individual contacts/users. The child contact group only has 1 contact which is an email distribution list. When an alert about a host was triggered, an email was sent out to individual contacts but not to the email distribution list. BTW, I did a test email from Nagios XI to email distribution list which went through.
From /var/log/messages, it seems to have tried the child contact group 'TTS-OPS'
Jun 10 01:34:38 sv-monmgt3-tts nagios: HOST NOTIFICATION: TTS-OPS;vm-cqpub0-web;UP;xi_host_notification_handler;OK - vm-cqpub0-web: rta 2082.171ms, lost 40%
Jun 10 01:34:38 sv-monmgt3-tts nagios: HOST NOTIFICATION: c-peng-adm;vm-cqpub0-web;UP;xi_host_notification_handler;OK - vm-cqpub0-web: rta 2082.171ms, lost 40%
Jun 10 01:34:38 sv-monmgt3-tts nagios: HOST NOTIFICATION: d-beaudet-adm;vm-cqpub0-web;UP;xi_host_notification_handler;OK - vm-cqpub0-webv: rta 2082.171ms, lost 40%
But from /var/log/maillog, there is no entry for TTS-OPS.
Jun 10 01:34:43 sv-monmgt3-tts postfix/smtp[86973]: 0364D17FF59: to=<D-Beaudet@xxx>, relay=xxx[172.20.60.47]:25, delay=2.3, delays=0.07/0.01/0.01/2.2, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=12728] Queued mail for delivery)
Jun 10 01:34:43 sv-monmgt3-tts postfix/qmgr[2837]: 0364D17FF59: removed
Jun 10 01:34:44 sv-monmgt3-tts postfix/smtp[86976]: 22AB017FF5A: to=<C-Peng@xxx>, relay=xxx[172.20.60.47]:25, delay=3.2, delays=0.03/0.01/0.01/3.1, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=12729] Queued mail for delivery)
Jun 10 01:34:44 sv-monmgt3-tts postfix/qmgr[2837]: 22AB017FF5A: removed
Questions:
-Why is the child contact group not working?
-Is nested contact group allowed?
-Does any contact have to be a user? Can a contact be a email distribution list?
From /var/log/messages, it seems to have tried the child contact group 'TTS-OPS'
Jun 10 01:34:38 sv-monmgt3-tts nagios: HOST NOTIFICATION: TTS-OPS;vm-cqpub0-web;UP;xi_host_notification_handler;OK - vm-cqpub0-web: rta 2082.171ms, lost 40%
Jun 10 01:34:38 sv-monmgt3-tts nagios: HOST NOTIFICATION: c-peng-adm;vm-cqpub0-web;UP;xi_host_notification_handler;OK - vm-cqpub0-web: rta 2082.171ms, lost 40%
Jun 10 01:34:38 sv-monmgt3-tts nagios: HOST NOTIFICATION: d-beaudet-adm;vm-cqpub0-web;UP;xi_host_notification_handler;OK - vm-cqpub0-webv: rta 2082.171ms, lost 40%
But from /var/log/maillog, there is no entry for TTS-OPS.
Jun 10 01:34:43 sv-monmgt3-tts postfix/smtp[86973]: 0364D17FF59: to=<D-Beaudet@xxx>, relay=xxx[172.20.60.47]:25, delay=2.3, delays=0.07/0.01/0.01/2.2, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=12728] Queued mail for delivery)
Jun 10 01:34:43 sv-monmgt3-tts postfix/qmgr[2837]: 0364D17FF59: removed
Jun 10 01:34:44 sv-monmgt3-tts postfix/smtp[86976]: 22AB017FF5A: to=<C-Peng@xxx>, relay=xxx[172.20.60.47]:25, delay=3.2, delays=0.03/0.01/0.01/3.1, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=12729] Queued mail for delivery)
Jun 10 01:34:44 sv-monmgt3-tts postfix/qmgr[2837]: 22AB017FF5A: removed
Questions:
-Why is the child contact group not working?
-Is nested contact group allowed?
-Does any contact have to be a user? Can a contact be a email distribution list?