Ad Widget

Collapse

Monitoring the Tasks Scheduler on Windows host

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lucaaasjo
    Junior Member
    • Oct 2022
    • 8

    #1

    Monitoring the Tasks Scheduler on Windows host

    I have a Windows Server with a Zabbix Agent, and I would like to monitor the tasks in Tasks Scheduler. I tried this : https://github.com/Iakim/Zabbix-ScheduledTask but it doesn't seem to work.

    I placed the DiscoverScheduledTasks.ps1 file in C:\Program Files\Zabbix Agent\ and wrote the path in it.

    In the zabbix_agentd.conf, I added the parameters as indicated in the github and restart the Zabbix Agent services.

    Then I've imported the template in Zabbix, but there is no elements, triggers... How can I see the tasks in Zabbix ?

    Do you have any ideas ?


    I'm using Zabbix 6.0
    Last edited by Lucaaasjo; 29-11-2022, 15:10.
  • Lucaaasjo
    Junior Member
    • Oct 2022
    • 8

    #2
    Can anyone help me ?

    Comment

    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #3
      Pls try run in cmd
      Code:
      powershell -NoProfile -ExecutionPolicy Bypass -File "full_path_to\DiscoverScheduledTasks.ps1" "DiscoverTasks"
      run on behalf of the user under which zabbix is running. try to run as an administrator.

      Comment

      • Lucaaasjo
        Junior Member
        • Oct 2022
        • 8

        #4
        Click image for larger version

Name:	image.png
Views:	2844
Size:	16.8 KB
ID:	455353I get this result​

        Comment

        Working...