IBM Tivoli Monitoring > Version 6.3 Fix Pack 2 > Administrator's Guide > Agent-based services > SNMP alerts > Trap configuration XML specification

IBM Tivoli Monitoring, Version 6.3 Fix Pack 2


SNMP PassKey encryption: itmpwdsnmp

Use the itmpwdsnmp CLI command to interactively encrypt a password or add it to the SNMP trap configuration XML file to encrypt all SNMP passwords.

The itmpwdsnmp uses GSKIT to either interactively encrypt a string or to encrypt all SNMP password strings in a trap configuration xml file.

itmpwdsnmp [[-b |-n ]your_agent_trapcnfg.xml][-?]

where:
no arguments specifies interactive mode
-b specifies to create a backup file. There is no prompting to delete the backup file.
-n specifies that no backup file is to be created.
your_agent_trapcnfg.xml is a trap configuration xml file that contains plaintext SNMP password strings.
-? displays usage

If a -b or -n backup option is not specified when encrypting a Trap Configuration xml file, you are prompted to delete the backup. The backup of the original input Trap Configuration xml file is created in the same directory as the original with a date and timestamp appended to the original file name.

install_dir\TMAITM6\itmpwdsnmp.bat
install_dir/bin/itmpwdsnmp

CLI examples

This command will interactively encrypt a string:

    itmpwdsnmp
    
    Enter string to be encrypted:
    ******** 
    Confirm string: 
    ********
    {AES256:keyfile:a}GbHOlF7KPYZS80Rripx4QQ==  

Then copy the encrypted string into the trap configuration file. This command encrypts all SNMP password strings in the trap configuration file and then removes the backup of the original file:

    itmpwdsnmp -n nt_trapcnfg.xml

Program Summary

  • Community strings encrypted 1

  • AuthPassKey strings encrypted 2

  • EncryptPassKey strings encrypted 1


Parent topic:

Trap configuration XML specification

Related reference:

Trap configuration XML specification
TrapDest element


+

Search Tips   |   Advanced Search