Page 1 of 1

Controlling SMS Notifications

Posted: Mon Apr 16, 2018 8:22 am
by jwerwie
I'm relatively new to NAGIOS XI and would like some advice on controlling SMS notifications. I currently have the default configuration for alerting applied. Users are configured under Admin -> Users -> Manage Users and are a member of one or more contact groups. I added devices to XI using configuration wizards, which as put the contact groups under hosts and services. Users set up their own settings for SMS under ~/account -> Notification Options. When they have SMS enabled, they get SMS alerts for any hosts, services for which their contact group is assigned.

My question is..... Is there any way Admin can select which hosts/services users will receive SMS for? For example, host switchA has service monitors for Bandwidth, Port Status, CPU, Memory, Temperature, and SNMP Traps. All of these services are part of contact group 'network-admins'. If the user has SMS enabled, they will get emails and text messages for each of these services. I only want them to get text messages for CPU and Temperature. I am thinking I would have to put select services in a new service group (i.e. critical-services), then check this membership before the sms alert is sent (if member of critical-services, sms and email; else, email only), but I'm not sure how to do this.

Version 5.4.13

Re: Controlling SMS Notifications

Posted: Mon Apr 16, 2018 4:11 pm
by cdienger
There doesn't seem to be a clean way of doing this. The best that I can come up with would be to create two XI accounts for each network-admin. One storing the user's email address and other storing their phone number. The SMS accounts could use a shared dummy email address and the email accounts not having the phone number. The XI accounts could then be split into two contact groups(one containing the email accounts and the other containing the SMS accounts) and applied to checks accordingly.