'High' Priority and 'critical' severity alerts from all MP's in SCOM 2007 R2

Hi All
Can anyone help me with the script to get all alert details from monitors and rules which are set to "high" priority and "critical" severity in SCOM 2007.
Regards
Madhavi

You can below script to show all agent which isn't health
$ReportOutput += "<h2>Agents where Health State is not Green</h2>"
$ReportOutput += Get-Agent |
where {$_.HealthState -ne "Success"} |
select Name,HealthState | ConvertTo-HTML
-fragment$ReportOutput += "<h2>Agents where the Monitoring Class is not available</h2>"
$AgentMonitoringClass = get-monitoringclass
-name "Microsoft.SystemCenter.Agent"
$ReportOutput+= Get-MonitoringObject-monitoringclass:$AgentMonitoringClass|
where{$_.IsAvailable -eq$false} |
selectDisplayName | ConvertTo-HTML-fragment
Also you can refer below links
http://www.definit.co.uk/2012/01/scom-2007-r2-daily-health-check-script/
http://www.blackops.ca/cms/blog/?p=155
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
Mai Ali | My blog: Technical

Similar Messages

  • High Severity alerts from network TAB in LMS 3.1

    I have attached the screenshot of the High Severity alerts from network TAB in LMS 3.1
    In that it is having alert ID also , could you please update me about this alerts.

    Click on the alert ID to get more details about the event(s) in these alerts.  The events will contain the informative details about the condition of the devices.

  • My screen smashed so had to get a new phone, my phone hadn't been backed up since march is there ANY way at all I could retrieve my pictures and/or videos? from all of my holidays :( please any help would be much appreciated! Thanks

    my screen smashed so had to get a new phone, my phone hadn't been backed up since march is there ANY way at all I could retrieve my pictures and/or videos? from all of my holidays please any help would be much appreciated! Thanks

    Strawbs12345 wrote:
    Yeah but I can't upload them because there not on the phone?
    Is that a question?
    Photo stream pictures can be viewed only on the devices they were sent to.  You can't transfer them back to your phone (or anywhere else).  If you didn't back up or import the photos to a computer, and they are no longer on your phone, they're gone.

  • Is it possible in IOS to have two static routes for the same subnet, one a higher priority and "failover" between the 2?

    Hi All
    Is it possible in IOS to have for a particular subnet:
    a) Two static routes?
    b) Make one static route a higher priority than the other?
    c) If one static router "goes down", failover to the lower priority static route?
    We have a l2tp/vpdn connection to a supplier which can be accessed via two vlans/routes. I would like to make one route the preferred one but the "route" to failover if the preferred route goes down.
    Again, many thanks in advance for all responses!
    Thanks
    John

    Hi John,
    Hope the below explaination will help you...
    R1(config)# ip route 0.0.0.0 0.0.0.0 2.2.2.2
    R1(config)# ip route 0.0.0.0 0.0.0.0 3.3.3.3 10
    If you notice the Administrative Distance for the secondary route pointing to ISP2 is increased to 10 so that it becomes the backup link.
    The above configuration with just two floating static routes partially accomplishes our requirement as it will work only in the scenario where the routers interfaces connected to the WAN link are in up/down or down/down status. But in a lot of situations we see that even though the links remain up but we are not able to reach the gateway, this usually happens when the issue is at the ISP side.
    In such scenarios, IP SLAs becomes an engineer's best friend. With around six additional IOS commands we can have a more reliable automatic failover environment.
    Using IP SLA the Cisco IOS gets the ability to use Internet Control Message Protocol (ICMP) pings to identify when a WAN link goes down at the remote end and hence allows the initiation of a backup connection from an alternative port. The Reliable Static Routing Backup using Object Tracking feature can ensure reliable backup in the case of several catastrophic events, such as Internet circuit failure or peer device failure.
    IP SLA is configured to ping a target, such as a publicly routable IP address or a target inside the corporate network or your next-hop IP on the ISP's router. The pings are routed from the primary interface only. Following a sample configuration of IP SLA to generate icmp ping targeted at the ISP1s next-hop IP.
    R1(config)# ip sla 1
    R1(config)# icmp-echo 2.2.2.2 source-interface FastEthernet0/0
    R1(config)# timeout 1000
    R1(config)# threshold 2
    R1(config)# frequency 3
    R1(config)# ip sla schedule 1 life forever start-time now
    The above configuration defines and starts an IP SLA probe.
    The ICMP Echo probe sends an ICMP Echo packet to next-hop IP 2.2.2.2 every 3 seconds, as defined by the “frequency” parameter.
    Timeout sets the amount of time (in milliseconds) for which the Cisco IOS IP SLAs operation waits for a response from its request packet.
    Threshold sets the rising threshold that generates a reaction event and stores history information for the Cisco IOS IP SLAs operation.
    After defining the IP SLA operation our next step is to define an object that tracks the SLA probe. This can be accomplished by using the IOS Track Object as shown below:
    R1(config)# track 1 ip sla 1 reachability
    The above command will track the state of the IP SLA operation. If there are no ping responses from the next-hop IP the track will go down and it will come up when the ip sla operation starts receiving ping response.
    To verify the track status use the use the “show track” command as shown below:
    R1# show track
    Track 1
    IP SLA 1 reachability
    Reachability is Down
    1 change, last change 00:03:19
    Latest operation return code: Unknown
    The above output shows that the track status is down. Every IP SLAs operation maintains an operation return-code value. This return code is interpreted by the tracking process. The return code may return OK, OverThreshold, and several other return codes.
    Different operations may have different return-code values, so only values common to all operation types are used. The below table shows the track states as per the IP SLA return code.
    Tracking
    Return Code
    Track State
    Reachability
    OK or over threshold
    (all other return codes)
    Up
    Down
    The Last step in the IP SLA Reliable Static Route configuration is to add the “track” statement to the default routes pointing to the ISP routers as shown below:
    R1(config)# ip route 0.0.0.0 0.0.0.0 2.2.2.2 track 1
    R1(config)# ip route 0.0.0.0 0.0.0.0 3.3.3.3 10
    The track number keyword and argument combination specifies that the static route will be installed only if the state of the configured track object is up. Hence if the track status is down the secondary route will be used to forward all the traffic.
    Please rate the helpfull posts.
    Regards,
    Naidu.

  • Issue in downloading HP Critical Drivers Alert from Email

    Hello Everyone, when I receive email on critical drivers alert, after clicking on the link within email HP redirects me to blank page where there are no drivers.how to download those drivers listed in email containing drivers?

    Hi:
    HP is aware of the drivers missing from the support pages issue and is working on resolving it.
    It is affecting hundreds of notebook models.
    Since I don't work for HP, I do not know when the sites will be operational again.
    This has happened once before, so hopefully they learned from past experience how to troubleshoot the problem.
    With the Thanksgiving holiday in the United States, that has delayed things, I'm sure.
    We are on the fifth day of this problem.

  • How can I view and manage disk usage from all user accounts at once?

    I need to clean up the internal drive on my 2009 MBP.  We have 6 accounts on that machine.  Rather than go into each account separately and do some house cleaning, is there some kind of Admin option to view and clean up files for all accounts from one central location?
    Thanks very much,
    Bo

    I guess I am trying to find out if there are any admin tools available for "regular" OS X.  Not OS X server.
    Thanks

  • TS3276 Is it possible to delete mail from your iPhone and it be deleted from all your Apple devices?

    I would like to delete mail from all my Apple devices in one go rather than having to access each individually and then read/delete on each, is this possible? I have a Mac Book Pro an iPad mini and an iPhone 5.
    Any help would be gratefully received.
    Regards,
    Andy

    It depends on the email you use, if you have a provider that only allows POP then it is not possible. If your provider supports Imap or Exchange then it is.
    Who is your email provider?

  • Can't select and send several emails from outlook to onenote

    I have been successfully using the Send to Onenote button from Outlook when choosing either one email or numerous emails.  However, starting last week, I can no longer choose more than one email and send it to Onenote.  I can choose several emails
    and use the Print To Onenote option, but then all emails are put into a single page in Onenote.  
    I can choose a single email at a time and send that to OneNote with no problem.
    I am running Windows 7 with Service Pack 1, 64 Bit
    Outlook and Onenote are Office Professional Plus 2010 32-bit
    Has anyone else experienced this?  
    Thanks

    The latest fix is in thread "http://answers.microsoft.com/en-us/office/forum/office_2010-outlook/cant-send-multiple-emails-to-onenote/52f276db-5826-49f3-93b5-45f9b5a9e4f7?page=2&rtAction=1386601168018"
    When I removed both KB2794707 and KB2837597 the problem with multiple email send to onenote went away again.  I wish they listed the authors on those fixes.  There may be a code fragment causing this that they keep inserting into newer fixes and
    it would be nice if that would stop.

  • How to start a new thread and getting mail alerts from the OTN ?

    Hi ,
    I would like to post some question in OTN and at the same time , i am intrest to get the forums mails into my mail box.
    Can you help !!!!!!!!
    Thanks

    IndianDBA wrote:
    I would like to post some question in OTN and at the same time , i am intrest to get the forums mails into my mail box.You could probably help yourself as well.
    There is a FAQ link at the upper-right of the page - FAQ stands for 'Frequently Asked Questions' and usually provides answers to those questions. ANd your questions just may be answered there if you care to look.
    I note that not only 'would you like to post some questions', but you actually 'have posted the first question'. So you seem to be on your way. Just note that there are many forums, and you are encouraged to ask in the correct forum - find them by going to the 'Forum Home' link (top left) and scrolling down (and don't forget to peek in the 'More...' areas if you can not find the ones you want.)
    AND - if you ask technical questions, remember to include operating system (including edition or distribution and version as appropriate for the OS), product version (even if you do not think it's important) and any error messages (copied, not re-typed, if possible)

  • Low priority and high priority queue

    Hi
    we have high priority and low priority queue's. Functionality wise i know that time critical messages will be sent through high priority queue's and low priority messages will be sent
    through low priority queues. But like to know what technicality makes this separation of
    low priority and high priority queue's ? The crus of the question is what technical setting(s)
    makes the queue as high priority and what technical setting(s) makes the queue as low priority
    queue.
    Thanks
    kumar

    i Michal
    I am talking abt queue prioritization on Integration eninge only.
    I am good with queue prioritization and am able to successfully implement
    the same. We are using only PI7.0.
    My question is what is the technical difference between high priority
    and low priority queues ? what technical setting makes it a high priority
    queue and what technical setting makes a low priority queue ?
    Your answer:
    how the system reacts to new messages if almost all queues are already blocked
    for some types of messages
    My comment: what setting makes the system to behave like that ? what property
    of that queue makes them to behave like that ?
    Thanks
    kumar

  • I lost all my playlists trying to download I tunes 8 and becuase It deleted them from all my devices becuase of music match.  I have an Ipod that still has all the playlists can I restore them from that device?

    I lost all my playlists trying to download I tunes 8 and It deleted them from all my devices becuase of music match.  I have an Ipod that still has all the playlists can I restore them from that device?

    Hello!
    Do you have a Mac computer with Time Machine backups?

  • Clear "high priority" status of incoming mail

    Okay, I have several emails I have marked as "flagged" so I can sort by that field and they stay at the top. Problem is, those annoying people who think all of their email is high priority (and flag them as such) are immediately following the flagged emails. This pushes new email down the list even further.
    I can't figure out how to clear that high priority status so they fall in chronological order with all the other email. Ideas?
    Thanks!

    You can't. The priority is being sent via a special header in the mail. These headers are created by the senders machine upon sending. Mail.app just displays the priority given in the header information. There is no way in Mail.app to alter the messages headers.

  • Remove descriptions from all photos

    Hello
    I've been importing photographs into iPhoto from several different people. They have all used different methods of describing the photos (in the 'description' field). Is there a way to select all the photos (about 3,000) and remove the description from all of them in one go?
    Thanks
    Mark

    Hi,
    Check below url they might help you
    http://social.technet.microsoft.com/forums/sharepoint/en-US/eba46699-d3e2-4447-b7fa-2ec87c00ce68/powershell-to-remove-a-user-from-all-site-collection
    http://sharepoint.stackexchange.com/questions/36421/remove-a-single-user-from-all-site-collections-in-a-web-application-using-powers
    Regards
    PT

  • Remove custom background and ringtone via CUCM from IP Phone

    Hallo,
    we'va a CUCM 7.1 running at our company with about 700 IP Phone (7962). Now I've set via Bulk Phone Update the option "Phone Suite" to
    disabled.
    But in the time before several employee have personalized their phones
    Is it possbile to remove the custom backgrounds and ringtone via CUCM from all phone and if yes how?
    Kind kegards
    Kai

    No, it's not possible to do so via CUCM.
    This part of CSC is for video over IP calls, please post your questions in the right section.
    HTH
    java
    if this helps, please rate
    www.cisco.com/go/pdihelpdesk

  • Spawn jobs are not getting priority and target servergiven at selection scn

    Hi Abapers,
    I am scheduling main program as a job in backend through FMs JOB_OPEN, JOB_SUBMIT and JOB_CLOSE with priority and target server taken from user at selection screen through SE38,after executing the job,job will generate the spawn jobs (i.e child jobs). The spawn jobs  also be scheduled with same priority and target server from taken user. But after completion of main job execution, the spawn jobs are not generating with same priority and target server taken from selection screen. May be its getting refreshed.
    Please give me an idea how the spawn jobs also have to get the same priority and server of main job?
    Please reply as soon as possible. I need it urgently.

    Hi,
    I have used below statements for ADD EXTRACT and ADD REPLICAT.
    ------Extract
    ADD EXTRACT ext_1, TRANLOG, BEGIN NOW
    -------Data Pump
    ADD EXTRACT pump_1, EXTTRAILSOURCE /app/ggs/trail/local_trail_1/ta, BEGIN NOW
    -------Replicat
    ADD REPLICAT rep_1, EXTTRAIL /app/ggs/trail/remote_trail_1/tb, BEGIN NOW, CHECKPOINTTABLE ogg.tarun_chk
    Yes, i have tried tutorial at Oracle Learning Library.
    Thanks
    Tarun
    Edited by: user8886876 on Feb 12, 2012 9:56 PM

Maybe you are looking for