Hello
I just found a typo in examples/nagios/check_bacula/check_bacula.c
Instead of usage: [...] "-N" name [...]
it should read [...] "-M" name [...]
The patch is attached.
best regards,
Philipp
--
Philipp Storz [email protected]
dass IT GmbH Phone: +49.221.3565666-92
http://www.dass-IT.de/ Fax : +49.221.3565666-10
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRB52500
GF: Stephan Dühr, Maik Außendorf, Jörg Steffens, Philipp Storz
diff --git a/bacula/examples/nagios/check_bacula/check_bacula.c b/bacula/examples/nagios/check_bacula/check_bacula.c
index 872d31d..5aef162 100644
--- a/bacula/examples/nagios/check_bacula/check_bacula.c
+++ b/bacula/examples/nagios/check_bacula/check_bacula.c
@@ -59,7 +59,7 @@ static void usage()
"Copyright (C) 2005 Christian Masopust\n"
"Written by Christian Masopust (2005)\n"
"\nVersion: " VERSION " (" BDATE ") %s %s %s\n\n"
-"Usage: check_bacula [-d debug_level] -H host -D daemon -N name -P port\n"
+"Usage: check_bacula [-d debug_level] -H host -D daemon -M name -P port\n"
" -H <host> hostname where daemon runs\n"
" -D <daemon> which daemon to check: dir|sd|fd\n"
" -M <name> name of monitor (as in bacula-*.conf)\n"
------------------------------------------------------------------------------
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel