I have an action that works fine for all of my triggers, except a new one I just added with a regexp() within it. In my dashboard view, the action simply doesn't execute when that particular trigger goes off, but other triggers kick it off without issue. The script it calls prints "DISKOK" when all disks are OK for the servers, and the trigger goes off if anything else is printed. The trigger shows up in my views, but the action simply doesn't execute. Any ideas?
Ad Widget
Collapse
Action not working for regexp() based trigger?
Collapse
X
-
I think this had to do with me removing, re-creating, changing names of, etc.. for the trigger. In the end, I just tried setting the script to return an "OK" status on all of the triggers so they all cleared. I then reset the script back to correctly monitor the items and the action executed on all of the triggers that were set.
So being sure all triggers are OK and then setting things back to a good configuration seems to have done the trick here.
Comment