Windows Scheduled Task
Posted: Fri Dec 27, 2019 1:13 pm
Hello I am relatively new to nagios so please bare with me.
I are currently using a ubuntu server as the host. I already have multiple clients machines connected, both linux and windows.
I am currently using just the basic commands that were set up for monitoring such as checking disk space and ping tests.
I am working on trying to monitor to see if a windows scheduled task has failed. Is this possible?
I have followed this article https://support.nagios.com/kb/article.php?id=788 and added those settings on the windows client.
The above command that shows in that post would need to be ran on my Linux host machine to check. Is that correct?
./check_nrpe -H 10.25.14.2 -c check_tasksched -a "filter=title eq 'Test_Task'" 'critical=most_recent_run_time < -5m' empty-state=critical 'empty-syntax=${status}: Test_Task NOT found' 'detail-syntax=${title} is stale more than -5m'
I am just looking for some guidance on where to go as I am very new to this.
Thank you for your help
I are currently using a ubuntu server as the host. I already have multiple clients machines connected, both linux and windows.
I am currently using just the basic commands that were set up for monitoring such as checking disk space and ping tests.
I am working on trying to monitor to see if a windows scheduled task has failed. Is this possible?
I have followed this article https://support.nagios.com/kb/article.php?id=788 and added those settings on the windows client.
The above command that shows in that post would need to be ran on my Linux host machine to check. Is that correct?
./check_nrpe -H 10.25.14.2 -c check_tasksched -a "filter=title eq 'Test_Task'" 'critical=most_recent_run_time < -5m' empty-state=critical 'empty-syntax=${status}: Test_Task NOT found' 'detail-syntax=${title} is stale more than -5m'
I am just looking for some guidance on where to go as I am very new to this.
Thank you for your help