From: Jay <tit...@gm...> - 2013-12-21 12:58:04
|
I was able to put together a small script that grabbed the start and end time from the Bacula database. Didn't take too long to figure it all out. Thanks Jay On Dec 21, 2013, at 2:26 AM, Juraj Sakala <jur...@gm...> wrote: > I can provide you with sample script if you are interested. I use the scritpt for pushing statistical information from bacula jobs to elasticsearch. I can analyze and visualize bacula statistics stored in elasticsearch with kibana3. > > Dňa 20.12.2013 19:07 používateľ "jay" <tit...@gm...> napísal: >> Ah ok, that is a bit more work, but should be easy enough. Thanks for the suggestion! >> >> Jay >> >> >> On Fri, Dec 20, 2013 at 11:53 AM, Juraj Sakala <jur...@gm...> wrote: >>> Hi, >>> >>> There is no Elapsed time substitution string in the bacula. But don't >>> worry. You can run a script after backup that pulls the information >>> about jobid from the bacula database and parses it. So you can use all >>> these information you need to process. >>> >>> In the RunAfterJob you call a script with the parameter %i, and the >>> script pulls log from the mysql database for jobid stored in %i. >>> >>> Juraj >>> >>> On 12/20/2013 06:01 PM, jay wrote: >>> > Hello, >>> > >>> > I have a question about the character substitutions performed in the >>> > "Run After Job" option. I know the list of available substitutions >>> > contains things like job bytes (%b), jobid (%i), etc. It there an >>> > option available to get the Elapsed Time of a job? Or is there a way to >>> > add additional options so that I can get that information? >>> > >>> > I using a RunScript after a job completes to get some useful job >>> > information, and the Elapsed Time would be quite helpful. >>> > >>> > Thanks, >>> > Jay >>> > >>> > >>> > ------------------------------------------------------------------------------ >>> > Rapidly troubleshoot problems before they affect your business. Most IT >>> > organizations don't have a clear picture of how application performance >>> > affects their revenue. With AppDynamics, you get 100% visibility into your >>> > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! >>> > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk >>> > >>> > >>> > >>> > _______________________________________________ >>> > Bacula-users mailing list >>> > Bac...@li... >>> > https://lists.sourceforge.net/lists/listinfo/bacula-users >>> > >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! >> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk >> _______________________________________________ >> Bacula-users mailing list >> Bac...@li... >> https://lists.sourceforge.net/lists/listinfo/bacula-users |