A. Podstawka <adam.podstawka <at> dsmz.de> writes:

> 
> Hi,
> 
> following problem, the Stats Tables, like DerviceStats or JobStats don't 
> get filled, even not when i'm doing the update of long term statistics.
Long term statistics have nothing to do with these tables. They are new
and currently not used for anything else then collecting statistics by the
SD (Storage Daemon). Long term statistics is something from Bacula and is
related to the Job table but it has not to interesting information.

The idea is that these new tables get used in the webui at some stage
when we added support in the director for dumping them.

> 
> What's missing ? have Statistics Collect Intervall in bareos-dir.conf, 
> collect-statistics = yes
You need an SD that actually collect statistics:

bareos-sd.conf

Storage {
  Name = ...
  ...
  Collect Device Statistics = yes
  Collect Job Statistics = yes
  Statistics Collect Interval = interval
}

Device {
  Name = ...
  ...
  Collect Statistics = yes
}


The default interval is 30 seconds.

I guess you have Collect Statistics on one of the SD connections which will
collect the data from the SD.

You also want to use the experimental patches in master that fix a problem
with the statistics thread not locking the resources it used and makes the
director crash if you reload your config while its running the statistics
gatherer. That will land soon in 14.2 on its way for a 14.2.5 release with
some more fixes. Actual patch is:

https://github.com/bareos/bareos/commit/be8a917f83d3d5874848f346017d0e62c4dcb068

Currently its mostly experimental as there are no consumers of this
info.

-- 
Marco van Wieringen                   [email protected]
Bareos GmbH & Co. KG                  Phone: +49-221-63069389
http://www.bareos.com                     

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: Stephan Dühr, M. Außendorf, J. Steffens,
                 P. Storz, M. v. Wieringen

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to