S o n o m a U s e r M a n u a l
50
C H A P T E R S I X
51
S o n o m a U s e r M a n u a l
S I M P L E N E T W O R K M A N A G E M E N T P R O T O C O L ( S N M P )
munity and “endrun_1” for the read-write community. This is all that is required for operation under
v1 and v2c of SNMP.
Change Default Community Strings (Passwords)
You can, and should, change the default community names by editing
/etc/snmpd.conf
and modifying
these two lines:
rwcommunity endrun_1
rocommunity Sonoma
Configuring SNMPv1
Trap Generation
To have your Sonoma send SNMPv1 traps (RFC-1215) you must configure the community and desti-
nation for SNMPv1 traps by uncommenting and editing this line in
/etc/snmpd.conf
:
trapsink xxx.xxx.xxx.xxx trapcommunity trapport
where
trapcommunity
should be replaced by your community, and
xxx.xxx.xxx.xxx
is the IP
address or hostname of the destination host for receiving the traps generated by the Sonoma. By de-
fault, the trap will be sent to port 162. You may optionally add another parameter,
trapport
to the
end of the above line to override the default port setting. Otherwise leave it blank.
Note: Though the agent will recognize multiple
trapsink
lines within
/etc/snmpd.conf
and send the
generic SNMP coldStart or authenticationFailure traps to multiple destinations, the Sonoma enter-
prise MIB trap generation mechanism will only send a trap to the last declared
trapsink
in the file.
Configuring SNMPv2c
Notifications and Informs
To have your Sonoma send SNMPv2c notifications (SMIv2, RFC-2578) or informs, you must con-
figure the communities and destinations by uncommenting and editing one or both of these lines in
/etc/snmpd.conf
:
trap2sink xxx.xxx.xxx.xxx trap2community trap2port
informsink xxx.xxx.xxx.xxx informcommunity informport
where
trap2community
and
informcommunity
should be replaced by your communities, and
xxx.xxx.xxx.xxx
is the IP address or hostname of the destination host for receiving the notifica-
tions or informs generated by the Sonoma. By default, the v2c trap or inform will be sent to port 162.
You may optionally add another parameter,
trap2port
or
informport
to the ends of the above
lines to override the default port setting. Otherwise leave it blank.
Note: Though the
snmpd
agent will recognize multiple
trap2sink
or
informsink
lines within
/etc/snmpd.conf
and send the generic SNMP coldStart or authenticationFailure notifications and
informs to multiple destinations, the Sonoma enterprise MIB notification/inform generation mecha-
nism will only send a notification to the last declared
trap2sink,
and an inform to the last declared
informsink
in the file.
Содержание Sonoma N12
Страница 2: ......
Страница 16: ...S o n o m a U s e r M a n u a l This page intentionally left blank...
Страница 20: ...S o n o m a U s e r M a n u a l 4 C H A P T E R O N E This page intentionally left blank...
Страница 32: ...S o n o m a U s e r M a n u a l 16 C H A P T E R T W O This page intentionally left blank...
Страница 48: ...S o n o m a U s e r M a n u a l 32 C H A P T E R T H R E E This page intentionally left blank...
Страница 70: ...S o n o m a U s e r M a n u a l 54 C H A P T E R S I X This page intentionally left blank...
Страница 82: ...S o n o m a U s e r M a n u a l 66 C H A P T E R S E V E N This page intentionally left blank...
Страница 122: ...S o n o m a U s e r M a n u a l 106 A P P E N D I X A This page intentionally left blank...
Страница 156: ...S o n o m a U s e r M a n u a l 140 A P P E N D I X E...
Страница 158: ...S o n o m a U s e r M a n u a l 142 A P P E N D I X F This page intentionally left blank...
Страница 168: ...S o n o m a U s e r M a n u a l 152 A P P E N D I X H...
Страница 169: ...153 S o n o m a U s e r M a n u a l S P E C I F I C AT I O N S...
Страница 170: ...S o n o m a U s e r M a n u a l 154 A P P E N D I X H This page intentionally left blank...
Страница 172: ...S o n o m a U s e r M a n u a l 156 S P E C I A L M O D I F I C AT I O N S This page intentionally left blank...
Страница 173: ......