/
Monitoring Service Check: cryptmount
Welcome to the VSHN Knowledge Base
Monitoring Service Check: cryptmount
Overview
This checks whether an encrypted disc is mounted. After reboots, they aren't - see Troubleshooting.
Technical Details
Implementation
Global base check | No |
---|---|
Puppet profiles using this check | profile_cryptmount |
Check plugins
Name | check_cryptmount.sh |
---|---|
Packages | nagios-plugins-mountpoints, nagios-plugins-mountpoints-config |
CheckCommand name | cryptmount |
Upstream source link | https://git.vshn.net/vshn/nagios-plugins-mountpoints |
Documentation link | https://git.vshn.net/vshn/nagios-plugins-mountpoints |
List of variables
Icinga2 variable | Configured in | Default Value | Description |
---|---|---|---|
cryptmount_mountpoint | internal in profile_cryptmount | path to mountpoint |
Troubleshooting/Known issues
The mountpoint is not mounted
After reboots, discs are not decrypted and mounted - this is the intended behaviour (and, indeed, the reason we have this process in the first place), so we don't need to enter the passwords via console (where oftentimes keyboard layouts are ill defined), but can copy/paste them once the server is up and running.
Solution
Simply use
# Non systemd: sudo service mountcrypt start # With systemd: sudo start-encrypted-devices
and enter the password (which you should find on https://password.vshn.net)
Tuning
, multiple selections available,
Related content
Monitoring Service Check: mountpoints
Monitoring Service Check: mountpoints
More like this
Monitoring Service Check: mountpoint_health
Monitoring Service Check: mountpoint_health
More like this
Monitoring Service Check: lvm
Monitoring Service Check: lvm
More like this
Monitoring Service Check: iostat-queue
Monitoring Service Check: iostat-queue
More like this
Monitoring Service Check: iostat-iowait
Monitoring Service Check: iostat-iowait
More like this
Monitoring Service Check: cert_expire
Monitoring Service Check: cert_expire
More like this