The nimalarm utility can be used to send UIM alarms via the command line. This can have uses for getting alarms into UIM from systems that are not necessarily UIM integrated. For example, a batch file could be configured to call the nimalarm utility when it encounters an error during runtime.
The nimalarm utility is found in the UIM installation directory. In a standard Windows installation it can be found in C:\Program Files (x86)\Nimsoft\bin
What do the various command line options do?
ALL options are optional. More detailed explanations below:
Sets the alarm severity.
Sets the subsystem ID.
Sets the suppression key.
Sets the internal debug level (ie. loglevel) of the utility.
Sets the source/hostname alarm fields.
Makes the utility print the nimid of the generated alarm.
Sets the custom fields 1 through 5.
Needs to be set together, decides the CI device ID.
The CI metric ID.
The alarm token, fills the udata->token field in the alarm PDS. Used for e.g. UMP for fetching internationalized alarm messages.
Sets values to be used in above mentioned internationalized alarm messages. See the properties files in the wasp/i18n directory for examples on how these are used.
Here are some examples for usage
Simplest usage is:
nimalarm -l 5 -c test-0512-01 -S server1 -i "This is a TEST alarm"
Sets an alarm severity, sets a suppression key, sets an alarm source and returns the unique nimid of the alarm.
Release: CNMSPP99000-7.6-Unified Infrastructure Mgmt-Server Pack-- On Prem