diff options
author | Andy Lester | 2011-03-07 17:54:57 +0000 |
---|---|---|
committer | Andy Lester | 2011-03-07 17:54:57 +0000 |
commit | 5e70abb079048cd9be91a9fef020ae39f4ef3b29 (patch) | |
tree | fd70bf7810acf8736628c0052443c4c71196d78e /check_postgres.pl | |
parent | 351fb92242e9f272c66e9bb17248b2b546cad568 (diff) |
handle undef percents in check_fsm_relations
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-x | check_postgres.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index 9e9e31cde..ead4b8eb2 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -3878,7 +3878,7 @@ FROM (SELECT for $db (@{$info->{db}}) { for my $r (@{$db->{slurp}}) { - my ($max,$cur,$percent) = ($r->{maxx},$r->{cur},$r->{percent}); + my ($max,$cur,$percent) = ($r->{maxx},$r->{cur},$r->{percent}||0); $MRTG and do_mrtg({one => $percent, two => $cur}); |