DAve wrote: > Good morning, > > Maybe this is really three requests but I think they are all related. > I've been given a work order to report on Bacula results. > > 1, to send a client email when Bacula completes a backup job. This > email, unlike the one I and my support staff receive, should only report > completion and the total bytes written by the SD. This I think is easy > enough using the current resources to send the data to a script which > will parse out the rest of the normal Bacula message retaining just the > info I want. My question would be, what exactly is the data sent to > bsmtp? I can capture it but I was hoping it was documented somewhere. > > 2, is there a way to test Bacula reporting? If I know the answer to #1 I > could of course just create a file and pipe it to my script. Unless > there is some way to test this already without running a job. > > 3, I need to send the data from each backup to Cacti for monitoring. I > had at first thought a runafterjob would be the answer, and if so I > can't figure out where to get the total bytes written value. I've looked > through the manual paying attention to the section > > http://bacula.org/rel-manual/Tips_Suggestions.html#SECTION000353000000000000000 > > Though now I think a daily cron job along the lines of the > bacula-src/example/report.pl might be a better idea. If others are doing > this are there any suggestions?
Looking through the manual again and checking some others scripts I think a SQL query posting the required data to a DB is the best way to handle Cacti monitoring. I'll pursue that route. Anyone interested in what I come up with? DAve -- Three years now I've asked Google why they don't have a logo change for Memorial Day. Why do they choose to do logos for other non-international holidays, but nothing for Veterans? Maybe they forgot who made that choice possible. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users