-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
[test] Lua tests for netjson monitoring #26
Conversation
ea55285
to
c157468
Compare
f1de4ff
to
e669d40
Compare
I split |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's some suggestions
5ac238f
to
395c251
Compare
d82df2d
to
d970635
Compare
c5cd17e
to
d34b474
Compare
Updating the base branch from |
d34b474
to
addc51f
Compare
6b0a9ce
to
cab1647
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ubus call iwinfo associlist '{"device": "<interface_name>"}
, for a mesh interface:
{
"results": [
{
"mac": "00:00:00:00:00:00",
"signal": -76,
"signal_avg": -76,
"noise": -87,
"inactive": 0,
"connected_time": 314439,
"thr": 148687,
"authorized": true,
"authenticated": true,
"preamble": "long",
"wme": true,
"mfp": true,
"tdls": false,
"mesh llid": 0,
"mesh plid": 0,
"mesh plink": "ESTAB",
"mesh local PS": "ACTIVE",
"mesh peer PS": "ACTIVE",
"mesh non-peer PS": "ACTIVE",
"rx": {
"drop_misc": 610279,
"packets": 40424675,
"bytes": 280218466,
"ht": false,
"vht": true,
"mhz": 80,
"rate": 195000,
"mcs": 1,
"nss": 3,
"short_gi": true
},
"tx": {
"failed": 2377,
"retries": 11358818,
"packets": 50325775,
"bytes": 124429140,
"ht": false,
"vht": true,
"mhz": 80,
"rate": 195000,
"mcs": 1,
"nss": 3,
"short_gi": true
}
}
]
}
{
"results": [
{
"mac": "00:00:00:00:00:00",
"signal": -67,
"signal_avg": -65,
"noise": 0,
"inactive": 6996,
"connected_time": 314507,
"thr": 4500,
"authorized": true,
"authenticated": true,
"preamble": "long",
"wme": true,
"mfp": true,
"tdls": false,
"mesh llid": 0,
"mesh plid": 0,
"mesh plink": "ESTAB",
"mesh local PS": "ACTIVE",
"mesh peer PS": "ACTIVE",
"mesh non-peer PS": "ACTIVE",
"rx": {
"drop_misc": 585666,
"packets": 5533127,
"bytes": 445412093,
"ht": true,
"vht": false,
"mhz": 20,
"rate": 6500,
"mcs": 0,
"40mhz": false,
"short_gi": false
},
"tx": {
"failed": 0,
"retries": 5,
"packets": 12,
"bytes": 1173,
"ht": true,
"vht": false,
"mhz": 20,
"rate": 6500,
"mcs": 0,
"40mhz": false,
"short_gi": false
}
}
]
}
8e003a7
to
70d360d
Compare
70d360d
to
7ded897
Compare
7ded897
to
371110d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@devkapilbansal some minor concerns below.
Also, please add the coveralls badge in the README.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested the docs and ran the tests, found the minor issues below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still can't get the deamon to work and I do not know what is going on.
Fri Jul 16 10:05:46 2021 daemon.info monitoring: OpenWISP monitoring daemon started
Fri Jul 16 10:06:12 2021 daemon.info procd: Instance openwisp_monitoring::openwisp_monitoring_monitoring s in a crash loop 6 crashes, 0 seconds since last crash
@devkapilbansal are you testing the build produced by this thing on OpenWRT?
Hi, I fixed this errors in #42 |
@devkapilbansal ok, please fix the minor issues pointed out at the docs so I can merge this. |
Hi @nemesisdesign, |
959f4ec
to
88d23f4
Compare
Closes #7