Name

nnmchangetrappw.ovpl — Change the TrapReceiver password

SYNOPSIS

nnmchangetrappw.ovpl [-u <user> -p <password>] [-jndiHost <hostname>] [-jndiPort <port>] [-?]

DESCRIPTION

nnmchangetrappw.ovpl is used to modify the password the TrapReceiver uses to secure connections between itself and JBoss. The password will be prompted on the command line, it cannot be passed in.

If you are using nnmchangetrappw.ovpl in a HA or application failover environment, HP suggests stopping and starting the TrapReceiver on the inactive server to ensure that both the active and inactive node are using the same password.

Parameters

nnmchangetrappw.ovpl supports the following parameters:

-u <username>

Optionally supply the NNMi administrator username to run the script. This script requires the NNMi administrator username unless you use an nnm.properties file. See the nnm.properties.4 reference page for more information.

-p <password>

Optionally supply the NNMi administrator password to run the script. This script requires the NNMi administrator password unless you use an nnm.properties file. See the nnm.properties.4 reference page for more information.

-?

Prints the usage statement and exits.

-jndiHost <hostname>

The server jndi host; default is localhost.

-jndiPort <port>

The server jndi port; default is 1099.

EXAMPLES

The nnmchangetrappw.ovpl script does not display the password as you type it in.

When using the nnmchangetrappw.ovpl script, you should see the following messages:

# nnmchangetrappw.ovpl
WARNING: This change may cause the TrapReceiver to become unavailable
for a period of time, ensure that you can afford to lose a
few traps.

Would you like to continue? [No]: 
y
Proceeding with password change

Please enter your password: 

Please enter your password again: 
It will take a period of time for this password update to complete
#

AUTHOR

nnmchangetrappw.ovpl was developed by Hewlett Packard Enterprise.

SEE ALSO

nnmtrapreceiver(1M).

Return to Reference Pages Index