Q: I have a lab setup with System Center Service Manager (SCCM) and the Exchange connector. Can I have it check for mail more frequently than once per minute?
August 2, 2011
A: SCCM has a great Exchange connector that can be used to scan a mailbox and collect mails, which can be used to create new incidents and even update existing incidents and approve or reject change requests. Normally the setting that determines how frequently the mailbox is checked is in minutes, making 1 minute the most frequent option for checking for new mails. If you're performing a demo, 60 seconds can seem like an eternity, so you can make it check more frequently.
Start the System Center Service Manager Console.
Under the Administration Wonderbar (workspace), select Management Packs.
Type Exchange in the filter and Service Manager Exchange Connector will be shown.
Select the Service Manager Exchange Connector then the Export action.
Select a save location and click OK.
Open the exported XML file in Notepad (or your favorite XML editor).
At the top of the file, change the version from 1.0.0.0 to 1.1.0.0 (because you're making a change). If you have a version number higher than that, just add 1 to whatever you have in your version:
Microsoft.SystemCenter.ExchangeConnector
1.1.0.0Search the file for Interval unit. You'll find only one occurrence in the SimpleRecurringSchedule section:
5Change the Interval Unit to Seconds instead of Minutes and set the value to the number of seconds (e.g., 10 to check every 10 seconds):
10Save the changes.
Back in the Service Manager console, under Management Packs, select the Import option.
Select the XML file you changed and click OK. A warning will be displayed saying that the management pack already exists and data may be lost. Ignore this and click Import then OK.
The management pack should now show the new version and last modified date.
The change should take effect immediately, but you can no longer look at the properties of the connector or change them via the interface (it won't understand a seconds unit and would reset back to minutes). You now have a connector that's checking in seconds instead of minutes! Start the Event Viewer, go to Applications and Services Logs, Operations Manager, and you'll see Exchange Inbox Connector logs running every 10 seconds (or whatever your time was), showing the change has taken effect.
About the Author
You May Also Like