SNMP Agent Settings

SNMP Agent Settings

To control the settings of the SNMP agent, use the following values ​​of the querytype field:

  • getsnmp - get the parameters of the SNMP agent.

 

  • setsnmp - set SNMP agent parameters

    • enable - disable / enable SNMP protocol (0 / 1), disable by default;

    • ipv6 - disable / enable access via IPv6 protocol (0 / 1), disable by default, parameter is missing if IPv6 is not supported by the system;

    • version - protocol version, possible values:

      • '' v1 / v2c ';

      • 'v3';

    • rocommunity - community for reading (v1 / v2c);

    • rwcommunity - community for writing (v1 / v2c);

    • user - user name (v3);

    • level - security level (v3), possible values:

      • 'noauth' - without authorization and encryption;

      • 'auth' - only authorization;

      • 'priv' - authorization and encryption;

    • auth_type - type of authorization (v3), possible values:

      • 'MD5';

      • 'SHA';

    • auth_pass - authorization password (v3);

    • priv_type - type of encryption (v3), possible values:

      • 'DES';

      • 'AES'

    • priv_pass - encryption password (v3);

After you set the parameters, you do not need to reboot the system. Only the snmpd service is automatically rebooted and the changes take effect.