Creating SNMP target profiles

Last Updated : Sep 19, 2024 |

Procedure

  1. Log in to System Manager as a cust user, then log in as a root user using the command su -root.
  2. At the prompt, type sh createSnmpTargetProfiles.sh -n <Target profile name> -i <IP address> -p <Port number> -v <SNMP version> -u <username of existing user> -c <community string> -t <Inform/Trap> [-d <Description>] to run the command and press Enter.
    • -n: Name of the target profile as seen on SMGR UI.

    • -i: Target IP address should be only IPV4.

    • -p: Target port number.

    • -v: SNMP version V2 or V3 (values can be 2 or 3).

    • -u: existing SNMP V3 username that is applicable only when the SNMP version(-v) is 3.

    • -c: SNMPv2 community string that is applicable only when the SNMP version(-v) is 2.

    • -t: Type (values can be Trap or Inform).

    • -d: [Optional] User comment that describes the target profile. This is optional.

    • -h: Provides help for CLI.

    • -l: Lists available V2/V3 target profiles.