Hi Arno, --- Arno Lehmann <[EMAIL PROTECTED]> a écrit :
> check_bacula is C code and requires bacula sources to be available > and > configured. I am lloking ito this code right now. > > To check the status of actual Bacula jobs, I used a Run After Job > script > in Bacula which reports job results as passive check results to > Nagios. I see! but I would like to have a process that runs outside of bacula and not be tied to it. One thing I thought was to replace the append entry in the Messages section in bacula-dir.conf in two ways: 1) replace the regular log file by a FIFO (pipe) append = "/var/bacula/logpipe" Instead of having a regular file /var/bacula/log we can have a pipe where bacula will be writing the logs and have a process reading from the pipe, sending a copy of all logs to syslogd and processing them to generate some useful information that could be reported, in real time, to a monitoring tool. 2) replace the regular log file by a script append = "|/var/bacula/procecsslogs.py" Every time bacula hase some logs, it will execute processlogs.py script and pipe the logs to it. This would require some modifications to bacula's code unless bacula is already capable of such a thing. But I still prefer something like check_bacula that talks directly to the deamons but a little more verbose and probably with more commands than just ".status dir current". Khalil FOUNDY __________________________________________________________ Lèche-vitrine ou lèche-écran ? magasinage.yahoo.ca ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users