Ad Widget

Collapse

Trigger which fires if entry in Windows Eventlog is missing for specific time

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • toskala
    Junior Member
    • Apr 2014
    • 1

    #1

    Trigger which fires if entry in Windows Eventlog is missing for specific time

    Hi there,

    I am using a backup script which writes to the eventlog when it starts and when it finished the job.
    Now I need a trigger in case it does not start within 24h after the last time it started.

    Here's what I did so far:

    Code:
    Item Name: Backup started
    Key: eventlog[Application,,,MyBackupScript,100]
    Type of Information: Log
    Latest data now shows:

    Code:
    Last Check: 30 Apr 2014 14:42:05
    Last Value: backup started
    My trigger looks like:

    Code:
    {Template MyBackupScript:eventlog[Application,,,MyBackupScript,100].nodata(86400)}=1
    If I understand this correctly the trigger should fire when there is no new event logged after 24h?

    Thanks in advance,
    toskala
Working...