Auto Acknowleding Alerts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Auto Acknowleding Alerts

Post by benhank »

Hello everyone!

Is it possible to cause XI to automatically acknowledge service alerts?
The scenario:

Hostobject has a service, Diskusage.
Diskusage hits its critical threshold. When diskusage hits its critical threshold, Nagios sends out an email notification, and then acknowledges the alert saying "problem automatically acknowledged by Nagios, email was sent to the lazy jokers who couldn't be bothered".
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Auto Acknowleding Alerts

Post by scottwilkerson »

You would have to create an event handler and have it run something like this passing in the hostname and service name as variables
https://assets.nagios.com/downloads/nag ... mand_id=40
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: Auto Acknowleding Alerts

Post by benhank »

Hey thanks! Ill make another post after i screw it up, but you can lock it for now!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Auto Acknowleding Alerts

Post by cdienger »

Sounds like a plan :)
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked