File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ metrics_link=/p4/metrics
2121local_bin_dir=/usr/local/bin
2222
2323VER_NODE_EXPORTER=" 1.3.1"
24- VER_P4PROMETHEUS=" 0.9.7 "
24+ VER_P4PROMETHEUS=" 0.9.8 "
2525
2626# Default to amd but allow arm architecture
2727arch=" amd64"
@@ -498,12 +498,13 @@ install_monitor_locks () {
498498
499499 if [[ $UseSDP -eq 1 ]]; then
500500 service_args=" $SDP_INSTANCE "
501+ bin_dir=" /p4/common/site/bin"
501502 else
502503 service_args=" -p $P4PORT -u $P4USER -nosdp -m $metrics_root "
504+ bin_dir=" $local_bin_dir "
503505 fi
504506
505507 # We install in /p4/common/site/bin but need to reference the ultimate path without links for SELinux/systemd
506- bin_dir=" /p4/common/site/bin"
507508 abs_bin_dir=$( readlink -f " $bin_dir " )
508509 cd " $bin_dir " || bail " Failed to cd to $bin_dir "
509510 for scriptname in monitor_metrics.py monitor_wrapper.sh; do
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ metrics_link=/p4/metrics
1919local_bin_dir=/usr/local/bin
2020
2121VER_NODE_EXPORTER=" 1.3.1"
22- VER_P4PROMETHEUS=" 0.9.7 "
22+ VER_P4PROMETHEUS=" 0.9.8 "
2323
2424# Default to amd but allow arm architecture
2525arch=" amd64"
You can’t perform that action at this time.
0 commit comments