Execute Script/Program at each and every alert

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Execute Script/Program at each and every alert

Postby amitgupta19 » Mon Aug 12, 2019 10:44 am

I have script and Program which will contain the read only api of the nagios.

How to invoke the script/program along with each alert.
Posts: 240
Joined: Fri Sep 08, 2017 5:53 am

Re: Execute Script/Program at each and every alert

Postby scottwilkerson » Mon Aug 12, 2019 10:55 am

There are 2 directives you can enable in the nagios.cfg that you can enable that will run a nagios command object you specify

Code: Select all

See details here
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
DevOps Engineer
Posts: 17617
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 11 guests