Hello guys,
is this possible:
When a service-check result is WARNING or CRITICAL, then Nagios XI should automatically start a powershell-script (maybe through NCPA Agent) on the host, where the problem occurs, to solve the problem.
(the PS-script contains a command to restart an windows service)
In the best case is the problem solved and i don't need to do it manual.
Thank you!
NagiosXI executes a PS-script on the host on WARN/CRIT-Event
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: NagiosXI executes a PS-script on the host on WARN/CRIT-E
Hello, @nagchef. That is possible with the help of event handlers. Please take a look at this article first:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
And then check the section called "Event Handler Script Use Case Example".
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
And then check the section called "Event Handler Script Use Case Example".
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: NagiosXI executes a PS-script on the host on WARN/CRIT-E
Thank you @npolovenko
Can be closed!
Can be closed!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NagiosXI executes a PS-script on the host on WARN/CRIT-E
Great!nagchef wrote:Thank you @npolovenko
Can be closed!
Locking