Skip to content

Commit

Permalink
Removed the name of the metric if warn or critical
Browse files Browse the repository at this point in the history
  • Loading branch information
Yornik Heyl committed Jan 17, 2018
1 parent a28a9f1 commit 5a93171
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ check_rabbitmq-sync.rb 1.0
check_zmstatus.pl 1.0
check_ssl-cert 1.0
check_topology-latency.rb 1.0
check_graphite-metric 1.1
check_graphite-metric 1.2
check_oom-killer.rb 0.1.2
check_bgp 1.1

Expand Down
2 changes: 1 addition & 1 deletion check_graphite-metric
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ else
fi
fi
[ $METRIC_STATUS -gt $EXIT_NAGIOS_STATUS ] && EXIT_NAGIOS_STATUS=$METRIC_STATUS
[ "${QUIET_OUTPUT}" != 1 ] || [ $METRIC_STATUS -gt 0 ] && CHECK_OUTPUT="${CHECK_OUTPUT}${METRIC}=${RES_VALUES[$METRIC]}; "
[ "${QUIET_OUTPUT}" != 1 ] || [ $METRIC_STATUS -gt 0 ] && CHECK_OUTPUT="${CHECK_OUTPUT}=${RES_VALUES[$METRIC]}; "
done
fi

Expand Down

0 comments on commit 5a93171

Please sign in to comment.