projects
/
check_postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ad3f5f
)
Typo, thanks Rob.
author
Greg Sabino Mullane
<greg@endpoint.com>
Fri, 4 Apr 2008 21:35:07 +0000
(17:35 -0400)
committer
Greg Sabino Mullane
<greg@endpoint.com>
Fri, 4 Apr 2008 21:35:07 +0000
(17:35 -0400)
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index f03a31b5b928ad811104551044a9c08cee3e8832..7e0a33790564889ec8768e1e9ccf5043542189bd 100755
(executable)
--- a/
check_postgres.pl
+++ b/
check_postgres.pl
@@
-691,7
+691,7
@@
sub run_command {
}
push @args => '-p', $db->{port};
- if (defined $db->{pass}) {
+ if (defined $db->{
db
pass}) {
## Make a custom PGPASSFILE. Far better to simply use your own .pgpass of course
($passfh,$passfile) = tempfile('nagios.XXXXXXXX', SUFFIX => '.tmp', DIR => $tempdir);
$VERBOSE >= 3 and warn "Created temporary pgpass file $passfile\n";