Recheck free disk space after recovery task cleaned temp files

Forum: Operations Manager4
Viewing 3 posts - 1 through 3 (of 3 total)
  • #230123
    Profile photo of Nico Weytens
    Nico Weytens
    Participant

    In an attempt to reduce the number of tickets for our first line, I wrote a cleanup vbs which is run as a recovery task on the Logical Disk Free Space monitors. When the threshold is breached the script deletes some files/folders our first line would typically also start with.
    The problem is though that the alert stays open until the next monitor interval. We do have a few mins of delay before an alert is escalated towards our ticketing system, but the delay is not big enough to simply wait till that next scheduled interval.
    Is there a why I can force the monitor to recheck? Recalculating the health doesn’t do the trick. Perhaps there’s some command I can run at the end of the vbs to have the agent to re-evaluate the monitor again?

    #230169
    Profile photo of Nico Weytens
    Nico Weytens
    Participant

    Anyone?

    I’m thinking of just adding ‘net stop healthservice && net start healthservice’ at the end of the recovery task.
    Kinda blunt, but I hope it’ll do the trick…

    #230367
    Profile photo of Scott Moss
    Scott Moss
    Participant

    the kind of blunt approach will work out easiest, I would add clearing the agent cache folder to that as well.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.