armonitor.conf or armonitor.cfg
The Java-based armonitor.conf (armonitor.cfg) file is read by the armonitor (armonitor.exe) binary, which runs the commands listed in the configuration file.
Each file name is listed by its UNIX name. If a Windows equivalent exists, it appears in parentheses after the UNIX name.
The armonitor configuration file is created at the following location:
armonitor configuration options
Lines with a (#) sign in armonitor file are treated as comments and ignored.
The following table describes the armonitor configuration options:
Defines environment values established for armonitor. You can include multiple instances of this option in the file. Before initiating any processes, armonitor sets any values specified through this option in its environment. Then, all processes that armonitor initiates inherit these values. This is a platform-independent way of defining environment variables. With this option, you can overwrite the existing value of an environment variable.
Specifies the armonitor directory. Initially, the installer enters the location for the directory. This location to the Monitor-directory is same as the location where BMC Remedy AR System is installed.
Recommendations for updating the armonitor.cfg file in server group or non-server environment
- The arcarte server hostname defined in armonitor.cfg for arcarte plugin should be the AR host name and not the server alias name. As an example, you can see the below details pertaining to a server in the AR Server Group environment. The highlighted text specifies the server name.
Note: Remedy OnDemand users should not use OnBMC-S as this is an alias name. Use the exact host name to be able to connect with the host.
- Enable all the diserver or carte plugin in all the servers existing in your server group environment. When a primary server fails, the jobs can run on the secondary server if the diserver or carte plugin is enabled for the secondary server.
- Every AR server in the server group environment should point to local host name and not to the Primary AR server.
(Optional) Customizing the armonitor.conf file
Starting with BMC Remedy AR System 9.1.04, you can choose to customize the armonitor.cfg file.
When you have additional processes for the armonitor.conf file, you can choose to create a copy of the armonitor.conf file and store the copy at the different location. The -c parameter instructs the armonitor to load information from the specified configuration file.
java -jar armonitor-9.1.04-SNAPSHOT.jar -c <completePath>
(Optional) To customize the armonitor.conf file
- Stop arserver.
- On command prompt, navigate to
<Install dir\BMC Software\ARSystem>location.
- Run the following command for specifying the custom armonitor configuration.
java -jar armonitor-9.1.04-SNAPSHOT.jar -c <completePathToARMonitorConfigurationFile>