analysis.cfg - Hermann99/XYmon-Documentation GitHub Wiki

DISK STATUS COLUMN SETTINGS

  • DISK filesystem warnlevel paniclevel
  • DISK filesystem IGNORE
  • INODE filesystem warnlevel paniclevel
  • INODE filesystem IGNORE

If the utilization of "filesystem" is reported to exceed "warnlevel" or "paniclevel", the "disk" status will go yellow or red, respectively. "warnlevel" and "paniclevel" are either the percentage used, or the space available as reported by the local "df" command on the host. For the latter type of check, the "warnlevel" must be followed by the letter "U", e.g. "1024U".

The special keyword "IGNORE" causes this filesystem to be ignored completely, i.e. it will not appear in the "disk" status column and it will not be tracked in a graph. This is useful for e.g. removable devices, backup-disks and similar hardware.

"filesystem" is the mount-point where the filesystem is mounted, e.g. "/usr" or "/home". A filesystem-name that begins with "%" is interpreted as a Perl-compatible regular expression; e.g. "%^/oracle.*/" will match any filesystem whose mountpoint begins with "/oracle".

"INODE" works identical to "DISK", but uses the count of i-nodes in the filesystem instead of the amount of disk space.

  • Defaults DISK: warnlevel=90%, paniclevel=95%
  • Defaults INODE: warnlevel=70%, paniclevel=90%

Examples of how to specify disk thresholds for Linux and Windows and using unused space

Linux

HOST=abc
        DISK    *        90 95
        DISK    %^/home  90 95

Windows

HOST=abc
        DISK    *       90 95
        DISK    %^G     90 95                         # set thresholds fot drive G:

Using free space for warning

        DISK    *       12000000U 10000000U           # E: Warning =12GB     Critical = 10GB
        DISK    %^/home 12000000U 10000000U           # E: Warning =12GB     Critical = 10GB
        DISK    %^E     12000000U 10000000U           # E: Warning =12GB     Critical = 10GB