I'm running Nagios XI 2014R2.0 and noticed that email notifications only seem to work for those contacts defined as admin users and the email address in the admin user definition is used in preference to the contact email email address. Is this expected behavior? Does every contact that should receive notification also be defined as an admin user?
Thanks in advance!
preferred notification email
Re: preferred notification email
If your contacts have the "xi_*_notification_command" notification commands defined (where * is host/service) then they will use the associated User email address and be able to use SMTP. Without that, they are mostly restricted to using sendmail which can be flaky. However, the Admin status should not matter. Are the non-admins read-only or something?
http://assets.nagios.com/downloads/nagi ... ntacts.pdf
http://assets.nagios.com/downloads/nagi ... ntacts.pdf
Former Nagios employee
Re: preferred notification email
No. You probably have a mismatch between users and contacts. They are similar but not the same. For more information on xi users and contacts (and how to configure your notifications) review the following documents:Does every contact that should receive notification also be defined as an admin user?
http://assets.nagios.com/downloads/nagi ... ntacts.pdf
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
Let me know if you have any more questions.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
kendallchenoweth
- Posts: 195
- Joined: Fri Sep 13, 2013 10:43 am
Re: preferred notification email
So if I understand the links below, if a user is defined as an admin and a contact and I'm using the xi_notification script, the admin email address will be used instead of the linked contact definition? If there is no admin user defined for the contact, the contact definition email is used.
I'm trying to use the xi notification script and the contact email address which may sometimes differ from the linked admin email. (The reason is that I want to test notifications to named contacts in QA and redirect all emails to myself.
Is this possible and what's the best configuration for this?
I'm trying to use the xi notification script and the contact email address which may sometimes differ from the linked admin email. (The reason is that I want to test notifications to named contacts in QA and redirect all emails to myself.
Is this possible and what's the best configuration for this?
Re: preferred notification email
Can't you add all these contacts and yourself to a contact group and add this contact group to your hosts/services? This way all members of this contact group (including you) will receive alerts.The reason is that I want to test notifications to named contacts in QA and redirect all emails to myself
Be sure to check out our Knowledgebase for helpful articles and solutions!