Hi,
I’m trying to read up on how to do the following:
I have a working tcp port connection check and I can see it defined in
~/etc/check_mk/conf.d/wato/rules.mk
the service check definition contains the port # to test, along with the list of hostnames where the test should be ran.
if the test result is CRITICAL,
I’d like to run /bin/nc -z -v $HOSTADDRESS$ $PORT$ (or however the arguments are passed)
and then send the output of this command as part of the notification email.
please let me know if anyone can point me in the right direction, I read somewhere that CRE doesn’t have native event handler setups and requires cfg from the CLI…?
thanks