スレッシュホールドを設定してsnmp trap
EdgeOS
transceiver-monitor
transceiver-threshold current {high-alarm | high-warning | low-alarm |
low-warning} threshold-value
Console#show interfaces transceiver ethernet 1/54 Information of Eth 1/54 Connector Type : No Separable Connector Fiber Type : Multimode Mode 40G Eth Compliance : 40GBASE-CR4 Baud Rate : 0 MBd Vendor OUI : 41-50-48 Vendor Name : Amphenol Vendor PN : 603020007 Vendor Rev : A Vendor SN : APF12150073U30 Date Code : 12-04-21 DDM Information Temperature : 1.50 degree C Vcc : 0.00 V Bias Current(ch 1) : 0.00 mA Bias Current(ch 2) : 0.00 mA Bias Current(ch 3) : 0.00 mA Bias Current(ch 4) : 0.00 mA RX Power(ch1) : -40.00 dBm RX Power(ch2) : -40.00 dBm RX Power(ch3) : -40.00 dBm RX Power(ch4) : -40.00 dBm DDM Thresholds Low Alarm Low Warning High Warning High Alarm ----------- ------------ ------------ ------------ ----------- Temperature(Celsius) 35.03 0.00 0.00 13.00 Voltage(Volts) 0.20 2.88 1.67 0.00 Current(mA) 5.15 36.01 0.00 33.34 RxPower(dBm) -0.85 -0.85 -0.85 1.50 Console#
private MIBでレベルを所得
CISCO-OPTICAL-MONITOR-MIB
SNMP Polling of optical budget (dbm)
CISCO-ENTITY-SENSOR-MIB
https://community.cisco.com/t5/xr-os-and-platforms/snmp-polling-of-optical-budget-dbm/td-p/2735006
ARISTA
https://eos.arista.com/forum/mibs-for-transciever-information/
brocade
snIfOpticalLaneMonitoringTable
brcdIp.1.1.3.3.10
EdgeCore / Accton
{iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) 259}
entitySensorMIB
標準MIBで光の受信レベルが所得出来る実装があるらしい。
snmpモニタリングツール
継続的なデータ蓄積が大事なので、何らかのサーバー上でデータを収集しそれをグラフ化する方が実務的には便利だが、試験などで簡易的に表示できるツールをさがしてみた。
https://www.plixer.com/blog/webnm/free-snmp-graphing-tool-available-in-flowalyzer-v2-0/
"trender"で簡単にグラフがプロットできるがちょっと地味。
flowのコレクター機能もある。
商用の無料評価版重め
https://www.manageengine.jp/products/OpManager/
PRTG
http://www.ireasoning.com/mibbrowser.shtml
iPad上のsnmpツール
MIB Browser Pro、840円。