/
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 checkNo
Puppet profiles using this checkprofile_cryptmount

Check plugins

Namecheck_cryptmount.sh
Packagesnagios-plugins-mountpoints, nagios-plugins-mountpoints-config
CheckCommand namecryptmount
Upstream source linkhttps://git.vshn.net/vshn/nagios-plugins-mountpoints
Documentation linkhttps://git.vshn.net/vshn/nagios-plugins-mountpoints

List of variables

Icinga2 variableConfigured inDefault ValueDescription
cryptmount_mountpointinternal 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

 

 

Related content