I am building a custom sensor using the EXE/Script Advanced sensor. It's a PowerShell script that returns some ping, trace route, etc stats in the channels. I want to trigger a notification only is the string in the Message changes. I know the Message isn't logged so I have created a channel that is a hash of the string in Message. So if this hash changes I want a notification to trigger.
I've tried adding <NotifyChanged> to the Hash channel but that trigger a Change Notification every time the sensor runs. Any ideas how I could trigger a Notification ONLY is the Hash channel changes?
Add comment