Business View¶
Overview¶
Object name: BV
Show¶
In order to list available business views, use SHOW action:
[root@centreon ~]# ./centreon -u admin -p centreon -o BV -a SHOW
id;name;description
4;BV1;BV1
5;BV2;BV2
6;BV4;BV3
[...]
Columns are the following:
Column |
Description |
---|---|
BV ID |
Business view id |
BV name |
Business view name |
BV description |
Business view description |
Add¶
In order to add a business view use ADD action:
[root@centreon ~]# ./centreon -u admin -p centreon -o BV -a ADD -v 'BV1;BV1'
Required columns are the following:
Column |
Description |
---|---|
Name |
Business view name |
Description |
Business view description |
Del¶
If you want to remove a business view use DEL action:
[root@centreon ~]# ./centreon -u admin -p centreon -o BV -a DEL -v 'BV1'
Setparam¶
If you want to change a specific parameters for a business view, use the SETPARAM command:
[root@centreon ~]# ./centreon -u admin -p centreon -o BV -a SETPARAM -v 'BV1;description;BV description'
Parameters that you can change are the following:
Parameter |
Description |
---|---|
name |
Business activity name |
description |
Business activity description |
overview |
Visible in overview (0 or 1) |
Setba¶
If you want to set business activity to a business view, use the SETBA command:
[root@centreon ~]# ./centreon -u admin -p centreon -o BV -a SETBA -v 'bv1;ba1'
Required columns are the following:
Column |
Description |
---|---|
Bv name |
Business view name |
Ba name |
Business activity name (multiple with | seperator) |
Addba¶
If you want to add business activity to a business view, use the ADDBA command:
[root@centreon ~]# ./centreon -u admin -p centreon -o BV -a ADDBA -v 'bv1;ba1'
Required columns are the following:
Column |
Description |
---|---|
Bv name |
Business view name |
Ba name |
Business activity name (multiple with | seperator) |
Delba¶
If you want to delete a business activity from a business view, use the DELBA command:
[root@centreon ~]# ./centreon -u admin -p centreon -o BV -a DELBA -v 'bv1;ba1'
Required columns are the following:
Column |
Description |
---|---|
Bv name |
Business view name |
Ba name |
Business activity name (multiple with | seperator) |
Setaclgroup¶
If you want to set acl group to a business view, use the SETACLGROUP command:
[root@centreon ~]# ./centreon -u admin -p centreon -o BV -a SETACLGROUP -v 'bv1;ALL'
Required columns are the following:
Column |
Description |
---|---|
Bv name |
Business view name |
Acl group name |
Acl group name (multiple with | seperator) |
Addaclgroup¶
If you want to add acl group to a business view, use the ADDACLGROUP command:
[root@centreon ~]# ./centreon -u admin -p centreon -o BV -a ADDACLGROUP -v 'bv1;ALL'
Required columns are the following:
Column |
Description |
---|---|
Bv name |
Business view name |
Acl group name |
Acl group name (multiple with | seperator) |
Delaclgroup¶
If you want to delete an acl group from a business view, use the DELACLGROUP command:
[root@centreon ~]# ./centreon -u admin -p centreon -o BV -a DELACLGROUP -v 'bv1;ALL'
Required columns are the following:
Column |
Description |
---|---|
Bv name |
Business view name |
Acl group name |
Acl group name (multiple with | seperator) |