[nagiosplug] check_dbi: Hint the user about cause when dbi ...
Nagios Plugin Development
nagios-plugins at users.sourceforge.net
Thu Jul 5 00:11:07 CEST 2012
Module: nagiosplug
Branch: master
Commit: ce75adf2872ef973d86cfaf36fcc0f717a7af66b
Author: Sebastian Harl <sh at teamix.net>
Date: Wed Jun 6 15:06:44 2012 +0200
URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=ce75adf
check_dbi: Hint the user about cause when dbi init fails.
---
plugins/check_dbi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/plugins/check_dbi.c b/plugins/check_dbi.c
index 03ec9ce..8c4a511 100644
--- a/plugins/check_dbi.c
+++ b/plugins/check_dbi.c
@@ -141,7 +141,7 @@ main (int argc, char **argv)
printf ("Initializing DBI\n");
if (dbi_initialize (NULL) < 0) {
- printf ("UNKNOWN - failed to initialize DBI.\n");
+ printf ("UNKNOWN - failed to initialize DBI; possibly you don't have any drivers installed.\n");
return STATE_UNKNOWN;
}
More information about the Commits
mailing list