Windows Scheduled Task

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Flava
Posts: 68
Joined: Wed Feb 01, 2012 10:06 am

Windows Scheduled Task

Post by Flava »

Hi,

I want to monitor Windows Scheduled Task, how do you monitor the status of scheduled task?

Thanks
Thanks
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Windows Scheduled Task

Post by lmiltchev »

You can check out the following two links:

http://www.nsclient.org/nscp/wiki/Check ... kTaskSched

http://social.technet.microsoft.com/For ... 0b0faf8fcd

I hope this is what you are looking for.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Flava
Posts: 68
Joined: Wed Feb 01, 2012 10:06 am

Re: Windows Scheduled Task

Post by Flava »

Hi
I have tried this but i cannot retrieve any information back from scheduled tasks, I have created dummy tasks and perform nagios checks on it using the check_nrpe as specified on NSClient++ website, but it is not working still. Any ideas.
Thanks
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Windows Scheduled Task

Post by lmiltchev »

Can you show us the command that you are running in the command line, and the output of it? You can also post the relevant parts of the nsclient.log.
Be sure to check out our Knowledgebase for helpful articles and solutions!
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: Windows Scheduled Task

Post by yancy »

Flava,

Also, make sure CheckTaskSched.dll is uncommented from your NSC.ini or nsclient.ini file

Regards,

-Yancy
Flava
Posts: 68
Joined: Wed Feb 01, 2012 10:06 am

Re: Windows Scheduled Task

Post by Flava »

Hi Yancy,

I have confirmed that is uncommented, but still no luck, the box with scheduled tasks is Windows 2008 R2 if that helps shed some light on this.
Thanks
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: Windows Scheduled Task

Post by yancy »

Flava,

What does your CheckTaskSched command look like? Have you tested using check_nrpe as described here:

http://www.nsclient.org/nscp/wiki/Check ... kTaskSched


regards,

-Yancy
Locked