Skip to content
Snippets Groups Projects
Commit d1676da2 authored by Mark Harrison's avatar Mark Harrison
Browse files

Integers are numeric too

(Reported by Bryan Horstmann-Allen)

git-svn-id: https://labs.omniti.com/resmon/trunk@429 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
parent cde36bfe
No related branches found
No related tags found
No related merge requests found
......@@ -323,7 +323,7 @@ eval {
# of some sort. If you're specifying a warning/critical threshold, then
# you are too.
die "Numeric threshold specified for a non-numeric metric"
if (($warning || $critical) && $type !~ /[0IlLn]/);
if (($warning || $critical) && $type !~ /[0IlLni]/);
if ($regex) {
if ($value =~ /$regex/) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment