DumbMonit

Мониторы

NAS и резервные копии

Synology, TrueNAS, Unraid, Proxmox Backup Server и Veeam: диски, пулы и возраст последней успешной копии.

Описания мониторов и тексты правил оповещений на английском, как в самом продукте. Подписи на странице соответствуют вашему языку.

Synology DSM

synology

Volumes, pools, disk health, temperature, Hyper Backup and Active Backup jobs, Synology Drive and Photos.

Примеры

  • DiskStation
  • RackStation

Что понадобится

  • DSM account

Порт по умолчанию: 5001

Встроенные правила оповещений 17

  • ПредупреждениеSynology disk SMART warningDSM no longer reports this disk's SMART status as normal.
  • ТревогаSynology disk failedDSM reports the disk as crashed or failed.
  • ТревогаSynology disk bad sectorsThe disk's bad-sector count exceeds the threshold set in DSM.
  • ПредупреждениеSynology disk bad sectors growingNew unreadable sectors appeared in the last 24 hours (delta(dumbmonit_synology_disk_unc_count[24h])).
  • ПредупреждениеSynology SSD wearing outAn SSD has less than 10 % of its rated life left; clears above 12 %.
  • ТревогаSynology volume degradedA volume is degraded or crashed: its redundancy is gone.
Показать ещё 11
  • ТревогаSynology storage pool degradedA storage pool or SSD cache is degraded or crashed: a disk failed and the redundancy is gone or rebuilding.
  • ПредупреждениеSynology volume almost fullA volume is 90 % full or more, not counting the space reserved by thick-provisioned iSCSI LUNs; clears below 88 %. A volume filled by a thick LUN is full by design and does not alert.
  • ПредупреждениеSynology thin LUN over-allocationThe thin LUNs of a volume were promised more space than the volume still has free; clears below 95 %.
  • ПредупреждениеSynology thin LUN almost fullA thin LUN has 95 % or more of its size written. A thick LUN is opaque from the NAS: the rules of the monitor that uses it (datastore, filesystem) alert instead.
  • ПредупреждениеSynology temperature highA disk is above 55 °C, or DSM raised its own temperature warning; clears below 52 °C.
  • ПредупреждениеSynology memory highMemory usage of the NAS above 95 %; clears below 90 %.
  • ТревогаActive Backup task failedThe last run of an Active Backup for Business task failed, or backed up only part of its devices. The notification names the task.
  • ПредупреждениеActive Backup too oldNo successful Active Backup for Business run for this task for more than two days. The series does not exist for a task that has never succeeded; "Active Backup task failed" speaks then.
  • ИнфоActive Backup task disabledThe task has no schedule, or its continuous backup is paused: it will not back up anything until someone runs it.
  • ПредупреждениеActive Backup device overdueA device has gone longer without a successful Active Backup for Business run than its own rhythm allows, off-days excluded).
  • ТревогаActive Backup device failingThe last two or more attempts of a device failed; a cancelled run counts as neither.
Шаги настройки: Create a monitoring account in DSM
  1. In DSM, open Control Panel → User & Group → User → Create and name the account as follows, with a long password used nowhere else.

    dumbmonit
  2. Join groups: tick administrators.

  3. Assign shared folder permissions: tick No access on every shared folder.

  4. Assign application permissions: Deny every application except DSM, and Active Backup for Business if you want its tasks read.

  5. Keep two-step verification off for this account (Control Panel → Security → Account).

  6. In DumbMonit, enter the NAS address (HTTPS, port 5001 by default) and this account's user name and password.

Обратите внимание. The administrators group is required by DSM's storage API, not by DumbMonit: that is why the account gets no shared folder and no other application.

Документация

TrueNAS

truenas

Pool health, the failing disk, scrubs, snapshots, replication and TrueNAS's own alerts.

Примеры

  • TrueNAS SCALE
  • TrueNAS Community Edition

Что понадобится

  • API keyThe key TrueNAS shows once when it is created, as "3-AbCd…".

Порт по умолчанию: 443

Встроенные правила оповещений 13

  • ТревогаNAS pool degradedZFS no longer calls a pool healthy. A degraded pool still serves its data, which is exactly why nobody notices until the next disk fails. The monitor page names the disk.
  • ПредупреждениеNAS disk errorsDisks of a pool have reported read, write or checksum errors since the last zpool clear.
  • ПредупреждениеNAS pool almost fullA pool is more than 85 % full. ZFS slows down well before it is full. Clears at 80 %.
  • ТревогаNAS scrub found errorsThe last scrub of a pool found damaged data.
  • ИнфоNAS scrub overdueA pool has not completed a scrub in more than 45 days. Absent after a resilver, which erases the record of the last scrub.
  • ТревогаNAS disk failed its SMART testA SMART self-test in a disk's log failed. A disk never tested has no series.
Показать ещё 7
  • ПредупреждениеNAS disk too hotA disk is above 55 °C. Clears at 50 °C.
  • ПредупреждениеNAS dataset near its quotaA dataset has used more than 90 % of its quota: at 100 % its writes fail while the pool still has room. No quota, no series.
  • ПредупреждениеNAS replication failedAn enabled replication task is in error: the copy on the other side is getting older.
  • ПредупреждениеNAS snapshot task failedAn enabled periodic snapshot task is in error.
  • ПредупреждениеNAS snapshots staleAn enabled periodic snapshot task has not run for more than eight days: a task that stops running does not fail, it goes quiet.
  • ПредупреждениеTrueNAS alert raisedTrueNAS itself has raised an alert of level ERROR or above. Its own sentence is on the monitor page.
  • ПредупреждениеNAS service stoppedA service set to start with the NAS is stopped. A service switched off on purpose has no series.
Шаги настройки: Create an API key for DumbMonit in TrueNAS
  1. Open Credentials → Groups → Add, name the group as follows and give it the Local Administrator privilege.

    dumbmonit
  2. Open Credentials → Users → Add, name the account as follows and make dumbmonit its primary group. Leave shell access, sudo and SSH off.

    dumbmonit
  3. Open Credentials → Users → API Keys → Add, pick the dumbmonit user, name the key and copy it: TrueNAS shows it only once.

  4. On TrueNAS 24.10, the path is the user menu at the top right → API Keys → Add.

  5. 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.

Документация

Unraid

unraid

An Unraid server through its GraphQL API: array stopped, disks disabled or with errors, parity checks, cache pool usage, containers that should be running.

Примеры

  • Unraid 7
  • Unraid 6.12 with Unraid Connect

Что понадобится

  • API keyA key with the Viewer role: it reads everything and can change nothing.

Порт по умолчанию: 80

Встроенные правила оповещений 9

  • ТревогаUnraid array stoppedThe Unraid array is not started: shares, containers and VMs that live on it are unavailable.
  • ТревогаUnraid disk disabled or missingAn Unraid disk is disabled, missing or invalid: the array runs degraded, and one more failure loses data.
  • ПредупреждениеUnraid disk read errorsAn Unraid disk has reported read errors since the array started: it may be disabled at the next one.
  • ПредупреждениеUnraid disk too hotAn Unraid array or parity disk has stayed above 55 °C for fifteen minutes.
  • ПредупреждениеUnraid parity check found errorsThe last Unraid parity check failed or found sync errors: parity no longer matches the data.
  • ПредупреждениеUnraid parity check overdueThe last Unraid parity check is more than 40 days old: a monthly check was missed.
Показать ещё 3
  • ПредупреждениеUnraid cache nearly fullAn Unraid cache pool is more than 90 % full: writes fall back to the slow array, or fail.
  • ПредупреждениеUnraid container stoppedA Docker container set to start with the array is not running.
  • ТревогаMonitor unreachableNo measurement received for more than three minutes. bottomk by (target) (1, time() - tlast_over_time(dumbmonit_up[7d]))
Шаги настройки: Create a read-only API key for DumbMonit
  1. On Unraid 6.12 to 7.1, install the Unraid Connect plugin from the Apps tab first. Unraid 7.2 or later has the API built in.

  2. Open Settings → Management Access → API Keys and create a key named as follows, with the Viewer role.

    dumbmonit
  3. Copy the key: Unraid shows it only once.

  4. In DumbMonit, enter the Unraid address (for example tower.lan), paste the key as API key and choose https if the web interface is served over HTTPS.

Обратите внимание. Unraid reports no temperature for a disk that is spun down, and DumbMonit never wakes one: a sleeping disk simply has no temperature until it spins up.

Документация

QNAP QTS / QuTS hero

Бетаqnap

A QNAP NAS through the CGI pages of its web interface: volumes filling up, disks whose SMART health is no longer good or too hot, processor temperature, firmware updates.

Примеры

  • QNAP TS-453D
  • QuTS hero NAS
  • QTS 5.x

Что понадобится

  • User name and passwordThe dumbmonit account created on the NAS. The password is sent base64-encoded to the login page, as the web interface does.

Порт по умолчанию: 443

Встроенные правила оповещений 6

  • ПредупреждениеQNAP volume nearly fullA QNAP volume is more than 90 % full: shares, snapshots and apps stop being able to write.
  • ПредупреждениеQNAP disk health not goodThe SMART health of a QNAP disk is no longer good (warning or abnormal): replace it before the RAID loses redundancy.
  • ПредупреждениеQNAP disk too hotA QNAP disk has stayed above 55 °C for fifteen minutes.
  • ПредупреждениеQNAP processor too hotThe QNAP processor has stayed above 90 °C for fifteen minutes.
  • ИнфоQNAP firmware updateQNAP offers a newer QTS or QuTS hero release.
  • ТревогаMonitor unreachableNo measurement received for more than three minutes. bottomk by (target) (1, time() - tlast_over_time(dumbmonit_up[7d]))
Шаги настройки: Create a limited account for DumbMonit
  1. Open Control Panel → Privilege → Users → Create → Create a User and create the account as follows, with a long random password. Tick no share and no application privilege.

    dumbmonit
  2. Add the account to the administrators group: QTS serves the system status, volumes and disks to that group only.

  3. Optional: under Control Panel → System → Security → Allow/Deny List, allow the web interface only from the DumbMonit server's address.

  4. In DumbMonit, enter the NAS address (for example nas.lan) with that user name and password. Choose http and port 8080 only if HTTPS is off.

Обратите внимание. QTS has no read-only role for its system status, so the account sits in the administrators group: give it a unique password, and an account without 2-step verification. Over HTTP the password travels base64-encoded, not encrypted: prefer HTTPS.

Документация

Ceph

Бетаceph

A Ceph cluster through the REST API of the manager's dashboard: health and its checks, OSDs down or nearly full, placement groups not clean, capacity, pools, monitors out of the quorum.

Примеры

  • Ceph 18 (Reef)
  • Ceph 19 (Squid)
  • cephadm clusters

Что понадобится

  • Dashboard user and passwordThe dumbmonit user of the Ceph dashboard, with the read-only role.

Порт по умолчанию: 8443

Встроенные правила оповещений 10

  • ТревогаCeph health errorThe Ceph cluster reports HEALTH_ERR: data may be unavailable or at risk.
  • ПредупреждениеCeph health warningThe Ceph cluster has reported HEALTH_WARN for 30 minutes: see its health checks.
  • ПредупреждениеCeph OSD downOne or more Ceph OSDs are down: the cluster rebuilds their data elsewhere and loses redundancy meanwhile.
  • ПредупреждениеCeph OSD nearly fullA Ceph OSD is more than 85 % full (the default nearfull ratio): writes to it stop at the full ratio.
  • ПредупреждениеCeph placement groups not cleanSome Ceph placement groups have not been active+clean for 30 minutes: data is degraded, misplaced or inactive.
  • ТревогаCeph objects unfoundCeph reports unfound objects: no copy of some data can be found.
Показать ещё 4
  • ПредупреждениеCeph capacity highThe Ceph cluster is more than 80 % full: it turns read-only at 95 %, and rebuilding after a failure needs free space.
  • ПредупреждениеCeph pool nearly fullA Ceph pool is more than 90 % full.
  • ТревогаCeph monitor out of quorumA Ceph monitor is out of the quorum: one more loss and the cluster stops.
  • ТревогаMonitor unreachableNo measurement received for more than three minutes. bottomk by (target) (1, time() - tlast_over_time(dumbmonit_up[7d]))
Шаги настройки: Create a read-only dashboard user for DumbMonit
  1. Check that the dashboard is enabled and note the address of the active manager.

    ceph mgr services
  2. Write a long random password to a file, and keep it: DumbMonit needs it.

    openssl rand -base64 24 | tr -d '\n' | tee /tmp/dumbmonit.pwd
  3. Create the user with the built-in read-only role.

    ceph dashboard ac-user-create dumbmonit -i /tmp/dumbmonit.pwd read-only
  4. Delete the password file.

    shred -u /tmp/dumbmonit.pwd
  5. In DumbMonit, enter the address of the active manager (for example ceph.lan) with that user name and password.

Обратите внимание. A standby manager redirects to the active one: use the address of the active manager. The dashboard ships a self-signed certificate: tick "Accept an unverifiable certificate" unless you installed your own.

Документация

MinIO

Бетаminio

A MinIO object store through its Prometheus metrics: nodes and drives offline, capacity, failed heals, replication failures and S3 server errors.

Примеры

  • MinIO single node
  • MinIO distributed cluster

Что понадобится

  • Prometheus tokenThe bearer_token printed by mc admin prometheus generate. It opens the metrics pages only.

Учётная запись не нужна.

Порт по умолчанию: 9000

Встроенные правила оповещений 7

  • ТревогаMinIO node offlineA MinIO node is offline: the cluster runs with less parity.
  • ПредупреждениеMinIO drive offlineA MinIO drive is offline: objects are rebuilt from parity until it is back.
  • ПредупреждениеMinIO capacity highThe usable capacity of the MinIO cluster is more than 85 % used.
  • ПредупреждениеMinIO heal failuresMinIO could not heal some objects in its current self-healing run.
  • ПредупреждениеMinIO replication failuresObjects of a MinIO bucket failed to replicate to the remote site.
  • ПредупреждениеMinIO S3 server errorsMore than 5 % of the S3 requests MinIO served in the last 10 minutes failed with a server error (5xx) (100 * rate(dumbmonit_minio_s3_requests_5xx_total[10m]) / rate(dumbmonit_minio_s3_requests_total[10m])).
Показать ещё 1
  • ТревогаMonitor unreachableNo measurement received for more than three minutes. bottomk by (target) (1, time() - tlast_over_time(dumbmonit_up[7d]))
Шаги настройки: Generate a Prometheus token for DumbMonit
  1. With the mc client configured for your MinIO (alias myminio), generate the token of the cluster metrics.

    mc admin prometheus generate myminio cluster
  2. Copy the value after bearer_token in the output: that is the token.

  3. In DumbMonit, enter the MinIO address (for example minio.lan), paste the token as Prometheus token and choose https if MinIO serves TLS.

Обратите внимание. The token only opens the metrics pages, but anyone holding it can read them. If MinIO runs with MINIO_PROMETHEUS_AUTH_TYPE=public, the metrics need no token: choose No authentication.

Документация

Proxmox Backup Server

pbs

Backup freshness per machine, failed tasks, sync and verify jobs, datastore space.

Примеры

  • Proxmox Backup Server

Что понадобится

  • API token (recommended)No expiry and no session opened: the right choice for monitoring.
  • Username / passwordOpens a two-hour session, renewed automatically. Use it only if tokens are not an option.

Порт по умолчанию: 8007

Встроенные правила оповещений 21

  • ПредупреждениеPBS datastore almost fullPBS datastore more than 90% full.
  • ПредупреждениеPBS datastore filling upAt the current rate, PBS estimates the datastore full within seven days.
  • ПредупреждениеPBS datastore not mountedA removable datastore is not mounted: nothing can be written to it.
  • ПредупреждениеPBS backup too oldNo new snapshot for this backup group (one per machine) for more than two days. Edit the threshold for machines backed up weekly; the notification names the group and datastore.
  • ТревогаPBS backup verification failedVerification of the latest snapshot for this machine failed.
  • ПредупреждениеPBS task failedAt least one PBS task failed in the review window.
Показать ещё 15
  • ПредупреждениеPBS garbage collection too oldNo successful garbage collection on this datastore for more than eight days.
  • ПредупреждениеPBS garbage collection failedThe last garbage collection on a datastore failed.
  • ТревогаPBS corrupt chunks foundThe garbage collection found unreadable chunks on a datastore: some backups can no longer be restored.
  • ПредупреждениеPBS prune job failedThe last run of a PBS prune job failed: nothing is pruned and the datastore keeps filling up. The notification names the job and datastore.
  • ПредупреждениеPBS verification job failedThe last run of a PBS verification job failed.
  • ТревогаPBS sync job failedThe last run of a PBS sync job failed.
  • ТревогаPBS tape backup failedThe last tape backup run failed: the offline copy is not being made.
  • ПредупреждениеPBS job never ranA job is enabled and scheduled but has never run.
  • ТревогаPBS service downA service Proxmox Backup Server needs is not running; no backup can be taken in while it is down.
  • ТревогаPBS disk SMART failureA disk of the backup server reports SMART health FAILED. The notification reads /dev/sdb.
  • ПредупреждениеPBS SSD worn outAn SSD of the backup server has used more than 90 % of its rated endurance.
  • ТревогаPBS ZFS pool degradedA ZFS pool of the backup server is not ONLINE.
  • ПредупреждениеPBS certificate expiringThe certificate served by the backup server expires in less than three weeks. Needs the certificates option.
  • ИнфоPBS restart pending after upgradeThe package was upgraded but the running daemon is still the old one.
  • ИнфоPBS updates pendingMore than twenty package updates are pending on the backup server.
Шаги настройки: Create a read-only user and token in Proxmox Backup Server
  1. Open Configuration → Access Control → User Management → Add, enter the user name dumbmonit, choose the realm Proxmox Backup authentication server, then click Add.

    dumbmonit@pbs
  2. Open Configuration → Access Control → API Token → Add: user dumbmonit@pbs, token name monitor. Copy the Token ID and the Secret now, the secret is shown only once.

    dumbmonit@pbs!monitor
  3. Open Configuration → Access Control → Permissions → Add → User Permission: path /, user dumbmonit@pbs, role Audit.

  4. Add a second permission with Add → API Token Permission: path /, token dumbmonit@pbs!monitor, role Audit. A token has its own permissions, so both are needed.

  5. Optional, to see pull sync jobs and the tape tier: repeat both permissions with role RemoteAudit on path /remote and role TapeAudit on path /tape.

  6. In DumbMonit, enter the server address (for example pbs.lan:8007), the Token ID and the Secret.

Обратите внимание. Both the user and the token need the permission: given to the token alone, it grants nothing and PBS reports nothing. The server uses a self-signed certificate by default: tick "Accept an unverifiable certificate" in the options if the connection is refused.

Документация

Veeam Backup & Replication

veeam

A Veeam backup server through its REST API: jobs whose last run failed, failed sessions of the last 24 hours, repositories filling up, license expiry.

Примеры

  • Veeam Backup & Replication 12
  • Veeam Backup & Replication 13
  • Veeam Community Edition

Что понадобится

  • User name and passwordThe account given the Veeam Backup Viewer role, in the form HOST\user or DOMAIN\user.

Порт по умолчанию: 9419

Встроенные правила оповещений 6

  • ПредупреждениеClient device staleA device has not connected or not backed up within the staleness window configured for this target.
  • ТревогаVeeam job failedThe last run of an enabled Veeam job failed: what it protects has no new restore point.
  • ПредупреждениеVeeam job ended with a warningThe last run of an enabled Veeam job ended with a warning: some objects may not be protected.
  • ПредупреждениеVeeam repository nearly fullA Veeam backup repository is more than 90 % full: the next jobs will fail for lack of space.
  • ПредупреждениеVeeam license expiringThe Veeam license expires in less than 30 days: jobs stop at the end of the grace period.
  • ТревогаMonitor unreachableNo measurement received for more than three minutes. bottomk by (target) (1, time() - tlast_over_time(dumbmonit_up[7d]))
Шаги настройки: Give DumbMonit a Veeam Backup Viewer account
  1. On the backup server, open Computer Management → Local Users and Groups → Users → New User and create the account as follows, with a long random password.

    dumbmonit
  2. In the Veeam console, open the main menu > Users and Roles > Security, click Add, enter the account (for example VBR01\dumbmonit) and give it the Veeam Backup Viewer role only.

  3. In DumbMonit, enter the backup server address (for example vbr.lan) and the account as HOST\dumbmonit or DOMAIN\dumbmonit, with its password.

  4. Tick Accept an unverifiable certificate unless you installed your own: the REST API (port 9419) uses a self-signed one.

Обратите внимание. Veeam keeps some REST API routes for the Backup Administrator role, the license among them on current versions: with the Viewer role DumbMonit shows the license as not readable and never asks for more.

Документация

Kopia

Бетаkopia

A Kopia server through its REST API: the last snapshot of each source (age, errors, size, files), sources that missed their schedule, and the repository connection.

Примеры

  • Kopia server
  • KopiaUI
  • Kopia in Docker

Что понадобится

  • Server user name and passwordThe user name and password the Kopia server was started with.

Учётная запись не нужна.

Порт по умолчанию: 51515

Встроенные правила оповещений 4

  • ПредупреждениеKopia snapshot with errorsThe last snapshot of a Kopia source finished with errors: some files were not saved.
  • ПредупреждениеKopia snapshot too oldA scheduled Kopia source has no snapshot for more than two days.
  • ТревогаKopia repository disconnectedThe Kopia server is not connected to its repository: no snapshot can run.
  • ТревогаMonitor unreachableNo measurement received for more than three minutes. bottomk by (target) (1, time() - tlast_over_time(dumbmonit_up[7d]))
Шаги настройки: Start the Kopia server with its own user name and password
  1. On the machine that runs the backups, start the Kopia server with a generated certificate and its own user name and password.

    kopia server start --address=0.0.0.0:51515 --tls-generate-cert --server-username=dumbmonit --server-password=PASTE-A-LONG-RANDOM-PASSWORD
  2. Check that the repository is connected to that server and that the DumbMonit server can reach port 51515.

  3. In DumbMonit, enter the server address (for example nas.lan) with that user name and password.

  4. Tick Accept an unverifiable certificate: the generated certificate is self-signed. If the server runs with --insecure, choose the http protocol instead.

Обратите внимание. Kopia's API has no read-only account: the server password also lets its holder start and delete snapshots. DumbMonit only reads, but keep port 51515 on your local network.

Документация

Duplicati

Бетаduplicati

A Duplicati server through its API: the age of each task's last successful backup, its last result, duration, size, warnings and errors, and the task running now.

Примеры

  • Duplicati 2.1
  • Duplicati in Docker
  • Duplicati on a NAS

Что понадобится

  • Web interface passwordDuplicati has no user accounts: the password of its web interface is all it asks for.

Порт по умолчанию: 8200

Встроенные правила оповещений 3

  • ТревогаDuplicati backup failedThe last run of a Duplicati backup failed: what it protects has no new version.
  • ПредупреждениеDuplicati backup too oldA scheduled Duplicati backup has not succeeded for more than two days.
  • ТревогаMonitor unreachableNo measurement received for more than three minutes. bottomk by (target) (1, time() - tlast_over_time(dumbmonit_up[7d]))
Шаги настройки: Let DumbMonit read the Duplicati API
  1. In the Duplicati web interface, open Settings and set a long random password for the interface: Duplicati 2.1 requires one.

  2. If the server only listens on the machine itself, start it with these options so that DumbMonit can reach it.

    --webservice-interface=any --webservice-allowed-hostnames=*
  3. In DumbMonit, enter the Duplicati address (for example nas.lan) and paste that password.

Обратите внимание. Duplicati 2.1 or later is required: version 2.0 signs in through a different mechanism that DumbMonit does not use. The password gives full access, so keep port 8200 on your local network.

Документация