Free variable definition from service output
Posted: Mon Jan 27, 2014 10:39 am
Hi,
Is it possible to set a dynamic Free variable definition that is generated from a service check output?
I want to configure an NRPE check that outputs a service name, and then use that service name with an event handler.
IE:
NRPE check outputs: "Windows Time"
Free variable definition $_SERVICENAME is set with "Windows Time"
Event handler uses "Windows Time" to restart service
Thanks.
Is it possible to set a dynamic Free variable definition that is generated from a service check output?
I want to configure an NRPE check that outputs a service name, and then use that service name with an event handler.
IE:
NRPE check outputs: "Windows Time"
Free variable definition $_SERVICENAME is set with "Windows Time"
Event handler uses "Windows Time" to restart service
Thanks.