I need to get information about sfp-tx-power and sfp-rx-power and put this in scritpt to send email and sms.
I need help, same basic script to get information from SFP module.
Code: Select all
/interface ethernet monitor sfp1
Code: Select all
# aug/24/2017 21:19:35 by RouterOS 6.40.1
#
#
name: sfp1
status: link-ok
auto-negotiation: done
rate: 1Gbps
full-duplex: yes
tx-flow-control: no
rx-flow-control: no
advertising:
link-partner-advertising:
sfp-module-present: yes
sfp-rx-loss: no
sfp-type: SFP-or-SFP+
sfp-connector-type: LC
sfp-link-length-9um: 10000m
sfp-link-length-50um: 550m
sfp-link-length-62um: 550m
sfp-vendor-name: SumitomoElectric
sfp-vendor-part-number: SCP6G44-H2-BWE
sfp-vendor-revision: A
sfp-vendor-serial: 01T4xxxxxxx
sfp-manufacturing-date: 10-01-12
sfp-wavelength: 1310nm
sfp-temperature: 47C
sfp-supply-voltage: 3.311V
sfp-tx-bias-current: 6mA
sfp-tx-power: -6.942dBm
sfp-rx-power: -18.987dBm
eeprom-checksum: good
Thanks for Help
Marcin