fim Synchronization service 2010 r2

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 

January 16th, 2014 7:45am

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 4 hours 14 minutes ago
Free Windows Admin Tool Kit Click here and download it now
January 16th, 2014 8:24pm

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.

January 16th, 2014 11:27pm

Thx

exactly what I needed.

I can now continue to built my monitor!

Kind regards

Harm Schutte

Free Windows Admin Tool Kit Click here and download it now
January 17th, 2014 2:43am

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
January 17th, 2014 4:19am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics