QNAP
This qnap
sensor allows getting various statistics from your QNAP NAS.
Configuration
To use the qnap
sensor in your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
sensor:
- platform: qnap
host: IP_ADDRESS_OF_QNAP_NAS
username: USERNAME
password: PASSWORD
monitored_conditions:
- status
- cpu_usage
- memory_percent_used
- network_tx
- volume_percentage_used
Configuration Variables
The port number on which the QNAP NAS web interface is reachable.
Whether to connect via https
. You might need to configure port
(i.e., 443
) and verify_ssl
(i.e., false
) accordingly.
Whether SSL certificates should be validated. Set to false
if you use the default, self-signed QNap certificate.
How long (in seconds) to wait for a response from the QNAP device before giving up.
An administration user to connect to the QNAP NAS. This user must be a member of the administration group.
Defines the stats to monitor as sensors.
Displays whether the network interfaces is up (creates a new entry for each interface).
Displays the upload speed of a network interface in MB/s (creates a new entry for each interface).
Displays the download speed of a network interface in MB/s (creates a new entry for each interface).
Displays the S.M.A.R.T. status of the drive (creates a new entry for each drive).
Displays the available space of the volume in GB (creates a new entry for each volume).
SSL and Self-signed certificates
If your QNAP device uses self-signed certificates, set the verify_ssl
option to false
. If you configured your device to accept SSL-only connections, please also check that you set port
accordingly, or you might get an SSL: WRONG_VERSION_NUMBER
error.
QNAP device support
This integration works with most (but not all) QNAP devices. A complete, up-to-date list of compatible devices can be found here.