Hi,
I use CheckTaskSched2.dll on Windows Server 2008 R2 for check the task.
But this check is used only at the root of task scheduler.
I want to check the task in subfolders also.
Somebody knows how make with the good argument ?
CheckTaskSched subfolders
Re: CheckTaskSched subfolders
According to the documentation, there is a parameter to specify folder for which the tasks reside.
https://docs.nsclient.org/reference/win ... Sched.html
Code: Select all
folder The folder in which the tasks to check reside.
Former Nagios Employee
-
Maxxxiiime
- Posts: 3
- Joined: Wed Jun 22, 2016 10:10 am
Re: CheckTaskSched subfolders
Yeah I have see this post, but folder is invalid argument.
./check_nrpe -H xx.xx.xx.xx -p 5666 -c CheckTaskSched -a "folder=myfolder"
Invalid argument: folder
The documentation is for the version 0.4.2 at 0.5.
The version NRPE on my linux server is 2.12.
The version NSclient on my Windows is 0.3.9.
./check_nrpe -H xx.xx.xx.xx -p 5666 -c CheckTaskSched -a "folder=myfolder"
Invalid argument: folder
The documentation is for the version 0.4.2 at 0.5.
The version NRPE on my linux server is 2.12.
The version NSclient on my Windows is 0.3.9.
Re: CheckTaskSched subfolders
Is upgrading to 0.4.3 of NSClient++ an option for you? As we did not write it, it appears the function is only in the newer version.
Another alternative may be something written by @WillemDH, https://outsideit.net/check-ms-win-tasks/
Another alternative may be something written by @WillemDH, https://outsideit.net/check-ms-win-tasks/
Former Nagios Employee
-
Maxxxiiime
- Posts: 3
- Joined: Wed Jun 22, 2016 10:10 am
Re: CheckTaskSched subfolders
Works for me.rkennedy wrote:Another alternative may be something written by @WillemDH, https://outsideit.net/check-ms-win-tasks/
Thx.
Re: CheckTaskSched subfolders
Is it alright if we lock this thread and mark the issue as resolved?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/