snmpd.conf.4 (2010 09)

s
snmpd.conf(4) snmpd.conf(4)
snmpTargetAddrMMS is Maximum Message Size that can be transmitted between local host
and host with address snmpTargetAddrTAddress without fragmentation.
Default size is 2048.
When the TAG is
snmpNotifyEntry
, the format of the VALUE clause is as follows:
snmpNotifyName snmpNotifyTag snmpNotifyType snmpNotifyStorageType
where:
snmpNotifyName is the ASCII text representing the name of notification.
snmpNotifyTag is the ASCII string used to select entries in
snmpTargetAddrTable
.
snmpNotifyType is "1" for traps or "2" for informs.
snmpNotifyStorageType is
nonVolatile, permanent
,orreadOnly.
When the TAG is
snmpTargetParamsEntry
, the format of the VALUE clause is as follows:
snmpTargetParamsName snmpTargetParamsMPModel
snmpTargetParamsSecurityModel snmpTargetParamsSecurityName
snmpTargetParamsSecurityLevel snmpTargetParamsStorageType
where:
snmpTargetParamsName is the ASCII text representing the name of the parameter.
snmpTargetParamsMPModel
is
0 for SNMPv1, 1 for SNMPv2c,
3 for SNMPv3. This field in combina-
tion with snmpTargetParamsSecurityModel defines the type of
notifications to be sent.
snmpTargetParamsSecurityModel
is
snmpv1 for SNMPv1, snmpv2c for SNMPv2c,
snmpv2s for
SNMPv2*, or
usm for SNMPv3. This field in combination with snmpTar-
getParamsMPModel defines the type of notifications to be sent.
snmpTargetParamsSecurityName
is the ASCII string which is ’principal’ (SNMPv3 user or
SNMPv1/SNMPv2 community string), to be used for notifications.
snmpTargetParamsSecurityLevel
is the security level of the notifications to be sent. Only supported value
is
noAuthNoPriv.
snmpTargetParamsStorageType
is
nonVolatile, permanent,orreadOnly.
EXAMPLES
Separate the fields by blanks or tabs. A
# character indicates the beginning of a comment; characters
from the # character to the end of the line are ignored.
Each line in the following example
snmpd.conf file is preceded by a comment (beginning with #) that
explains the entry.
# Restrict the agent to responding only to
# SNMP GetRequests that have the
# community name "secret"
get-community-name: secret
# Allow the agent to respond to SNMP Get and SetRequests with
# either the community name "private" or "secret"
set-community-name: private
set-community-name: secret
# Allow the agent to respond to SNMP Get and SetRequests
# that have the community name "private"
set-community-name: private
# Send traps to system 15.2.113.233
trap-dest: 15.2.113.233
# Specify the agent is located on the first floor
# near the mens room
4 Hewlett-Packard Company 4 HP-UX 11i Version 3: September 2010