I'm trying to create a trigger that fires when the system reboots (Event entry 6006 - Information - in the system log records Event Log stopped), and recovers when the system has been rebooted for a period of time (210s) in this example. However, when I reboot the device the trigger fires, but it never recovers.
Problem Expression:
({.Windows Shutdown Pending or in Progress:eventlog[System,,"Information",,6006,,skip].str("stopped")}=1)
Recovery Expression:
({.Windows Shutdown Pending or in Progress:system.uptime.last()}>210)

I'm absolutely baffled as to why it's not clearing. I simplified it down to this, as I originally checked for Event 6005 (Event log started) as well on recovery, and event 1074 (...initiated the restart...) as an alternative trigger.
Does anyone have any ideas?
Problem Expression:
({.Windows Shutdown Pending or in Progress:eventlog[System,,"Information",,6006,,skip].str("stopped")}=1)
Recovery Expression:
({.Windows Shutdown Pending or in Progress:system.uptime.last()}>210)
I'm absolutely baffled as to why it's not clearing. I simplified it down to this, as I originally checked for Event 6005 (Event log started) as well on recovery, and event 1074 (...initiated the restart...) as an alternative trigger.
Does anyone have any ideas?
Comment