Administer > NNMi Incidents > Batch Load Incident Configurations > Loading Incident Configurations with nnmincidentcfgload.ovpl

Loading Incident Configurations with nnmincidentcfgload.ovpl

The NNMi nnmincidentcfgload.ovpl script provides a way for you to load Incident Configurations into the NNMi database from a formatted configuration file.

Tip Use the nnmincidentcfgdump.ovpl script to create a configuration file of existing Incident Configurations in a non-xml format. You can then edit this file if desired before loading them into the NNMi database.

See the following directory for the required format:

Windows: %NnmInstallDir%\examples\nnm\incidentcfg

Linux: /opt/OV/examples/nnm/incidentcfg

To validate an Incident Configuration file before it is loaded into the NNMi database, use the following example syntax:

nnmincidentcfgload.ovpl -validate <file_name> -u <NNMiadminUsername> 
-p <NNMiadminPassword>

To load Incident Configurations, use the following example syntax:

nnmincidentcfgload.ovpl -load <file_name> -u <NNMiadminUsername> 
-p <NNMiadminPassword>

Note the following:

  • NNMi updates all configurations that have matching names or other matching key identifiers.

Caution NNMi also overwrites the values of any codes associated with these configurations (for example, incident Family).

  • NNMi adds all incident configurations with key identifiers that do not exist in the NNMi database.
  • NNMi does not change existing incident configurations with key identifiers that do not match any in the exported file.
  • NNMi resolves Universally Unique Object Identifiers (UUIDs) if they are not provided in the configuration file.
  • If NNMi is unable to resolve a UUID, a UUID is created.

Note When making file changes under High Availability (HA), you must make the changes on both nodes in the cluster. For NNMi using HA configurations, if the change requires you to stop and restart the NNMi management server, you must put the nodes in maintenance mode before running the ovstop and ovstart commands.

See the nnmincidentcfgload.ovpl reference page or the Linux manpage for more information.