Configuring SNMPv2

To work with SNMPv2 in TOS Aurora:

  1. Set the community field to the value configured in TOS Aurora. The default is public.

  2. Enable port listening.

    SNMP get/walk requests must be sent to the Primary VIP via port 161. If you use an external IP/host, configure the SNMP to that IP/host. For security purposes, listening at port 161 is disabled by default.

  3. Add the TOS Aurora MIB file to your SNMP server.

Change the community field

  1. In your browser, go to: https://<TOS URL>/v2/monitor-tower/graphiql

    Example

  2. https://11.22.33.44/v2/monitor-tower/graphiql

    https://11.22.33.44/v2/monitor-tower/graphiql
                    

  3. Run the mutation editNotificationProtocolConfigurationand specify a new value.

    Example

    mutation{
    editNotificationProtocolConfiguration(input:{

    notificationProtocol:SNMPv2
    editSnmpV2ConfigInput:

    { community:"mycommunity" }
    }){
    resultStatus

    { successful }
    }
    }

Enable port listening

  • Run the following command:

  • [<ADMIN> ~]$ sudo tos config set -p snmp.inboundMonitoringEnabled=true -s monitor-tower
    sudo tos config set -p snmp.inboundMonitoringEnabled=true -s monitor-tower