Contact Groups and Notifications

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jkinning
Posts: 747
Joined: Wed Oct 09, 2013 2:54 pm

Contact Groups and Notifications

Post by jkinning »

As I continue investigating the best option to migrate from our old Nagios Core 3.0.6 to Nagiox XI I have stumbled upon more questions.

I currently have several contact groups which some are duplicated because one group is email only and another group is pager/SMS text. With XI would I still need the two groups or am I able to say for Host A send notifications to email but Service A send SMS text? I am trying to reduce as much clutter as I can and if I don't need two seperate contact groups (one for email and another for sms/paging) that would be great. I guess the better question is for the contacts since the contacts will be in the groups. Is it advisable to have two separate contacts for users? One being email only and the other for email and pager/SMS? Another example would be service A signals an alert but the contact person only wants email but the other members in the group want email and a SMS text. So, today using the Core and how it is setup in our environment I would add personA_email_only and then personB and personC. Person A only has email while person B and C also have their phone number values in their configurations. Will the same be true with XI or can you have one contact and then just check the check box if you want SMS too for the specific host and/or service?

I am also looking for the place within XI to restart services automatically or reboot. So when a check for serviceA stops I can have Nagios XI try to restart serviceA twice before sending out an alert. Or another example, if ServiceA stops try to restart service 2 times and if it is still not running reboot the server. If when the server comes back up it is still not running send of the alert. I thought I saw this in one of the various Nagios XI presentations but I cannot find that feature now.

Is there any word on better LDAP or in my case Active Directory support for user management? I have a lot of users on the current Core system and don't really want to manually add each on on the XI system. According to the documentation there needs to be a local user but the password doesn't matter and then the user can access Nagios XI. Is there an import tool or any advice on the best means to get all the users and contacts with the appropriate permissions into Nagios XI?

I thought I had other questions but have totally just went brain blank. :) If they come back to mind I'll add to this thread.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Contact Groups and Notifications

Post by abrist »

jkinning wrote:Will the same be true with XI or can you have one contact and then just check the check box if you want SMS too for the specific host and/or service?
XI users can have multiple notification methods configured. One user could use sms+email, while another just email. You cannot specify when to use email, and when to use sms though as both will be used if specified. If the contacts are not configured as XI users, it will essentially work as it does in core.
jkinning wrote: I am also looking for the place within XI to restart services automatically or reboot.
This requires event handlers and some "custom" scripts. See the following docs:
http://library.nagios.com/library/produ ... -nagios-xi
http://assets.nagios.com/downloads/nagi ... ndlers.pdf
jkinning wrote: Is there an import tool or any advice on the best means to get all the users and contacts with the appropriate permissions into Nagios XI?
You can import the configs, but XI users must be created through the Admin-->Users interface.
http://assets.nagios.com/downloads/nagi ... p_Tool.pdf
http://assets.nagios.com/downloads/nagi ... nto_XI.pdf
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked