SCOM: Alerting when a server is up for more than X days

If you ever need to alert if a server has been online for more then a specific time period, you can achieve this with the following method. In this example we will be alerting if the server is up for more than 60 days.

Firstly create a unit monitor >  Windows Performance Counter < Single Threshold > Simple Threshold, targeting a relevant target, in this case we used Windows Computer.

41

Then specify the performance counter to target the System Up Time Counter which is part of the System Object,

2

The threshold value is in seconds and needs to be set according to your requirement, in our case 60 days is 5184000 seconds.

3

You can then leave the alert details as is or specify a custom message. You will now get an alert for any server that is online for more then 60 days,

Loading

5 thoughts on “SCOM: Alerting when a server is up for more than X days

  1. Igor Kuznecov

    Hehe, uptime monitor makes our sysadmins cry… because it finds a lot of bugs in update system in company… Must have, really

    Reply
      1. Bill B

        Hi Warren, Thank you for your reply. Do you have an example on how to perform the calculations in a script? I am banging my head on the wall

        Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.