My x440 switch port suddenly stop data flowing,how to get email alert of this kind port disble condition.
Is that a port that just went down or other kind of situation?
I can’t recall if the switch is capable to configure SMTP for any e-mail configuration without some additional process written in Python.
But what you can for sure, is to get some SNMP-capable management system (like XMC) that will read ifOperStatus from device MIB and it can be configured to throw an alarm and e-mail about port that went down. Plus, it will give you much more options regarding alarms and device management, plus in case of XMC some automation (scripts, workflows) and Extreme Access Control and… ;)
Setting an e-mail action for a port being down is pretty straightforward in XMC (https://emc.extremenetworks.com/content/oneview/docs/alarmsevents/docs/ov_ht_alarm_definitions.html), you just have to make sure SMTP details are provided in XMC Administration > Options section (optionally, this may come handy: https://gtacknowledge.extremenetworks.com/articles/How_To/000001549).
Hope that helps,
May be you can try this - https://github.com/extremenetworks/ExtremeScripting/tree/master/EXOS/Python/Email_event
Already have an account? Login
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.