Scheduled Task check fails Not Found

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
kwhogster
Posts: 644
Joined: Wed Oct 14, 2015 6:51 pm
Location: Wood Ridge NJ USA
Contact:

Scheduled Task check fails Not Found

Post by kwhogster »

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
kwhogster
Posts: 644
Joined: Wed Oct 14, 2015 6:51 pm
Location: Wood Ridge NJ USA
Contact:

Re: Scheduled Task check fails Not Found

Post by kwhogster »

Figured this out tonight

Had the tasks marked as hidden unchecked that box and like that it works


You can lock this now
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Scheduled Task check fails Not Found

Post by scottwilkerson »

Glad you were able to solve it..

Locking
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked