Ad Widget

Collapse

Need advice on a Trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Umair
    Member
    • Feb 2007
    • 86

    #1

    Need advice on a Trigger

    Hello!
    I am using an external script to check the status of links to a router.

    If any link goes down, the script would return:

    "Link[A] is down."

    With A being a variable integer.
    The item returns 0 if all the links are working fine or the above string if any link goes down.

    I have based the trigger on the following function :

    {Host_ITP:itp_check.sh[].str(down)}=1

    If the link goes down, the trigger sets to true and an alarm is raised.

    When the link is quiet unstable, i receive so many alerts.
    Is there a possibility to specify a time interval for the trigger?
    Like if the link is down AND remains down for 5 minutes, raise the alert.

    The tricky thing with my requirement is, i am returning a variable string whose only constant word is 'down'.
    I am a little confused as how i would be bringing about this functionality.
    Any help would be greatly appreciated.
Working...