Ad Widget

Collapse

Trigger based on last change status

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • phork
    Member
    • Nov 2006
    • 38

    #1

    Trigger based on last change status

    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?
  • James Wells
    Senior Member
    • Jun 2005
    • 664

    #2
    Greetings,
    Originally posted by phork
    Is there anyway to have a seperate trigger based off another trigger's last status change time?
    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;
    Code:
    {HOST:custom.file.count[/etc/foo].last(0)}>10
    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].min(#24)}>10
    Assuming that the second one depended on the first, you could create a pseudo escalation, by setting the priority to high.


    EDIT: Unfortuantely, there is no way yet to test against trigger change time... Or at least none that anyone has figured out yet.
    Unofficial Zabbix Developer

    Comment

    Working...