Monitor a scheduled task(batch file) that runs every Minute

Hi,

I have just started using Nagios and have it monitoring over 20 windows servers and services running on them and everything works just fine…The only thing I’ve run into problems with is having to monitor a Scheduled task which is a batch file under windows 2003 server that runs every minute for about 2 secs…What strategy could be used under Nagios to monitor such process…

Thanks for the help…

Imran Nazir

Hi, just an idea…

If you can modify the scheduled task, you could write a flag file somewhere and check that it is not older than, say, 2 minutes.

Hope this helps, and if you find a better solution post it.

Bye
ivan