summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index ef6dcacc8..4e6402e97 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -159,9 +159,9 @@ if ($OUTPUT ne 'nagios' and $OUTPUT ne 'mrtg' and $OUTPUT ne 'simple') {
die qq{Invalid output: must be 'nagios' or 'mrtg' or 'simple'\n};
}
-my $MRTG = ($OUTPUT eq 'mrtg' or $OUTPUT eq 'simple') ? 1 : 0;
-my (%stats, %statsmsg);
-my $SIMPLE = $OUTPUT eq 'simple' ? 1 : 0;
+our $MRTG = ($OUTPUT eq 'mrtg' or $OUTPUT eq 'simple') ? 1 : 0;
+our (%stats, %statsmsg);
+our $SIMPLE = $OUTPUT eq 'simple' ? 1 : 0;
## See if we need to invoke something based on our name
our $action = $opt{action} || '';