File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ title : Audits by satellite
3+ docId : 83d85755-010d-4ace-9b44-5ff5df4097a3
4+ metadata :
5+ title : Audits by satellite
6+ description : Do you want to know the audit statistics by satellite for your node? Here is the script to find out!
7+ redirects :
8+ - /hc/en-us/articles/360030997132-Audits-by-satellite
9+ - /hc/en-us/articles/360030997132
10+ ---
11+ ## Docker version (bash)
12+ ``` shell
13+ for sat in ` docker exec -i storagenode wget -qO - localhost:14002/api/sno | jq .satellites[].id -r` ; do docker exec -i storagenode wget -qO - localhost:14002/api/sno/satellite/$sat | jq .id,.audits; done
14+ ```
15+
16+ ## Docker version (Powershell)
17+ ``` powershell
18+ (docker exec -i storagenode wget -qO - localhost:14002/api/sno | ConvertFrom-Json).satellites.id | %{"$_"; (docker exec -i storagenode wget -qO - localhost:14002/api/sno/satellite/$_ | ConvertFrom-Json).audits}
19+ ```
20+
21+ ## Dashboard is port mapped (bash)
22+ ``` shell
23+ for sat in ` wget -qO - localhost:14002/api/sno | jq .satellites[].id -r` ; do wget -qO - localhost:14002/api/sno/satellite/$sat | jq .id,.audits; done
24+ ```
25+
26+ ## Dashboard is port mapped or Windows GUI (Powershell)
27+ ``` powershell
28+ ((curl http://127.0.0.1:14002/api/sno).Content | ConvertFrom-Json).satellites.id | %{"$_"; ((curl http://127.0.0.1:14002/api/sno/satellite/$_).Content | ConvertFrom-Json).audits}
29+ ```
Original file line number Diff line number Diff line change @@ -72,6 +72,8 @@ metadata:
7272
7373[ ] ( docId:p7qPegEKWZtjlC0fKCRB7 )
7474
75+ [ ] ( docId:83d85755-010d-4ace-9b44-5ff5df4097a3 )
76+
7577### Settings
7678
7779[ ] ( docId:NX30Zzpr870-px_UDpHvu )
You can’t perform that action at this time.
0 commit comments