I see that it is very easy to monitor the stoppage of a continuous presence/process/service.
How would I go about monitoring/alerting if a given event does not occur when the event is randomly scheduled and non-continuous?
Article Comments
We have a Windows scheduled task that is supposed to run every 5 mins. I would like to get a PRTG alert when it does not run as scheduled.
If necessary, we can have the task deposit some residue after it runs either in the form of a change to a file/log or into one of the Windows event logs, if that would help.
Jan, 2011 - Permalink
You could have the scheduled task write or change a "log file" and then check this file with a file sensor in PRTG, and then set a trigger on the "age" of the file, to alarm if it's older than 5 minutes.
Jan, 2011 - Permalink
I think that could work.
Would the trigger be a "Threshold" trigger and the channel be "Last Modified"?
If so, what does the value in the trigger "Value" field represent (i.e. What does a value of 5 mean as related to a channel of "Last Modified")?
If not, what trigger/channel should I be using? Thanks.
Jan, 2011 - Permalink
Yes, the trigger would have to use 'Last Modified' and you will probably have to enter the value in seconds, i.e. 300
Jan, 2011 - Permalink
Hello,
that is very hard to say. Can you provide more details please?
Best Regards.
Jan, 2011 - Permalink