Home Directory Plugins Operating Systems Windows NRPE Check Microsoft Windows Scheduled Tasks

Search All Sites

Search Exchange

Get Monitoring

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Check Microsoft Windows Scheduled Tasks

Rating
16 votes
Favoured:
1
Current Version
v6.01.170110
Last Release Date
2017-01-10
Compatible With
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
License
GPL
Hits
46526
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Checks Microsoft Windows 2008 or higher enabled scheduled tasks excluding or including defined folders and task patterns, returning state of tasks with name, author, exit code, last runtime and performance data to Nagios.
Please visit my blog for more information on this plugin.
In case you find a bug or have feature request, please make an issue on GitHub.
Reviews (12)
Dear,

I follow these steps but its not working properly

Please help me! Im not able to exec this command. I receive the message below:

"No handler for command: check_scheduletask"
Excellent works,
I would like to use this check, but I need to send a warning exit code on running task.
( Sometimes I have the task that doesn't exit at all, like loop, and I would like to receive a warning for that )
bymash211, November 21, 2016
Hi, sadly I also can´t download the plugin ....

regards

Markus
byNerdGz, June 14, 2016
0 of 1 people found this review helpful
Hello,

is it possible with this check monitor an event log inside the Scheduled Tasks ?
bysteve_boohoo, September 22, 2015
1 of 1 people found this review helpful
Hi great plugin we run it as :
-H $HOSTADDRESS$ -c check_ms_win_tasks -t 60

Do running tasks still trigger an alert or just ones that fail?
Owner's reply

Glad you like it. Running tasks do not trigger an alert. Only failing tasks trigger alerts. They are listed in the status information though. Grtz

byfunbe, June 25, 2015
1 of 1 people found this review helpful
Dear willemdh

I'm not able to download the plugin.
"Error establishing a database connection."
Is the plugin still online?

Thanks you in advance.
Owner's reply

Hey Funbe,
Sorry, my Linode webserver has only 1 GB of RAM and Mariadb sometimes seems to die because of it.. I should add some RAM, but it's bit too expensive. It should be back up now. :)
Grtz
Willem

bypaul.jobb, June 10, 2015
1 of 1 people found this review helpful
I really like this plugin. I made a small mod to allow for overriding the root folder as we group ours in folders based on function, As someone else mentioned its a little easier for alerting in bigger IT organizations.
Owner's reply

Thanks Paul. Feel free to fork the project on GitHub and submit a pull request to include the override of the root folder. Grtz. Willem

byrfults, May 27, 2015
1 of 1 people found this review helpful
2 things:

First, the multi-line output can be resolved by adding `r`n to the end of your output strings. I did this and added the ability to send an email on critical exit in my copy as I cannot rely on Nagios for notifications in our environment.

Second, graphs don't work with pnp4nagios. Any idea how I can get this working ootb?
Owner's reply

Hey Rfults,

I'll see if I can do some tests with `r`n . I've tried using it a long time ago though, but my PS knowledge has grown in the meantime. Tx fr the tip. About pnp4nagios, are you 100 % sure it has nothing to do with your configuration, as I have a lot of people using this plugin and you are the first telling me it doesn't work with PNP4nagios. Isn't the perfdata output of the plugin 'standard'? Please make an issue on GitHub for this if you are sure.
Grtz

Willem

bySteveBeauchemin, February 6, 2015
1 of 1 people found this review helpful
Using this to find failed jobs en mass is great. I have 6 MS Windows Job Server systems specifically used for scheduled tasks. This plugin lets me know when something needs to be dealt with.

There is always a 'but...' in there somewhere. sorry.

But... at my site with such a large IT team, I need to test for specific jobs and send alerts to specific people. Instead of just an 'Exclude' capability, can an 'Include' be added? Or maybe the ability to specify individual tasks, or regex includes? This would let me monitor our many job servers and send directed alerts to each of the 10 teams using it.

Thanks.

Steve B
Owner's reply

Steve,

I can't promise an eta on this, but could you please start with making an issue on Github for this?

Grtz

Willem

byolorin, October 31, 2014
1 of 1 people found this review helpful
Thanks for this great script!

Is there any way to exclude scheduled tasks with status Disabled ?
Owner's reply

Hey Olorin,

I made some changes to the script. It should now exclude disabled tasks.

Let me know if it works for you.

Grtz

Willem

byunique367, January 27, 2014
1 of 1 people found this review helpful
The script works great, but I need to run it as Admin. Do I need to give special permissions or disable something?
Owner's reply

Make a user account with local admin permissions on the server you are running the script and configurer the nsclient service to run with the created account.

by360IT, October 8, 2013
1 of 1 people found this review helpful
Easy to setup and works a treat!