Commit 9ca2ed8
committed
antennine.org: an-metrics: add coreutils-base64 as dependency
- Currently wget/uclient-fetch seems unable to authenticate against an nginx's auth_basic
when doing POST requests.
As a workaround for now, add the token generation in the script /usr/bin/prometheus-push
- post wan_ipv4 only if differs from lan_ipv4
- move the label domain at the beginning after job, to ease any further segmentation1 parent 4ac91f1 commit 9ca2ed8
2 files changed
Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
19 | 24 | | |
20 | 25 | | |
0 commit comments