SMS notifications only for some services

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ivanlesk
Posts: 6
Joined: Tue Oct 20, 2015 2:56 am

SMS notifications only for some services

Post by ivanlesk »

Hi,

we want to setup email notifications for all host/services but SMS notifications for only some host/services.

E.g.

For user jdoe i want to setup email notifications for two hosts and all services on that hosts, but also SMS notifications for some (not every) services.
Is this possible without additional contact user, e.g jdoe-sms (setup with two users we have in nagios core, and we are migrating to xi and we want to avoid that).

Adding users from LDAP/AD is working perfectly and I want to avoid having to manually add sms contact for every user. Our users don't want to receive sms for every alert, just for specific ones.

Thx in advance.

Sorry if this has already been answered but i haven't managed to find solution.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: SMS notifications only for some services

Post by rkennedy »

I don't believe this is going to be possible. You will need to setup a second contact for the SMS alerts, and assign them to each service that you want specifically to have SMS alerts.
Former Nagios Employee
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: SMS notifications only for some services

Post by gormank »

I think you can create service templates containing the mail and sms info to do this. Apply the mail template to some and the sms template to some. Now you can control mail and sms through the templates, and not have to touch the hosts or services in the future.
I do this with mail groups so my setup may be a bit different.
ivanlesk
Posts: 6
Joined: Tue Oct 20, 2015 2:56 am

Re: SMS notifications only for some services

Post by ivanlesk »

Thx, for your replays.

Solution with mail/SMS service templates doesn't help much, because I have to many users / user groups that may or may not have SMS contact(s).

Can one user (gui user) have multiple relationships with contacts (nagios core contacts)? (one gui user have two core contacts (sms and mail))
jrdalrymple
Posts: 16
Joined: Fri Nov 13, 2015 4:49 pm

Re: SMS notifications only for some services

Post by jrdalrymple »

ivanlesk wrote:Can one user (gui user) have multiple relationships with contacts (nagios core contacts)? (one gui user have two core contacts (sms and mail))
No
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: SMS notifications only for some services

Post by rkennedy »

Thanks @jrdalrymple!

Let us know if you have any other questions @ivanlesk.
Former Nagios Employee
ivanlesk
Posts: 6
Joined: Tue Oct 20, 2015 2:56 am

Re: SMS notifications only for some services

Post by ivanlesk »

Nope, this is it, for now.

Thx everyone.

This can be closed now.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: SMS notifications only for some services

Post by rkennedy »

I will now close this out, feel free to open another thread if you ever need assistance!
Former Nagios Employee
Locked