Create an IIM alert template
To create an IIM alert template for IIMAgent Errors in the associated BlackBerry AtHoc organization, complete the following steps:
- Create an IIM template for IIMAgent Errors.
- In theTemplate Titleadd the following text:[[IIM Agent Error Type]]at[[IIM ID]].[[IIM ID]] is replaced with the IIM ID provided in theIIMAgent.exe.configfile.
- Add the following text in Alert Template Body:[[IIM Agent Error Type]]occurred at IIM[[IIM ID]][[Error Message Body]][[IIM Agent ErrorType]]is replaced with the value of the Error Type (Service Error or Java Error) that is passed to the SDKAlert.[[Error Message Body]]is replaced with the error message that is passed in theSDKAlertTemplate.
- Save the alert template.
- Note down the alert template common GUID, Organization ID, SDK user name, and password.
- Open Notepad as an administrator.
- OpenC:\Program Files\capnode\iim\IIMAgent.exe.config.
- Add the following parameters:<add key="SDKURL" value="https://iwshostname/sdk/listener/listen.asp"/> <add key="SDKUserName" value="username"/> <add key="SDKPasswordEncrypted" value="no"/> <add key="SDKPassword" value="password"/> <add key="SDKVPSId" value="1234567"/> <add key="SDKAlertTemplateCommonName" value="85b0b856-7637-4862-abe8-dd9ea6be2524"/> <add key="IIMId" value="IIM-IP_OR_IIM_Name"/> # #SDKAlertTemplateCommonName-value for this parameter must be the alert template Common Name for Error Template that we have created in IWS steps. # #SDKURL-Add the URL of the BlackBerry AtHoc management server you are using. # #SDKUserName-Add the SDK username according to your SDK server. # #SDKPasswordEncrypted-When installing for first time, value should be "no", later this SDKPasswordEncyted is updated as"yes" once SDKPassword is encrypted. # #SDKPassword-Add SDK password according to your SDK server (text format).Later this is updated in Di-cipher text (encrypted format). # #SDKVPSId-This is the BlackBerry AtHoc management system organization ID. # #IIMId-IIM ID of the IIM on which you are installing the IIMAgent.
- SaveC:\Program Files\capnode\iimm\IIMAgent.exe.config.
- OpenComponent Services, search forIIMAgent Servicein the service list.
- Right-click and selectProperties.
- Change theStartup TypetoAutomatic (Delayed).
- ClickApply>OKand then run the service.Do not set theStartup TypetoAutomatic, it should beAutomatic (Delayed).
- Start and stop the service to check the installation. If the service is starting and stopping properly, then the installation is successful.
- Optionally, if you already ran thecreateWinCounters_v1.ps1file for setting up Java counters, do not run it again. For detailed information about how to create Windows Performance Counters from IIM Java code, see Install all Windows performance counters.
- Start the IIMAgent Service from Component services.