cancel
Showing results for 
Search instead for 
Did you mean: 

snmp traps / syslog message for optical values out normal range

snmp traps / syslog message for optical values out normal range

Peder_Bach
New Contributor
How can I get my XOS device to send snmp-trap or syslog message if the optical values are out of normal range?


show port 1:1 transceiver information

Port Temp TxPower RxPower TxBiasCurrent Voltage-Aux1/ Voltage-Aux2
(Celsius) (dBm) (dBm) (mA) Vcc (Volts) (Volts)
================================================================================
1:1 39.81 2.02 0.53* 8.86 3.31 N/A
================================================================================
N/A - parameter not applicable to transceiver connected to the port
* - value is out of normal range
-inf - negative infinity, parameter not defined
11 REPLIES 11

M_Nees
Contributor III
You can use a UPM Profile to generate a trap if DDMI warning message occurs.

Here is a example that shows the mechanism:

https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-send-an-SNMP-trap-based-on-a-log-message


Regards

EtherMAN
Contributor III
PLW_X670G2_Sugarland_Node.2 # sh vers
Switch : 800546-00-13 1744N-41391 Rev 13 BootROM: 1.0.2.1 IMG: 22.4.1.4
PSU-1 : Internal PSU-1 800463-00-07 1619W-80009 Rev 07
PSU-2 : Internal PSU-2 800463-00-07 1619W-80010 Rev 07

Image : ExtremeXOS version 22.4.1.4 22.4.1.4-patch1-2 by release-manager
on Thu Jan 18 08:49:53 EST 2018
BootROM : 1.0.2.1
Diagnostics : 5.12
Certified Version : EXOS Linux 3.18.48, FIPS fips-ecp-2.0.16

Peder_Bach
New Contributor
what XOS version are u running on the 670G2?
Any why have they mixed in the enterasys mib?

After my perception, Extreme have no ISP focus at the moment, there is just datacenter..

EtherMAN
Contributor III
Interesting discovery... My team just informed me there is a new trap being put out only by the 670G2 that is a low light level warning. Problem is that the switch is sending it out as a ENTERASYS-MIB-NAMES|etsysModuleName-5624-1-2.85.1.0.2... Since the snmp server associates the switch with a EXOS mib it does not know what to do .... Seems we are closer to getting info.

the switch is logging info too

08/09/2019 10:42:59.40 Port 24 RX Power Sensor=low warning Value= 0.44 mW

Now we just need to get the trap updated to be a EXOS trap and we would be one step closer.

EtherMAN
Contributor III
Yes ... the ability to pull this info just like you pull and chart any other port stats would be a plus. Anyone that exposes their snmp info or network management systems to outside parties or connections should have strict security policies in place not allowing just anyone to have access ...
GTM-P2G8KFN