none
fim Synchronization service 2010 r2 RRS feed

  • Question

  • hello,

    I am running FIM Synchronization service  with different management agents. sometimes thing goes wrong. how can i monitor those tasks? I want to use powershell for than because i have a lot of other hings that i monitor that way.

    is it possible to "GET" the status and dates with some kind of FIM cmdlets? or maybe via event log? 

    third-party modules is no option.  

    I hope one of u guys can point me in the right direction.

    Kind regards

    Harm Schutte 

    Thursday, January 16, 2014 12:40 PM

Answers

  • You could make WMI calls as below to get the FIM run history, then filter them as you need. Look for the property RunStatus in each run entry and build the logic as you need. 

    Get-WmiObject -Class 'MIIS_RunHistory' -Namespace 'root\MicrosoftIdentityIntegrationServer'

    Having said that, the proper way of doing this is setting up SCOM monitoring. 

    • Marked as answer by H Schutte Friday, January 17, 2014 7:36 AM
    Friday, January 17, 2014 1:19 AM

All replies

  • You could make WMI calls as below to get the FIM run history, then filter them as you need. Look for the property RunStatus in each run entry and build the logic as you need. 

    Get-WmiObject -Class 'MIIS_RunHistory' -Namespace 'root\MicrosoftIdentityIntegrationServer'

    Having said that, the proper way of doing this is setting up SCOM monitoring. 

    • Marked as answer by H Schutte Friday, January 17, 2014 7:36 AM
    Friday, January 17, 2014 1:19 AM
  • Hi Harm,

    In addition to the FIM Cmdlets the FIM Synchronization Service event log also contains log entries when the Management Agent runs have warnings/errors. You would though need to filter down to the find the specific entries that you are after.  

    If third party products/modules aren't an option you could also look at using a scheduled task that gets triggered based on particular events happening in the Sync Service log - I probably wouldn't recommend it though.

    Andrew.

    Friday, January 17, 2014 4:22 AM
  • Thx

    exactly what I needed.

    I can now continue to built my monitor!

    Kind regards

    Harm Schutte

    Friday, January 17, 2014 7:39 AM