SNMP
SNMP is configured by manually editing the file /etc/snmp/snmpd.conf
command parameter Description Values
snmp
-s
Sets the single-quoted ‘configuration_line’ string into the configuration. The
associated line is either added or modified if already existing.
The line must NOT contain single-quote characters.
See “Supported
SNMP settings”
-d
Deletes the specified item (Unique ID, see -i) where ID is of the form CLASS.id
as displayed by the -i listing (eg: snmp -d ACCESS@RWGroup/usm/authPriv)
or an administration command (Great care shall be exercised in using such
commands).
Prepares a new configuration from scratch
Copies the current configuration to a new configuration
-L
Adds the single-quoted ‘configuration_line’ to the new configuration. The line
must be valid, as it is not checked prior to being inserted in the new
configuration... The line must NOT contain single-quote characters.
-A
Applies the new configuration after editing the config file (restarts the snmp
service)
SNMP Setting Details
Use the
snmp -s <setting> command to get more information about the given
setting.
Supported SNMP Settings
The following configuration items are currently supported (parsed):
• access
• agentAddress
• agentGroup
• agentSecName
• agentuser
• com2sec
• createUser
• disk
• engineID
• engineIDType