Skip to content

Commit

Permalink
Add documentation for check_host_regex
Browse files Browse the repository at this point in the history
  • Loading branch information
vvuksan committed Sep 5, 2012
1 parent 73c9af7 commit 9db72bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nagios/check_host_regex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ then
CHECK_ARGS=${CHECK_ARGS}"&"${ARG}
done
else
echo "Sample invocation $0 hreg=web|apache checks=load_one,more,1:load_five,more,2"
echo "Sample invocation $0 hreg=web|apache checks=load_one,more,1:load_five,more,2 ignore_unknowns=0"
echo " Set ignore_unknowns=1 if you want to ignore hosts that don't posses a particular metric."
echo " This is useful if you want to use a catchall regex e.g. .* however some hosts lack a metric"
exit 1
fi

Expand Down

0 comments on commit 9db72bb

Please sign in to comment.