Send alerts based on states

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
nagiosbeginner
Posts: 3
Joined: Thu Jan 30, 2020 6:09 am

Send alerts based on states

Post by nagiosbeginner »

Hi All,

I want to send alerts like this


If the state is critical I want to send it to one particular group

If the state is warning I want to send it to another group.


How can I achieve this task ?
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Send alerts based on states

Post by gormank »

You can send notifications as you've described. NXI has a GUI for this but it doesn't look like core does. In XI, I would go to admin, notifications and define templates for critical and warning.
Of course you'll need to attach contacts or contact groups to hosts and services, which in my opinion is best done via templates.
Locked