]> git.uio.no Git - uio-zabbix.git/blob - zabbix_filesystems_limits.conf
zabbix_filesystem_limits.py - python3 does not support has_key() anymore. Use in...
[uio-zabbix.git] / zabbix_filesystems_limits.conf
1 #
2 # /etc/zabbix_filesystems_limits.conf
3 #
4 # This file can be used to define percent and size alarm limits per
5 # filesystem. 
6 #
7 # This file will be used by /usr/bin/filesystem_limits.py and the
8 # zabbix_agent running on this server to find out if custom
9 # filesystems limits have been defined for some of the mounted
10 # filesystem in this server.
11 #
12 # The format used to define custom limits for a filesystem is:
13 #
14 # <filesystem>::<max_used_percent_limit>::<minimun_free_size_limit>
15 #
16 # Filesystems can match a specified pattern according to the rules
17 # used by the Unix shell. No tilde expansion is done, but *, ?, and
18 # character ranges expressed with [] will be correctly matched. For a
19 # literal match, wrap the meta-characters in brackets. For example,
20 # '[?]' matches the character '?'.
21 #
22 # Only mounted filesystem will be considered when reading filesystems
23 # limits definitions in /etc/zabbix_filesystems_limits.conf.
24 #
25 # One can define <max_used_percent_limit> or
26 # <minimum_free_size_limit>, or both. Leave the value for a limit
27 # empty if you do not want to define it.
28 #
29 # Size_limit can use these units (M, G or T) to define MB, GB or TB
30 # limits.
31 #
32 # Examples:
33 #
34 # Define only a max_used_percent_limit = 90% for <filesystem>
35 # <filesystem>::90::
36 #
37 # Define only a minimun_free_size_limit = 2G for <filesystem>
38 # <filesystem>::::2G
39 #
40 # Define max_used_percent_limit = 90% and minimun_free_size_limit
41 # = 2G for <filesystem> 
42 # <filesystem>::90::2G
43 #
44 # Filesystem /mnt/my_filesystem max used limit will be 90%:
45 # /mnt/my_filesystem::90::
46 #
47 # Filesystems starting with /mnt/ minimun free limit will be 2048M:
48 # /mnt/*::::2048M
49 #
50 # Filesystems starting with /mnt/ and a or b in the path third level
51 # minimun free limit will be 5TB: 
52 # /mnt/*/[ab]*::::5T
53 #
54 # ###################################################################