add notification email

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jtintegration
Posts: 56
Joined: Tue Nov 19, 2013 5:01 pm

Re: add notification email

Post by jtintegration »

I don't have enterprise version of XI, therefore i have to do into each service/host to add notification? I have around 400 hosts/services. This is a pain. Is it easier to just change my email to the distributions email that included me and several other people? If so, please tell me where all the places I will need to change.


thanks
kyang

Re: add notification email

Post by kyang »

If you do not have the enterprise edition of XI.

You could try using the addon address in a contact in the Core config manager --> click a contact, and add in an email address?

Using the notify-host-by-email/notify-service-by-email commands. (generic-contact template)

Using the $CONTACTADDRESSx$ macro. (Example: $CONTACTADDRESS1$) which is equal to the email address you put in the addon address in XI
https://assets.nagios.com/downloads/nag ... olist.html

This is an old thread, but it lists a way to get it working.
https://support.nagios.com/forum/viewto ... f=6&t=5003

Note: Editing the default notify commands could not be a good idea. You should create a separate command when doing this, in case you ever needed the default.
jtintegration
Posts: 56
Joined: Tue Nov 19, 2013 5:01 pm

Re: add notification email

Post by jtintegration »

I think it is easier to replace my email with a distribution email, that way it goes to me and someone else on that distribution email. Can you show me where all the places to change that for all alerts of hosts/services.
Thanx
kyang

Re: add notification email

Post by kyang »

Is it just a single distribution email? Or a list?

It would still be in place for a contact email in the Core Config Manager.

Have you tried using the distribution email with a user that already receives notifications on all hosts/services?
jtintegration
Posts: 56
Joined: Tue Nov 19, 2013 5:01 pm

Re: add notification email

Post by jtintegration »

It is just a single distribution email.
where do i go to make changes for this single distribution email for all service/host when it is up and down?
kyang

Re: add notification email

Post by kyang »

Are you adding it to a XI user? or a contact user in the CCM?

Add it to the user/contact that receives up and down notifications.

You can add it in the CCM --> contact --> user

For the XI user go to --> XI Home --> Admin --> Manage Users
jtintegration
Posts: 56
Joined: Tue Nov 19, 2013 5:01 pm

Re: add notification email

Post by jtintegration »

I am using XI by the way,

Right now with Manager users: (2 users here)
1. myself ([email protected]), which I am able to get the notificattion of service/host
2. test user ([email protected])which is not getting the notifcation alerts

My question:
If I replace [email protected] with [email protected], is this all I need to door is there somewhere I need to do for all the service/host alerts?
kyang

Re: add notification email

Post by kyang »

There shouldn't be anywhere else. Simply replacing the emails should be all that is required.

You could change the email address in both places just to be sure.

Code: Select all

You can add it in the CCM --> contact --> user

For the XI user go to --> XI Home --> Admin --> Manage Users
Locked