Event ID monitor for missing event. RRS feed

  • Question

  • The requirement to monitor a particular event ID. The alert needs to be raised when this event ID has not occurred in that last 25 hours.

    Monday, October 14, 2013 2:44 AM


  • Hi 

    you can go for missing event id monitor in scom refer below link for more information.


    (or )

    you can go for powershell script base monitor to check for given event id in respective log and generate alert if event id not logged in last 25 hr.

    refer below link  how to create an power shell script base monitor 


    powershell script 

    $api = new-object -comObject 'MOM.ScriptAPI'
    $bag = $api.CreatePropertyBag()
    $e=Get-EventLog -LogName system -EntryType error -InstanceId 5722 -After (Get-Date).addhours(-25)
    if($e.Count -gt 0)



    sridhar v

    Tuesday, October 15, 2013 7:19 AM