Administer > Configure communication protocol > Load communication settings from a file

Load communication settings from a file

NNMi enables you to use nnmcommunication.ovpl to bulk load or update any of the Communication Configuration, SNMP Agent, and Web Agent settings that you can configure in the NNMi console.

Note the following: 

If you do not want to enter an NNMi User Name attribute value and an NNMi Password attribute value at the command line, you can use the nnmsetcmduserpw.ovpl command to specify the valid user name and password (instead of -u and -p). The credentials set using the nnmsetcmduserpw.ovpl command are valid for command execution by the same user.

To load Communication Configuration updates from a file:

  1. On the NNMi management server's hard drive, create a text batch file according to the specifications in the nnmcommunication.ovpl Reference Page.

    To add comments to your file, place a # character at the beginning of each comment line.

  2. Use the following command line command to load the information into the NNMi database:

    Windows:
    %NnmInstallDir%\bin\nnmcommunication.ovpl -u <NNMiadminUserName> -p <NNMiadminPassword> -batch <path/filename>

    Linux:
    $NnmInstallDir/bin/nnmcommunication.ovpl -u <NNMiadminUserName> -p <NNMiadminPassword> -batch <path/filename>

View the Communication Configuration Settings for a node:

View the Communication Configuration Settings when the node's Agent Settings Mode value is set to Auto. If the node's SNMP Agent Settings or Web Agent Settings Mode value is Locked, the Communication Configuration Settings for the node are ignored.

To view the Communication Configuration Settings for a node, enter:

Windows:
%NnmInstallDir%\bin\nnmcommunication.ovpl -u <NNMiadminUsername> -p <NNMiadminPassword> listEffective -node <node name>| <node IP address>

Linux:
$NnmInstallDir/bin/nnmcommunication.ovpl -u <NNMiadminUsername> -p <NNMiadminPassword> listEffective -node <node name>| <node IP address>

View the SNMP Agent Settings for a node

When the SNMP Agent Settings Mode value is Locked, NNMi uses the settings in a specific instance of the SNMP Agent form and ignores the Communication Configuration Settings for the associated node.

To view the SNMP Agent Settings for a node, enter:

Windows:
%NnmInstallDir%\bin\nnmcommunication.ovpl -u <NNMiadminUsername> -p <NNMiadminPassword> listSnmpAgentSettings -node <node name>|<node IP address>

Linux:
$NnmInstallDir/bin/nnmcommunication.ovpl -u <NNMiadminUsername> -p <NNMiadminPassword> listSnmpAgentSettings -node <node name>|<node IP address>

View the Web Agent Settings for a node

When the Web Agent Settings Mode value is Locked, NNMi uses the settings in a specific instance of the Web Agent form and ignores the Communication Configuration Settings for the associated node.

To view the Web Agent Settings for a node, enter:

Windows:
%NnmInstallDir%\bin\nnmcommunication.ovpl -u <NNMiadminUsername> -p <NNMiadminPassword> listWebAgentSettings -node <node name>|<node IP address>

Linux:
$NnmInstallDir/bin/nnmcommunication.ovpl -u <NNMiadminUsername> -p <NNMiadminPassword> listWebAgentSettings -node <node name>|<node IP address>

Related topics