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:
@ -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
|
||||||
|
1
snap/hooks/configure
vendored
1
snap/hooks/configure
vendored
@ -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
|
||||||
|
0
snap/snapcraft.yaml
Executable file → Normal file
0
snap/snapcraft.yaml
Executable file → Normal file
Reference in New Issue
Block a user