Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Implement SNMP check #297 #309

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
[chores] Requested changes
purhan authored and Aryamanz29 committed May 18, 2022
commit 8abfc5b37eafabd8b7098363a7d874f767625b41
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -103,7 +103,7 @@ Available Features
* Extensible metrics and charts: it's possible to define new metrics and new charts
* API to retrieve the chart metrics and status information of each device
based on `NetJSON DeviceMonitoring <http://netjson.org/docs/what.html#devicemonitoring>`_
* Collection of monitoring information via `SNMP`_
* Collection of monitoring information via `SNMP <#snmp>`_

------------

@@ -1010,7 +1010,7 @@ created automatically for newly registered devices. It's enabled by default.
| **default**: | ``False`` |
+--------------+-------------+

Whether SNMP checks are created automatically for devices. The devices need to have an snmp daemon
Whether `SNMP <#snmp>`_ checks are created automatically for devices. The devices need to have an snmp daemon
installed in order for this check to work.

``OPENWISP_MONITORING_AUTO_CHARTS``
2 changes: 1 addition & 1 deletion openwisp_monitoring/check/base/models.py
Original file line number Diff line number Diff line change
@@ -124,7 +124,7 @@ def auto_config_check_receiver(sender, instance, created, **kwargs):

def auto_snmp_receiver(sender, instance, created, **kwargs):
"""
Implements OPENWISP_MONITORING_AUTO_DEVICE_SNMP_DEVICEMONITORING
Implements OPENWISP_MONITORING_AUTO_SNMP
The creation step is executed in the background
"""
# we need to skip this otherwise this task will be executed