Skip to content

Commit 4b211d2

Browse files
added Audits by satellite (#473)
1 parent 51bea92 commit 4b211d2

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
```

app/(docs)/node/faq/page.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)