Ad Widget

Collapse

How to monitor a Windows scheduled task.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Millie
    Junior Member
    • Oct 2016
    • 2

    #1

    How to monitor a Windows scheduled task.

    Hi,

    I'm fairly new to Zabbix and am trying to configure it to monitor a number of scheduled tasks on a Windows 2012 R2 server. Ideally I just need Zabbix to report if a scheduled task does not run.

    I've searched around a fair bit but have not been able to find much detail on setting up monitoring of Windows Task Scheduler. Any help or guidance on how to do this would be greatly appreciated.

    Cheers.
  • nick0909
    Member
    • Apr 2013
    • 73

    #2
    I am not aware of a way to monitor a scheduled task directly, but the zabbix agent can monitor files. You could have the scheduled task update, or just touch, a specific file when it runs, or touch another file if it gets errors, then use Zabbix to check that those files have (or haven't) been changed in the last day. If you are running Zabbix 3 you can schedule items to be checked at a specific time, which can be when you expect the files to be updated (or not) by your task.

    Comment

    • Millie
      Junior Member
      • Oct 2016
      • 2

      #3
      Thanks nick0909. Funnily enough I had had the conversation about 'touching' a file but was just hoping that Zabbix might be able to monitor the scheduler directly. Looks like it'll be the file option. Cheers.

      Comment

      • Caramelo159
        Junior Member
        • Aug 2017
        • 3

        #4
        I dig up the subject ^^

        My github :
        Contribute to romainsi/zabbix-scheduledtask development by creating an account on GitHub.


        On zabbix share :

        Comment

        Working...