큐냅(QNAP)


qnap 센서는 QNAP NAS에서 다양한 통계를 가져올 수 있습니다.

설정

설치에서 qnap 센서를 사용하려면 configuration.yaml 파일에 다음을 추가하십시오.

# 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

host

(string)(Required)

The IP address of the QNAP NAS to monitor.

port

(integer)(Optional)

The port number on which the QNAP NAS web interface is reachable.

Default value:

8080

ssl

(boolean)(Optional)

Whether to connect via https.

Default value:

false

verify_ssl

(boolean)(Optional)

Whether SSL certificates should be validated.

Default value:

true

timeout

(integer)(Optional)

How long (in seconds) to wait for a response from the QNAP device before giving up.

Default value:

10

username

(string)(Required)

An user to connect to the QNAP NAS.

password

(string)(Required)

The password of the user to connect to the QNAP NAS.

drivers

(list)(Optional)

Array of drives to monitor (ex: 0:1).

Default value:

all drivers

volumes

(list)(Optional)

Array of volumes to monitor (ex: DataVol1).

Default value:

all volumes

nics

(list)(Optional)

Array of network interfaces to monitor (ex: eth0).

Default value:

all NICs

monitored_conditions

(list)(Required)

Defines the stats to monitor as sensors.

status

Displays overall system health.

system_temp

Displays the overall system temperature.

cpu_temp

Displays the CPU’s temperature.

cpu_usage

Displays the CPU’s utilization as a percentage.

memory_free

Displays the size of available RAM in GB.

memory_used

Displays the size of used RAM in GB.

memory_percent_used

Displays the size of used RAM as a percentage of total RAM.

network_link_status

Displays whether the network interfaces is up (creates a new entry for each interface).

network_tx

Displays the upload speed of a network interface in MB/s (creates a new entry for each interface).

network_rx

Displays the download speed of a network interface in MB/s (creates a new entry for each interface).

drive_smart_status

Displays the S.M.A.R.T. status of the drive (creates a new entry for each drive).

drive_temp

Displays the temperature of the drive (creates a new entry for each drive).

volume_size_free

Displays the available space of the volume in GB (creates a new entry for each volume).

volume_size_used

Displays the used space of the volume in GB (creates a new entry for each volume).

volume_percentage_used

Displays the used space of the volume as a percentage (creates a new entry for each volume).

자체 서명된 인증서(Self-signed certificates)

QNAP 장치가 자체 서명된 인증서를 사용하는 경우 verify_ssl 옵션을 false로 설정하십시오.

QNAP 장치 지원:

이 통합구성요소는 다음 장치에서 테스트되었습니다.

  • TS-259 Pro+ (QTS 4.2.6)
  • TS-410 (QTS 4.2.3)
  • TS-419 (QTS 4.2.3)
  • TS-451 (QTS 4.2.2)
  • TS-470 (QTS 4.2.2)
  • TS-639 (QTS 4.2.3)

유사한 펌웨어를 사용하는 다른 QNAP NAS 장치는 정상적으로 작동합니다. 지원되는 장치에 대한 자세한 내용을 보거나 장치 관련 문제를 보고하려면 qnapstats 프로젝트를 방문하십시오.