ИнтеграцииХранилища и резервные копии
Мониторинг TrueNAS в DumbMonit
Pool health, the failing disk, scrubs, snapshots, replication and TrueNAS's own alerts.
ДокументацияОфициальный сайт: TrueNAS
Описания на английском, как в самом продукте. Подписи на странице — на вашем языке.
Что проверяет DumbMonit
ZFS storage server (TrueNAS SCALE, now TrueNAS Community Edition): the health of every pool and the disk that failed, scrubs and resilvers, pool and dataset usage against their quotas, snapshots and replication, disk temperature and SMART self-tests, the alerts TrueNAS raises itself, services and the machine.
Типичное применение. ZFS storage server (SCALE, Community Edition)
Примеры
- TrueNAS SCALE
- TrueNAS Community Edition
Как подключается
Что понадобится
- API keyThe key TrueNAS shows once when it is created, as "3-AbCd…".
Сетевые порты, которые нужно открыть
443/TCPWeb UI and API (HTTPS, default)80/TCPOnly with the HTTP protocol option
Шаги настройки: Create an API key for DumbMonit in TrueNAS
Open Credentials → Groups → Add, name the group as follows and give it the Local Administrator privilege.
dumbmonitOpen Credentials → Users → Add, name the account as follows and make dumbmonit its primary group. Leave shell access, sudo and SSH off.
dumbmonitOpen Credentials → Users → API Keys → Add, pick the dumbmonit user, name the key and copy it: TrueNAS shows it only once.
On TrueNAS 24.10, the path is the user menu at the top right → API Keys → Add.
In DumbMonit, enter the NAS address (for example nas.lan) and paste the key. Keep HTTPS.
Обратите внимание. This key can change anything on the NAS, because TrueNAS offers no read-only key over its REST API: keep it for DumbMonit alone and revoke it if it leaks. TrueNAS ships a self-signed certificate: if the connection is refused, tick "Accept an unverifiable certificate" in the options.