Skip to content

Commit 9623bcf

Browse files
committed
OS Linux: LXC monitoring adaptations
Added in "VOL:" LLD filter off all volumes mounted under /var/lib/lxc. If OS Linux template will used inside of each LXC container it will provide proper not duplicated monirtoring of the LXC container volumes.
1 parent e30dea6 commit 9623bcf

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

OS Linux/OS Linux.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<zabbix_export>
33
<version>4.2</version>
4-
<date>2019-06-07T19:32:02Z</date>
4+
<date>2019-06-10T12:56:35Z</date>
55
<groups>
66
<group>
77
<name>Templates</name>
@@ -3494,12 +3494,18 @@ Value is calculated by read number of sectors multiplied by 512.</description>
34943494
<macro>{#FSTYPE}</macro>
34953495
<value>^(btrfs|ext2|ext3|ext4|jfs|reiser|xfs|ffs|ufs|jfs|jfs2|vxfs|hfs|refs|ntfs|fat32|zfs)$</value>
34963496
<operator>8</operator>
3497-
<formulaid>B</formulaid>
3497+
<formulaid>C</formulaid>
34983498
</condition>
34993499
<condition>
35003500
<macro>{#FSNAME}</macro>
35013501
<value>^(?!(^/run/media))</value>
35023502
<operator>8</operator>
3503+
<formulaid>B</formulaid>
3504+
</condition>
3505+
<condition>
3506+
<macro>{#FSNAME}</macro>
3507+
<value>^(?!(^/var/lib/lxc))</value>
3508+
<operator>8</operator>
35033509
<formulaid>A</formulaid>
35043510
</condition>
35053511
</conditions>

OS Linux/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ Base Linux monitoring template.
2626
- make template zabbix 4.0.x ready by remove using $1-$9 macros in items names
2727
- LLD:
2828
- rewrited ```VOL``` triggers to use proper severities and triggers prototypes dependencies
29+
- LXC monitoring adaptations:
30+
- add in ```VOL:``` LLD filter off all volumes mounted under /var/lib/lxc. If ```OS Linux```
31+
template will used inside of each LXC container it will provide proper not duplicated
32+
monirtoring of the LXC container volumes
2933
- Triggers:
3034
- '''SYS::Host is down''' corrected descrition
3135
- 1.0.4 (2018-06-11)

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ This repository provides a set of templates which offers the alternative set of
4040
- make template zabbix 4.0.x ready by remove using $1-$9 macros in items names
4141
- LLD:
4242
- rewrited ```VOL``` triggers to use proper severities and triggers prototypes dependencies
43+
- LXC monitoring adaptations:
44+
- add in ```VOL:``` LLD filter off all volumes mounted under /var/lib/lxc. If ```OS Linux```
45+
template will used inside of each LXC container it will provide proper not duplicated
46+
monirtoring of the LXC container volumes
4347
- Triggers:
4448
- '''SYS::Host is down''' corrected descrition
4549
- **OS Solaris**

0 commit comments

Comments
 (0)