Skip to content

Commit

Permalink
Merge pull request #50 from Yornik/master
Browse files Browse the repository at this point in the history
Removed the name of the metric if exit status is warn or critical.
  • Loading branch information
attachmentgenie authored Jan 17, 2018
2 parents 22b87d8 + 5a93171 commit 391da25
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 391da25

Please sign in to comment.