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 se...
- Sep 03, 2021
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
tonynsx
Sep 02, 2021Luminary
I'm familiar with Python, does Netgear have any Python or API I could use if email alert is not an option?
tonynsx
Sep 02, 2021Luminary
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?
- schumakuSep 03, 2021Guru - 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
- LaurentMaSep 03, 2021NETGEAR Expert
HI tonynsx ,
Sure I got your PM and I'll work with you to grant you access to our M4300 RestAPI.
Also, you can use our NMS300 management software (www.netgear.com/nms300 and download section here) to monitor the M4300 switches - NMS300 can send emails to you as well based on the types of alerts, traps or logs you are looking for.
NMS300 is an SNMP tool, so all switches need to point to the NMS300 server (with the SNMP public and private community credentials of your choice). Before discovering the switches in NMS300 the first time, you just need to configure the credentials profile to use (M4300's need telnet credentials and SNMP credentials, at the minimum). NMS300 user manual is here.
The RestAPI is different (API get and set commands) but we have commands for monitoring for sure.
Regards,
Related Content
NETGEAR Academy

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