Ad Widget

Collapse

How do I create an item that will monitor once a day at a specific hour of the day?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oldjoeclark
    Junior Member
    • Feb 2011
    • 2

    #1

    How do I create an item that will monitor once a day at a specific hour of the day?

    If I set the update interval to 86400 seconds (= one day) it checks once a day, but that doesn't control when it checks. I need to have it check at 6pm.

    What I have going is a systems process that creates a file. I have created a Powershell script to check that file's creation date and it integrates with the Zabbix agent to report back whether the file has today's date. (1 = yes, 0 = no).

    How do I configure the item to check right at 6pm each day?

    Thanks,

    Paul
  • Rudd
    Member
    • Mar 2011
    • 69

    #2
    I would suggest to use Windows task scheduler to run the powershell script at 6pm, and use zabbix_sender to return the value back to the server.

    Comment

    • ghoz
      Senior Member
      • May 2011
      • 204

      #3
      And then add a 'nodata' check in your trigger ,
      in case the data is not getting updated for whatever reason (scheduler down, bug in script...)

      Comment

      Working...