From ce75adf2872ef973d86cfaf36fcc0f717a7af66b Mon Sep 17 00:00:00 2001
From: Sebastian Harl <sh@teamix.net>
Date: Wed, 6 Jun 2012 15:06:44 +0200
Subject: check_dbi: Hint the user about cause when dbi init fails.


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;
 	}
 
-- 
cgit v0.10-9-g596f

