Aryaman

Results 33 issues of Aryaman

- We need to configure celery beat for Iperf check so that it can be run at a scheduled time. - Using celery [crontab schedules](https://docs.celeryq.dev/en/latest/userguide/periodic-tasks.html#crontab-schedules) we can configure check task...

enhancement

Reported by @nemesisdesign in https://github.com/openwisp/openwisp-monitoring/pull/394#pullrequestreview-1031849801 ### **Error :** ```bash [2022-07-07 11:17:23,633: ERROR/ForkPoolWorker-1] Task openwisp_monitoring.check.tasks.perform_check[aabf00ea-3db9-4eaa-9076-8750eda2e7e3] raised unexpected: JSONDecodeError('Expecting value: line 2 column 1 (char 1)') Traceback (most recent call last): File...

bug

It must include :- - [ ] How to set up a new **Iperf server** (OpenWISP specific). - [ ] Step-by-Step instructions on how to configure and run this check....

documentation

Acc to @pandafy https://github.com/openwisp/openwisp-monitoring/pull/394#discussion_r905785454, Current Implementation of iperf check store `iperf_result` field to **0 or 1** depending upon whether check was successfully executed or not, It may be possible that...

Right now, **Iperf** `command` is hard coded inside `iperf.py`. We need to make it configurable. ```py if not device_connection: logger.warning(f'{device}: connection not properly set, Iperf skipped!') return else: device_connection.connect() servers...

enhancement

Reported by @pandafy in https://github.com/openwisp/openwisp-monitoring/pull/394#pullrequestreview-1013241686 - The database reports that `DeviceConnection` is working, but the **management tunnel goes down** just **before iperf check was executed**. The code should be able...

bug

- Iperf data extracted from **JSON outpu**t of executed command that run on devices. ```py # Example res_loads = json.loads(res) if mode is None: result = { # # 'host'...

enhancement

- If any failures or server down, We must handle that situation & may store some value to timeseries database, let say 0. - Using `exit_code` of executed commands on...

enhancement

Closes #374 https://user-images.githubusercontent.com/56113566/170691869-66b05a37-df95-43c4-bd78-a19c1d3a8e4e.mp4 ## GIF/Demo Checks: - [x] I have manually tested the proposed changes - [x] I have updated the documentation (e.g. README.rst)

enhancement

- **Create an Iperf check** class that uses the [connection module](https://github.com/openwisp/openwisp-controller/tree/master/openwisp_controller/connection) of [openwisp-controller](https://github.com/openwisp/openwisp-controller) to run the Iperf client on the device. - Initially, we can start with adding [auto_iperf_check_receiver](https://github.com/Aryamanz29/iperf3-example/blob/575129a95de3d125c748119010664f2f09d41307/openwisp-monitoring/openwisp_monitoring/check/base/models.py#L125), [auto_create_iperf_check](https://github.com/Aryamanz29/iperf3-example/blob/575129a95de3d125c748119010664f2f09d41307/openwisp-monitoring/openwisp_monitoring/check/tasks.py#L106)...

enhancement