obmon  1.3.1
README.md
1 # obmon
2 
3 # Instllation
4 
5 ```
6 yum install yum-plugin-copr
7 yum copr enable mvala/ob
8 yum install obmon
9 ```
10 
11 # Configuration
12 Configuration file is located in `/etc/sysconfig/obmon`
13 
14 # Starting sensor
15 ```
16 systemctl enable --now obmon-sensor
17 ```
18 
19 # Starting broker
20 ```
21 systemctl enable --now obmon-broker
22 ```
23 
24 ## Disk filtring
25 It can be controlled via `$OBMON_ALLOWED_DISKS` env variable and values can follow these rules
26 
27 ### Guidelines for device filtering:
28 - default permit: all `sd*`, `nvme*` and `md*` devices will be allowed (except their partitions).
29 - custom permit:
30  - ends with `+` - allow any device beginning with sequence provided
31  - else allow only device matching sequence
32 
33 ### Examples:
34 |OBMON_ALLOWED_DISKS | |
35 |----|----|
36 |`nvme0n1p1,sd`|allow all `sd*` devices (excl. partitions) and device `nvme0n1p1`
37 |`sd+,md`|allow all `sd*` devices (incl. part.) and phys. `md*` partitions
38 |`nvme`|allow all `nvme*` devices (excl. part.)