NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
tonynsx
Sep 02, 2021Luminary
SNMP email alert
I would like to setup email alerts on my switches. I don't have Insight. Is this possible with SNMP? I'm not too familiar with SNMP. These are the types of switches I'm using. I would like to setup email alerts when a port goes down etc.
S3300-52X-PoE+ ProSAFE 48-Port Gigabit Stackable Smart Switch with PoE+ and 4 10G uplinks
GS324T S350 Series 24-Port Gigabit Ethernet Smart Managed Pro Switch with 2 SFP Ports
Hello tonynsx
SNMP does not send email notifications for the obvious reasons on it's own.An SNMP management system is the "API" of choice for a lot of networking equipment. You can operate an SNMP-Trap receiver (the switch SNMP system requires one or multiple IP addresses configured), can poll whatever information available from a switch - and then of course this system can create and sent whatever kind of alerts, operational changes of interest, push messages, and much more. Build your own (for the sake of it in Python) SNMP system, or look into Open Source or commercial offerings. If one desperately want - create output by email.
Heavily polling a switch - by whatever method - can have an impact on the operations.
In my opinion, directly polling a Web UI by whatever programming the wrong way. SNMP is much more powerful for almost every purpose. Adding more APIs to switches will add load to a management core which is not intended to handle even more load.
Netgear started the support of a REST API for configuring, monitoring or troubleshooting for the M4300 Series as of firmware version 12.0.11.18. Details are available on demand (talk to OOM-9 or LaurentMa by PM) via a limited access section here on the community if you are interested.
Regards,
-Kurt
6 Replies
- tonynsxLuminary
I'm familiar with Python, does Netgear have any Python or API I could use if email alert is not an option?
- tonynsxLuminary
After searching online I didn't find any API or Python packages for Netgear. Since I'm familiar with Python, I can do this myself, but my question is if I keep requesting info from the switch (I have almost 20), would that be like a DoS attack? Would it affect the switch performance?
- schumakuGuru - Experienced User
Hello tonynsx
SNMP does not send email notifications for the obvious reasons on it's own.An SNMP management system is the "API" of choice for a lot of networking equipment. You can operate an SNMP-Trap receiver (the switch SNMP system requires one or multiple IP addresses configured), can poll whatever information available from a switch - and then of course this system can create and sent whatever kind of alerts, operational changes of interest, push messages, and much more. Build your own (for the sake of it in Python) SNMP system, or look into Open Source or commercial offerings. If one desperately want - create output by email.
Heavily polling a switch - by whatever method - can have an impact on the operations.
In my opinion, directly polling a Web UI by whatever programming the wrong way. SNMP is much more powerful for almost every purpose. Adding more APIs to switches will add load to a management core which is not intended to handle even more load.
Netgear started the support of a REST API for configuring, monitoring or troubleshooting for the M4300 Series as of firmware version 12.0.11.18. Details are available on demand (talk to OOM-9 or LaurentMa by PM) via a limited access section here on the community if you are interested.
Regards,
-Kurt
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!