Is there anyway to have a seperate trigger based off another trigger's last status change time? As an example, you have a trigger that fires when the number of files in a directory exceeds 10. Now I want to have another trigger that fires if and only if, the other trigger has been going off for 24 hours. I know I could "fake" this if escalation support were present (I'm assuming it will be in 1.4), but is there any kind of mechansim in the current 1.1.6 to do this?
Ad Widget
Collapse
Trigger based on last change status
Collapse
X
-
Greetings,
If you were to create the item with a sufficiently high periodicity, then yes, it could be done without too much expense, say a periodicity of 60 or 120 minutes. Then you would have the first one check, say;Originally posted by phorkIs there anyway to have a seperate trigger based off another trigger's last status change time?
You would set your item to a periodicity of say 60 minutes and a priority of warn, then your second one would be something like;Code:{HOST:custom.file.count[/etc/foo].last(0)}>10
Assuming that the second one depended on the first, you could create a pseudo escalation, by setting the priority to high.Code:{HOST:custom.file.count[/etc/foo].min(#24)}>10
EDIT: Unfortuantely, there is no way yet to test against trigger change time... Or at least none that anyone has figured out yet.
Comment