Qnap is an IT manufacturer based in Taiwan and specialising in network storage solutions for home and business (NAS and SAN). In this article, we'll look at how to enable and configure the SNMP service on their NAS.
Open your browser and in the address bar, enter the IP address of your Qnap and press “enter”. Once connected, you should see this:
Then click on “Control Panel”. The configuration window appears. Click on “SNMP” in the “Network Service” section.
Tick the “Enable SNMP service” box. Leave the version in V1/V2 and change the SNMP community if you wish. Click “Apply” to confirm the changes. Leaving the default options, this is what you see:
QNAPs NAS may show a DoS detection error message in the system logs (“[SNMP] DoS detected”). This results in an unknown in ESIA products.
You therefore need to increase or stop this detection. To do this, connect to ssh/shell on your QNAP. Then type the following commands:
setcfg SNMP EnableDetectDDoS FALSE
Or to increase the number of packets per second (the default is 300).
setcfg SNMP MaxPacketPerSecond XXX
After making these changes, don't forget to restart the SNMP service.
/etc/init.d/snmp restart
Original link https://www.qnap.com/en-us/how-to/knowledge-base/article/what-is-snmp-dos-detected-system-log-message
Once the SNMP service has been activated, it is possible to retrieve: the general status via the GESA_SNMP_QNAP_HEALTH service (more information)
Storage space via the GESA_SNMP_QNAP_STORAGE service (more information at)
CPU load via the GESA_SNMP_LOAD service (more information at)
RAM usage via the GESA_SNMP_LINUX_STORAGE service (more information)
Please note that you need to modify the service parameter: The original parameters :
-H $NRPE_HOST -p 5666 -u -t 50 -c check_snmp_storage -a $IP $SNMP_COM "^/$" 80 90
becomes :
<HTML> <pre class=“code”> -H $NRPE_HOST -p 5666 -u -t 50 -c check_snmp_storage -a $IP $SNMP_COM “<strong>^Physical memory$</strong>” 96 98 </pre> </HTML>
Interface bandwidth via the GESA_SNMP_INTERFACE_EASY service (more information)
Network latency via the GESA_ICMP service (more information)
And many other tests depending on the use of your NAS (Web server, camera, etc).
For more information on Qnap NAS : See Qnap support.