Install IIMAgent as a service
You must create an IIM Agent V2 that writes health, polls information to Windows Performance Counters, and sends an SDK alert to the BlackBerry AtHoc management system where there is a service error or Java error.
If watchdog service is installed in your system, disable it, otherwise it can result in continuous restarting of the system.
Before you begin:
Ensure .NET4.7 is installed.- Log in to IIM.
- Open a command prompt as an administrator and navigate toC:\Program Files\capnode\IIMAgent_Build.
- Run theinstall.batfile and then close the command window.
- Open Notepad as an adminisitrator.
- Open theC:\Program Files\capnode\iimm\IIMAgent.exe.configfile. The file has two tags related to configuring the service:<add key="ServiceCount" value="1"/><add key="Service1" value="CapCon,start"/>Enter the number of services and the expected state you want to configure in the<ServiceCount>tag. The value of theServiceCountkey must be equal to the number of services you want to configure. Index additional services as Service2, Service3, and so on.
- Add theEnableIWSPollingparameter in the BlackBerry AtHoc Java polling threads configuration. Add the following line in theIIMAgent.exe.configfile:<add key="EnableIWSPolling" value="no"/>If the value of the parameter is set to 'yes', IIMAgent polls the BlackBerry AtHoc management system. If the parameter is not added in theIIMAgent.exe.configfile, IIMAgent does not poll the BlackBerry AtHoc management system.