Creating the SNMP configuration file

Last Updated : Nov 22, 2024 |
Prolog information
Create an SNMP configuration file /usr/local/ipcs/etc/snmp_config.ini with the following parameters:
  • ESXi Host IP Address: The IP address of the ESXi host.
  • Community Strings: The community string for each interface you want to monitor. For example, all data interfaces.
  • Interface Mappings: Mapping of guest (Avaya SBC) interfaces to host (ESXi) interfaces.
  • SNMP Options: Configuration details such as SNMP version, username, and password.
  1. Log in to the CLI as a root user.
  2. Generate the configuration file using the following command: /usr/local/ipcs/icu3/scripts/nic_link_status.py --generate-config.
    ADDITIONAL INFORMATION:
    When prompted, enter the required details. Following is an example:
    Enter the ESXi host IP address: 10.207.16.54
    Enter the number of interfaces: 2
    Enter the name of interface 1: A1
    Enter the community string for interface A1: sbcha
    Enter the corresponding interface name on ESXi for interface A1: vmnic0
    Enter the name of interface 2: B1
    Enter the community string for interface B1: sbcha
    Enter the corresponding interface name on ESXi for interface B1: vmnic1
    Enter SNMP version (e.g., 2, 3): 3
    Enter security level (e.g., authPriv, authNoPriv, noAuthNoPriv): authPriv
    Enter SNMP username: sbcuser
    Enter authentication protocol (e.g., SHA, MD5): SHA
    Enter authentication password: SIPera_123
    Enter privacy protocol (e.g., AES, DES): AES
    Enter privacy password: SIPera_123
    After successful creation of the configuration file, the script displays the following message:
    Successfully created configuration file
                  /usr/local/ipcs/etc/snmp_config.ini