Ad Widget

Collapse

How should I define the trigger?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • blastik
    Junior Member
    • Sep 2011
    • 7

    #1

    How should I define the trigger?

    Hi folks,

    I configured a user parameter to execute a vbs script which returns the following value to zabbix in text mode: 17/05/2012 23:56:48 .It's the date of the latest created subfolder in a folder. Let's say this trigger will check up whenever this subfolder is older than 2 days.
    How should I define the trigger?

    Thanks!
    D.
  • ghoz
    Senior Member
    • May 2011
    • 204

    #2
    you can't.

    On the other hand, what you could do is make your vbs return the number of seconds sincs 1/1/1970, (unix epoch), tell zabbix that this item is a unixtimestamp so it will display correctly, and then use a simple trigger using fuzzytime or now functions.

    Comment

    Working...