Hi, 17.01.2008 00:48, jk04 wrote: > Hi Everyone, > > We have configured nagios to monitor our backup server's ports 9101, 9102 and > 9103. bacula has no problem with nagios checking status of the ports, but > keeps displaying an error message for port 9101: > > 17-Jan 10:14 bacula-dir: ERROR in authenticate.c:269 UA Hello from > client:192.168.0.58:36131 is invalid. Len=0 > > The IP address 192.168.0.58 belongs to our monitoring server running nagios > 2.10. > > Has anyone come across the same problem?
Yes. > We are using bacula 1.38.11-8 and on a debian 4 server. There are several solutions: - in your check_command, use a script that feeds bconsole with input like 'status client=...' and parse the output. This is complicaed because Nagios' macros don't necessarily map to the names you use in Bacula. - use check_bacula which is distributed with Bacula. It's a Nagios plugin which returns the correct exit code and one line of status text. Works great here :-) Getting this to compile can be a bit of work, though - there are probably helpful messages in this list's archives, and the -devel ones, too. (Use gmane for a reasonable list archive). Hope this helps, Arno > Regards, > Jamshid > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Bacula-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users
