Configure a Statistics Resource in BWeb

In the BWeb configuration overview screen (Workset) you can select one of the three major Bacula Components: Director, Storage Daemon, and File Daemon. One you have clicked on the button, the “Actions” box on the left contains a “List Statistics” button that will bring you to the Statistics resource overview page for the selected Bacula component.

Use the “Plus” symbol to add a new Statistics resource. It needs a Name (mandatory), optional description, you can set the interval with which Bacula will send information to the statsd process on your Graphite server. In the Type dropdown field select “Graphite” and enter metrics that you want to export e.g. bacula.jobs.*. A prefix can be useful to distinguish between your Bacula File Daemons for instance. Open the Graphite Options to enter the FQDN or IP address of your Graphite server and the port where Carbon receiver listens to plaintext.

Save the Statistics resource and restart the Bacula daemon that will then send statistics data to the Graphite host and port with the time interval specified.

It is possible to check if statd is running fine with bconsole:

.status dir statistics

In BWeb this can be done with the web console which you will have to activate in the top menu, Configuration, Configure BWeb, Edit, and then check “Web Bconsole”. This will give you a new icon next to the search field in the top menu where you can access a bconsole to issue the above .status command.

Go back to the BWeb with Graphite chapter.

Go back to the Jobs Monitoring.

Go back to the main Bacula Enterprise Management page.