18.2.6 statistics collection

40 views
Skip to first unread message

Felicián Hoppál

unread,
Nov 26, 2019, 9:59:06 AM11/26/19
to bareos-users
Hello,

I'm trying to enable the statistics collection on 18.2.6, FreeBSD - without success.

in dir-Director {
  Statistics Collect Interval = 60
  Statistics Retention = 7776000

in dir-Storage {
  Collect Statistics = yes

in sd-Storage {
  Collect Device Statistics = yes
  Collect Job Statistics = yes
  Statistics Collect Interval = 60

When I run a job, the JobStats table is empty and stays empty and there's a Device table but it's also empty, 0 rows, just like DeviceStats. 

What do I miss?

Thank you in advance,
Felicián

Frank Bergkemper

unread,
Nov 27, 2019, 4:49:38 AM11/27/19
to bareos...@googlegroups.com
Hello Felicián,

it looks like your device resource(s) lack the collect statistics directive.

See:

https://docs.bareos.org/Appendix/Howtos.html?highlight=statistic%20collection#statistics-collection

https://docs.bareos.org/Configuration/StorageDaemon.html#config-Sd_Device_CollectStatistics


Regards,
Frank

--
Frank Bergkemper frank.be...@bareos.com
Bareos GmbH & Co. KG Phone: +49-221-630693-94
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

signature.asc

Felicián Hoppál

unread,
Nov 28, 2019, 3:50:21 AM11/28/19
to bareos-users
Hello Frank,

Thank you for your answer. According to the documentation (actually, I've read the docs before posting ;)) it defaults to 'yes'. Anyway it doesn't matter, if I set it to yes in sd-Device {}, the results are the same, no stats collection.

Collect Statistics
Type:BOOLEAN
Default value:yes


On Wednesday, November 27, 2019 at 11:49:38 AM UTC+2, Frank Bergkemper wrote:
Frank Bergkemper                   frank.b...@bareos.com
Reply all
Reply to author
Forward
0 new messages