Shunze ¾Ç¶é >¸ê°T³]³Æ±M°Ï >Extreme & Enterasys > ¡m¤À¨É¡n©óNetSight¤¤¦Û­qTrap Alarm «¢Åo¡AÁÙ¨S¦³µù¥U©ÎªÌµn¤J¡C½Ð§A[µù¥U|µn¤J]
« ¤W¤@½g¥DÃD ¤U¤@½g¥DÃD » Åã¥Ü¦¨¦C¦L¼Ò¦¡ | ¼W¥[¨ì§Úªº³Ì·R
µoªí·s¥DÃD µoªí¦^ÂÐ
§@ªÌ
¥DÃD
shunze
¤u¤Í§B§B


µù¥U¤é´Á: 2002 04
¨Ó¦Û: ¼é¦Á²×¤î¤§¦a
¤å³¹: 2380

shunze Â÷½u
¡m¤À¨É¡n©óNetSight¤¤¦Û­qTrap Alarm¤Þ¥Î¦^ÂÐ ½s¿è/§R°£¤å³¹ ·j´M¥Ñ  µoªíªº¨ä¥L¤å³¹ ¦^³øµ¹ª©¥D IP ¦ì¸m ¦^¦¹­¶³Ì¤W¤è

NetSight¬O¤@­ÓºôºÞ³nÅé¡A¨t²Î¤w¹w³]¤F¦h²ÕAlarm Event¨Ñ¨Ï¥ÎªÌ¿ï¥Î¡C
¦ý­Y»Ý­nªº¨Æ¥ó¤£¦b¹w³]¶µ¥Ø¤¤¡A¦p¦ó¨Ì¾Ú»Ý¨D¨Ó·s¼WTrap Event¡H½Ð¬Ý¥H¤U½d¨Ò¡C

¥H·s¼WExtreme XOS¥Î¨Ó°»´ú»P¨¾Å@Loopªº¾÷¨îELRP¬°¨Ò¡A
¸g¬d¨äTrapªºOID­È¬° .1.3.6.1.4.1.1916.4.6.0.1¡C

§Ú­Ì³z¹L½s¿èNetSightªºtrapd.conf¨Ó·s¼W¦¹Trap¡AÅýNetSightªºtrap¶µ¥Ø¤¤¯à¥X²{ELRP¨Æ¥ó¡C
trapd.confªº¸ô®|¦p¤U¡C

/usr/local/Extreme_Networks/NetSight/services/trapd.conf


trapd.confªº³]©w»¡©ú©ó¸ÓÀɪº³Ì«e­±¡C
#####################################################################
# Note: Syslog severity is mapped to NetSight Severity map.
#
#    Trapd.conf (Syslog)    NetSight (Translation)
#    ------------------    ---------------------------
#    "Warning"        SEV_NOTICE(5) "Notice"
#    "Minor"        SEV_WARNING(4) "Warning"
#    "Major"        SEV_ERROR(3) "Error"
#    "Critical"        SEV_CRITICAL(2) "Critical"
#    "normal"        SEV_INFO(6) "Information"
#
# "anything not above" SEV_INFO "Information"
###################################################################### ...
# ...
# Event Definitions
#
# Syntax:
# EVENT event_name event_OID category severity
# FORMAT format_string
# SDESC
# Description text
# EDESC
######################################################################

¨Ì¾Ú¦¹¾É¤Þ»¡©ú¡A¦Û¦æ¼W¥[ELRPªºTrap Event©óÀɮתº³Ì«á¡C
EVENT extremeElrpVlanLoopDetected .1.3.6.1.4.1.1916.4.6.0.1 "Status Alarms" Critical
FORMAT Loop Detected, Loop Detected on VLAN $1
SDESC
There is a loop detected on the network
EDESC


±µµÛ­«±ÒNetSightªA°È¡C
/usr/local/Extreme_Networks/NetSight/scripts/stopserver.sh
/usr/local/Extreme_Networks/NetSight/scripts/startserver.sh


­«±ÒNetSightªA°È«á¡A¦^¨ìNetSightªºAlarm Manager¨Ó·s¼W¤@µ§ELRPªºalarm¡C







¥Ñ©ó§Ú­Ì¦btrapd.confùؤw·s¼W¤FELRPªºEVENT¡A©Ò¥H¦bTrap Selection¥X²{¤FELRP¥i¨Ñ¿ï¾Ü¡C



·s¼W¦nELRP event«á¡A½T»{¤@¤U¸Óalarm¬O§_±Ò¥Î¡AµM«á«ö¤U®M¥Î¡C



·íµM«áÄòªºemail³qª¾¡A©Î¬O°e¨ìsyslog server¶i¦æ°O¿ý¡A³o¨Ç½Ð¨Ì¾Ú¹ê»Ú»Ý¨D¨Ó®M¥Î¡C



³]©w§¹¦¨«á¡A·íSwitch¤W²£¥Í°j°é¡AIJµoloop detect¨Æ¥ó«á¡ANetSight¤Wªºtrap´N·|¦¬¨ì³qª¾¡C



·íµM­Y¦³³]©wemail³qª¾¡Aemail¤]·|¦¬¨ì³qª¾«H¡C



³z¹LTrap¨Ó¦Û­qalarm event¨ì³oùØ´Nºâ§¹¦¨Åo¡ã


°Ñ¦Ò¸ê®Æ
Adding ELRP Trap to NetSight 6.1 Alarm Manager



♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã

If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!




2015-02-03, 11:33 shunze ªº­Ó¤H¸ê®Æ §â shunze ¥[¤J¦n¤Í¦Cªí µo°eEmailµ¹ shunze ÂsÄý shunze ªººô¯¸ MSN : shunze@gmail.com
  « ¤W¤@½g¥DÃD ¤U¤@½g¥DÃD »
µoªí·s¥DÃD µoªí¦^ÂÐ
¸õ¨ì:

Powered by: Burning Board 1.1.1 2001 WoltLab GbR