summaryrefslogtreecommitdiffstats
path: root/plugins/check_dbi.c
diff options
context:
space:
mode:
authorSebastian Harl <sh@teamix.net>2012-06-06 13:06:44 (GMT)
committerSebastian Harl <sh@teamix.net>2012-06-06 13:06:44 (GMT)
commitce75adf2872ef973d86cfaf36fcc0f717a7af66b (patch)
tree3a3998ccc9ed0dff29fbac9fc57771016f173943 /plugins/check_dbi.c
parent022ba7ea3abbc56f70c3310ae85278c5b8da40ac (diff)
downloadmonitoring-plugins-ce75adf2872ef973d86cfaf36fcc0f717a7af66b.tar.gz
check_dbi: Hint the user about cause when dbi init fails.
Diffstat (limited to 'plugins/check_dbi.c')
-rw-r--r--plugins/check_dbi.c2
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)
141 printf ("Initializing DBI\n"); 141 printf ("Initializing DBI\n");
142 142
143 if (dbi_initialize (NULL) < 0) { 143 if (dbi_initialize (NULL) < 0) {
144 printf ("UNKNOWN - failed to initialize DBI.\n"); 144 printf ("UNKNOWN - failed to initialize DBI; possibly you don't have any drivers installed.\n");
145 return STATE_UNKNOWN; 145 return STATE_UNKNOWN;
146 } 146 }
147 147