0 Results
Found in 'All'
We couldn't find any results
You can search all listings, or try a different spelling or keyword. Still nothing? Dynatrace makes it easy to create custom apps.
Extend the platform,
empower your team.
Monitor your Windows scheduled tasks and alert on execution issues.
ExtensionThis is a OneAgent extension running on Windows servers. Every minute, the extension interrogates the system for details about your configured scheduled tasks and sends Dynatrace the current state each task is in along with the time that passed since their last executions.
A problem is created automatically for any task which registered an operational failure (failed to launch, execute, or complete). Additionally, problems can also be enabled for tasks which are taking longer than expected to complete or ones which have missed their expected scheduled execution.
Microsoft-Windows-TaskScheduler/Operational
in the
registry at location Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog
C:\Windows\System32\Tasks
LOCAL_SERVICE
user accountFirst, add the extension to your environment, then create a monitoring configuration.
After selecting a scope for the configuration, you must provide details about which tasks you want to monitor and to what level.
In the Scheduled Tasks Configuration section:
In the Tasks to monitor section:
By default, the extension produces two metrics:
You can find these by navigating to Metrics, then filtering by the tag ScheduledTasks.
In addition, with the Ingest events option, the extension will also produce log records. These
can be found in the log viewer by filtering for
log.source == "Microsoft-Windows-TaskScheduler/Operational"
Every Windows Event processed by the extension regarding a task will update the task's state. Whenever the task enters the Running state, a timestamp is kept for later reference. This timestamp is evaluated when alerting about timeouts and missed runs.
Task TaskName
appears to be hanging:
This is controlled by the "timeout" setting on each task which can be either auto-detected from the Scheduler's configuration, overriden with a manual value, or disabled if the value is set to 0.
Every minute in which the task is still in Running state, the extension calculates how long has passed since the task entered the Running state. If the value exceeds the timeout value, a problem is raised.
Task TaskName
did not run on time:
This is controlled by the "execution frequency" setting on each task which can be either auto-detected from the Scheduler's configuration, overriden with a manual value, or disabled if the value is set to 0.
Every minute, the extension calculates how long has passed since the task last entered a Running state. If the value exceeds the expected frequency value, the task is assumed to have missed its scheduled run and a problem is raised.
In addition to the timeouts and missed runs mentioned above, the extension will also automatically open a problem with one of these titles whenever any of the listed events are recorded for the scheduled task:
The list is non-configurable.
The custom task frequency setting was being incorrectly interpreted as hours instead of minutes. ⚠️If you were previously using custom task frequency, this fix may lead to a higher number of problems being raised as the value is now properly interpreted.⚠️
Tasks with timeout PT0S
(no timeout) were being incorrectly classified as having a 0 second timeout.
No release notes
You can search all listings, or try a different spelling or keyword. Still nothing? Dynatrace makes it easy to create custom apps.