Authentication
When subscribing to events from the NNMi system, the probe provides authentication information in the form of a username and password.
Use the NNMUserID and NNMPassword properties to specify the credentials for the account on the NNMi system that the probe uses for event notification. The values of both properties can be plain text or AES encrypted text. However, for improved security encrypt both the user name and password.
To encrypt the username or password, use the nco_keygen utility to create a key file and then use the nco_aes_crypt utility to encrypt the text using the key file.
Detailed instructions on how to encrypt a property value, such as NNMUserID and NNMPassword are in the IBM Tivoli Netcool/OMNIbus Installation and Deployment Guide. The following example summarizes the procedure for encrypting the password:
- Use nco_keygen to create a key file; for example:
$NCHOME/omnibus/bin/nco_keygen -o $NCHOME/omnibus/probes/key_file - Set the value of the probe's ConfigKeyFile property
to the file path of the key file; for example:
ConfigKeyFile: "$NCHOME/omnibus/probes/key_file" - Set the value of the probe's ConfigCryptoAlg property
to
AES:ConfigCryptoAlg: "AES" - Use nco_aes_crypt to encrypt the password;
for example:
$NCHOME/omnibus/bin/nco_aes_crypt -c AES -k key_file password - Set the value of the probe's NNMPassword property
to the encrypted string generated by nco_aes_crypt;
for example:
Password: "@44:U/ccVZ0K+ftc7gZTV33Yx2fODe5v46RZzEbvqpE=@"