View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000152 | bareos-core | director | public | 2013-04-15 15:06 | 2015-03-25 19:18 |
Reporter | pstorz | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | any | OS Version | 3 |
Product Version | 12.4.2 | ||||
Summary | 0000152: report if number of subscribed clients is exceeded. | ||||
Description | As the bareos subscription is calculated by number, it would be good to have the possibility to configure "licensed clients" or something in the director. If the number of clients exceeds this configured limit, the administrator should be informed that the subscriptions are exhausted. | ||||
Tags | No tags attached. | ||||
Just an idea: maybe we can wrap a nagios-plugin around | |
This query should do the job: SELECT COUNT(clientid) FROM client; |
|
After doing some evaluation, we agree that the easiest way is to count the number of client ressources on startup and store that in the director config. The number of Clients can change only at startup or reload anyway. |
|
Fix committed to bareos bareos-12.4 branch with changesetid 925. | |
Documentation missing | |
documentation is in wiki in "status subscriptions" | |
Fix committed to bareos2015 bareos-13.2 branch with changesetid 4207. | |
Due to the reimport of the Github repository to bugs.bareos.org, the status of some tickets have been changed. These tickets will be closed again. Sorry for the noise. |
|
bareos: master 951e255f 2013-05-15 16:24 Committer: Ported: N/A Details Diff |
Number of subscriptions can be checked The number of subscribed clients can be set in the director ressource, e.g. Subscriptions = 2 When the number of clients is bigger than the configured limit, each job gets the following message: JobId 7: Warning: Subscriptions exceeded: (used/total) (3/2) Also, the status of the subscriptions can be checked via * status subscriptions Warning! No available subscriptions: -1 (3/2) (used/total) Nothing else than the warning is issued, no enforcement on backup, restore or any other operation will happen. Fixes 0000152: report if number of subscribed clients is exceeded. Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
Affected Issues 0000152 |
|
mod - src/dird/ua_status.c | Diff File | ||
mod - src/dird/ua_cmds.c | Diff File | ||
mod - src/dird/job.c | Diff File | ||
mod - src/dird/dird_conf.h | Diff File | ||
mod - src/dird/dird_conf.c | Diff File | ||
mod - src/dird/dird.c | Diff File | ||
bareos: bareos-12.4 59608873 2013-05-15 16:24 Committer: Ported: N/A Details Diff |
Number of subscriptions can be checked The number of subscribed clients can be set in the director ressource, e.g. Subscriptions = 2 When the number of clients is bigger than the configured limit, each job gets the following message: JobId 7: Warning: Subscriptions exceeded: (used/total) (3/2) Also, the status of the subscriptions can be checked via * status subscriptions Warning! No available subscriptions: -1 (3/2) (used/total) Nothing else than the warning is issued, no enforcement on backup, restore or any other operation will happen. Fixes 0000152: report if number of subscribed clients is exceeded. Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
Affected Issues 0000152 |
|
mod - src/dird/dird.c | Diff File | ||
mod - src/dird/dird_conf.c | Diff File | ||
mod - src/dird/dird_conf.h | Diff File | ||
mod - src/dird/job.c | Diff File | ||
mod - src/dird/ua_cmds.c | Diff File | ||
mod - src/dird/ua_status.c | Diff File | ||
bareos2015: bareos-12.4 16742e99 2013-05-15 18:24 Committer: mvwieringen Ported: N/A Details Diff |
Number of subscriptions can be checked The number of subscribed clients can be set in the director ressource, e.g. Subscriptions = 2 When the number of clients is bigger than the configured limit, each job gets the following message: JobId 7: Warning: Subscriptions exceeded: (used/total) (3/2) Also, the status of the subscriptions can be checked via * status subscriptions Warning! No available subscriptions: -1 (3/2) (used/total) Nothing else than the warning is issued, no enforcement on backup, restore or any other operation will happen. Fixes 0000152: report if number of subscribed clients is exceeded. Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
Affected Issues 0000152 |
|
mod - src/dird/dird.c | Diff File | ||
mod - src/dird/dird_conf.c | Diff File | ||
mod - src/dird/dird_conf.h | Diff File | ||
mod - src/dird/job.c | Diff File | ||
mod - src/dird/ua_cmds.c | Diff File | ||
mod - src/dird/ua_status.c | Diff File | ||
bareos2015: bareos-13.2 5232d006 2013-05-15 18:24 Committer: mvwieringen Ported: N/A Details Diff |
Number of subscriptions can be checked The number of subscribed clients can be set in the director ressource, e.g. Subscriptions = 2 When the number of clients is bigger than the configured limit, each job gets the following message: JobId 7: Warning: Subscriptions exceeded: (used/total) (3/2) Also, the status of the subscriptions can be checked via * status subscriptions Warning! No available subscriptions: -1 (3/2) (used/total) Nothing else than the warning is issued, no enforcement on backup, restore or any other operation will happen. Fixes 0000152: report if number of subscribed clients is exceeded. Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
Affected Issues 0000152 |
|
mod - src/dird/dird.c | Diff File | ||
mod - src/dird/dird_conf.c | Diff File | ||
mod - src/dird/dird_conf.h | Diff File | ||
mod - src/dird/job.c | Diff File | ||
mod - src/dird/ua_cmds.c | Diff File | ||
mod - src/dird/ua_status.c | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-04-15 15:06 | pstorz | New Issue | |
2013-05-10 16:34 | pstorz | Assigned To | => pstorz |
2013-05-10 16:34 | pstorz | Status | new => assigned |
2013-05-10 16:36 | maik | Note Added: 0000415 | |
2013-05-10 16:59 | pstorz | Note Added: 0000416 | |
2013-05-15 13:44 | pstorz | Note Added: 0000423 | |
2013-05-16 09:32 | mvwieringen | Changeset attached | => bareos master 1a5defbc |
2013-05-16 09:32 | mvwieringen | Assigned To | pstorz => mvwieringen |
2013-05-16 09:32 | mvwieringen | Status | assigned => resolved |
2013-05-16 09:32 | mvwieringen | Resolution | open => fixed |
2013-05-16 09:32 | mvwieringen | Changeset attached | => bareos Branch-12.4 45807bf4 |
2013-05-18 11:16 | mvwieringen | Status | resolved => closed |
2013-05-18 11:16 | mvwieringen | Assigned To | mvwieringen => |
2013-05-18 11:24 | pstorz | View Status | private => public |
2013-05-24 12:53 | pstorz | Assigned To | => pstorz |
2013-05-24 12:53 | pstorz | Status | closed => resolved |
2013-06-21 17:09 | joergs | Status | resolved => closed |
2013-08-13 03:12 |
|
Changeset attached | => bareos master 951e255f |
2013-08-13 03:12 |
|
Changeset attached | => bareos bareos-12.4 59608873 |
2013-08-13 03:12 |
|
Note Added: 0000584 | |
2013-08-13 03:12 |
|
Assigned To | pstorz => mvwieringen adm |
2013-08-13 03:12 |
|
Status | closed => resolved |
2013-08-13 09:41 |
|
Assigned To | mvwieringen adm => |
2013-08-13 09:41 |
|
Status | resolved => closed |
2014-02-06 21:06 | maik | Note Added: 0000808 | |
2014-02-06 21:06 | maik | Status | closed => feedback |
2014-02-06 21:06 | maik | Resolution | fixed => reopened |
2014-02-21 16:10 | pstorz | Note Added: 0000819 | |
2014-02-21 16:10 | pstorz | Status | feedback => new |
2014-02-21 16:16 | mvwieringen | Assigned To | => mvwieringen |
2014-02-21 16:16 | mvwieringen | Status | new => acknowledged |
2014-02-21 19:47 | mvwieringen | Status | acknowledged => closed |
2014-02-21 19:47 | mvwieringen | Resolution | reopened => fixed |
2015-01-19 19:36 |
|
Assigned To | mvwieringen => |
2015-03-25 16:51 | mvwieringen | Changeset attached | => bareos2015 bareos-12.4 16742e99 |
2015-03-25 16:51 | mvwieringen | Changeset attached | => bareos2015 bareos-13.2 5232d006 |
2015-03-25 16:51 | mvwieringen | Note Added: 0001370 | |
2015-03-25 16:51 | mvwieringen | Status | closed => resolved |
2015-03-25 19:18 | joergs | Note Added: 0001525 | |
2015-03-25 19:18 | joergs | Status | resolved => closed |