Nagios to execute script on critical


Title pretty much says it all. I want Nagios to run a script on a remote host when a certain metric hits either a warning or critical. How would I go about doing this?


if the remote host is linux it can be done using nagios event handlers and some shell scripting. not sure on a win box…