Hi.
Marcin Wasilewski wrote:
Hello,
I am using Bacula and I think about integrating it with Nagios. Is it possible for bacula to send trap after the backup is done? Anyone tried this?
Yup.
I have three things set up and tried, but currently Nagios is not working here due to some sort of problem nobody can do anything about :-(
First two things are "invented" by me:
1. Use RunAfterJob to notify a Nagios instance of a finished backup. I use a script that calls send-nsca with some parameters. This is some sort of a hack, though. This is trivial.
2. Use snmp from the monitoring server to verify baculas daemons are running. Simply a shell script as a wrapper around snmpwalk. The script is trivial, my thinking why I check for the processes is not: I want to have a way of checking for the necessary processes without having to distribute the bacula keys on another server, and without having to modify existing configuration files to include monitor sections.
3. Christian Masopust created a program to connect to baculas daemons as a monitor, get their status, and return what Nagios needs. This works ok, as far as I know. I tried the program, but I guess it's better if you ask him for it - perhaps he improved it, and at least it would be polite to have it "released" by the actual author ;-)
By the way: That check_bacula program is based on a modified tray monitor - my suggestion was to basically remove the gui part and have the configuration done by command line, and I think Christian did it like this, so it uses baculas own network communication functions and not something re-engineered.
In case Christian does read not the list at the moment: Use [EMAIL PROTECTED] to contact him.
Arno
Best regards Marcin
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
-- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users