Fix snap configuration for netstat daemon (#1190)
- Also increased the frequency at which the stats are sent - Fixed file permissions for snapcraft.yaml
This commit is contained in:
parent
af3eb5a16c
commit
5d19b799af
|
@ -43,7 +43,7 @@ while true; do
|
||||||
|
|
||||||
echo "$report"
|
echo "$report"
|
||||||
./metrics-write-datapoint.sh "net-stats,hostname=$HOSTNAME $report"
|
./metrics-write-datapoint.sh "net-stats,hostname=$HOSTNAME $report"
|
||||||
sleep 60
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
@ -5,6 +5,7 @@ snapctl stop --disable solana.daemon-drone
|
||||||
snapctl stop --disable solana.daemon-leader
|
snapctl stop --disable solana.daemon-leader
|
||||||
snapctl stop --disable solana.daemon-validator
|
snapctl stop --disable solana.daemon-validator
|
||||||
snapctl stop --disable solana.daemon-oom-monitor
|
snapctl stop --disable solana.daemon-oom-monitor
|
||||||
|
snapctl stop --disable solana.daemon-net-stats
|
||||||
|
|
||||||
mode="$(snapctl get mode)"
|
mode="$(snapctl get mode)"
|
||||||
if [[ -z "$mode" ]]; then
|
if [[ -z "$mode" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue