monitor
----------
to monitor windows tasks with checkmk copy the "windows_tasks.ps1" script from:

"C:\Program Files (x86)\checkmk\service\plugins\windows_tasks.ps1"

>> to

"C:\ProgramData\checkmk\agent\plugins\windows_tasks.ps1"

after that the agent should deliver information about the scheduled tasks on that host


rules
------

if you want different states depending on the exit code from the windows task you can create a rule to match specific exit codes

checkmk > setup > Windows Tasks > Add Rule

!warning! the name of the windows task usually starts with a "\" so you need to define the task name with double slashes ("\\")

example: \\WindowsTaskTest$

computer2know :: thank you for your visit :: have a nice day :: © 2024