Skip to content

Mounts

Mounts checks if one or more mount point in Linux filesystem are present.

Configure

This check requires additional parameters to define each mount point to be checked :

mount:
  mount_root:
    path: /

Alerts

This check sends an alert and adds alert fields if a mount point is not present.

Output to Metrology

This module sends one message for each mount point, with the following fields:

cmt_check: mount
+
cmt_mount: /path/to/mount
cmt_mount_status: ok/nok

CLI usage and output

$ ./cmt.py mounts

Check mount 
cmt_mount              /  () 
OK                     path / found

Check mount 
cmt_mount              /mnt  () 
NOTICE                 path /mnt not found

Check mount 
cmt_mount              /merge  () 
NOTICE                 path /merge not found