diff options
-rw-r--r-- | bin/ncp/SYSTEM/metrics.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ncp/SYSTEM/metrics.sh b/bin/ncp/SYSTEM/metrics.sh index 6e2eb0c1..24963a85 100644 --- a/bin/ncp/SYSTEM/metrics.sh +++ b/bin/ncp/SYSTEM/metrics.sh @@ -1,8 +1,8 @@ #!/bin/bash is_active() { - systemctl is-active -q prometheus-node-exporter || return 0 - return 1 + systemctl is-active -q prometheus-node-exporter || return 1 + return 0 } tmpl_metrics_enabled() { |