Scheduled Task check fails Not Found
Posted: Wed May 30, 2018 7:36 pm
Windows 2012 R2
Nsclient 4.4.23
Run this check from server command line
root:/usr/local/nagios/etc/objects# /usr/local/nagios/libexec/./check_nrpe -H 10.2.8.14 -c check_tasksched -a "filter=title eq 'DailyEvent'"
: No tasks found
On another Windows 2012 R2 it works as does 40 others
root:/usr/local/nagios/etc/objects# /usr/local/nagios/libexec/./check_nrpe -H 10.2.8.22 -c check_tasksched -a "filter=title eq 'Daily Event Report'"
: All tasks are ok|'Daily Event Report_exit_code'=0;0;0
I copied the nsclient from the working server and no change.
I have this same issue on two other Windows 2012 R2 server but those two I have about 15 scheduled tasks and 10 work and the other 5 give same error not found.
Very strange
Any help would be greatly appreciated.
Thank you
Tom
Nsclient 4.4.23
Run this check from server command line
root:/usr/local/nagios/etc/objects# /usr/local/nagios/libexec/./check_nrpe -H 10.2.8.14 -c check_tasksched -a "filter=title eq 'DailyEvent'"
: No tasks found
On another Windows 2012 R2 it works as does 40 others
root:/usr/local/nagios/etc/objects# /usr/local/nagios/libexec/./check_nrpe -H 10.2.8.22 -c check_tasksched -a "filter=title eq 'Daily Event Report'"
: All tasks are ok|'Daily Event Report_exit_code'=0;0;0
I copied the nsclient from the working server and no change.
I have this same issue on two other Windows 2012 R2 server but those two I have about 15 scheduled tasks and 10 work and the other 5 give same error not found.
Very strange
Any help would be greatly appreciated.
Thank you
Tom