How to monitor particular kit with Oversight: which sensor to use, where on the device to set up access, which user function and extraction rows read the response, and how to write the rules that turn it into an alarm. Search for a vendor, a product or an error message, or ask a question in your own words.
Linux agent: a verdict from the host itself
The Oversight Linux agent is a single small program that runs on a Linux host, watches it continuously and decides for itself whether anything is wrong. It serves that verdict over HTTP: nothing wrong, or what is wrong and how badly. Oversight reads it with a Linux agent sensor.
The agent does the judging on the host because it knows the host far better than a threshold in a template can: whether a filesystem was writable an hour ago, which network ports have ever had a link, whether a service is quietly crash-looping. So a sensor on it needs two rules, not two hundred. It is read only by design, runs as an unprivileged user, has no way to run commands, and nothing it serves is a secret or a process list.
It is for bare-metal servers and ordinary virtual machines. Proxmox hosts, guests and containers are better watched through their own APIs.
What it alarms on
The agent samples the host every 10 seconds, whether anyone asks or not, and keeps one verdict: green when nothing is wrong, amber when something is heading that way or needs a look, red when something is broken now. With it comes what is wrong, area by area, worst first, in plain words, so an alert reads md0 degraded, 1 of 2 members missing rather than saying a value crossed a line.
These are the checks, the words each one uses, and the limits it alarms at unless the host is told otherwise:
| Area | Check | What the alert says | Limits, with their defaults |
|---|---|---|---|
| storage | md_failed | md2 degraded, 1 of 8 members missing, md2 inactive | none |
md_rebuild | md2 rebuilding, 40% | none | |
disk_offline | sdc offline since 14:02 | none | |
disk_slow | sdc slow: w_await 12x its md2 siblings for 14 min | none | |
disk_latency | sdc w_await 320ms for 12 min | amber 50, red 200 (ms, SSD and NVMe); amber_rotational 250, red_rotational 1000 (ms, spinning disks) | |
iscsi | iSCSI iqn.2026-01.uk.example:lun1 offline since 14:02 | none | |
multipath | mpatha 1 of 2 paths down | none | |
nfs_slow | /mnt/nfs write 800ms for 6 min | amber 500, red 2000 (ms) | |
nfs_timeouts | /mnt/nfs 12 major timeouts in 10 min | none | |
io_stall | every task stalled on I/O 10% of the last minute, for 22 min | amber 10, red 30 (%) | |
lv_suspended | vg0-data suspended since 14:02 | none | |
| filesystem | fs_missing | /srv not mounted, /srv has /dev/sdb1 mounted, fstab expects /dev/sdc1, swap /dev/sda2 not active | none |
fs_readonly | /srv read-only since 14:02 | none | |
fs_unresponsive | /mnt/nfs not responding since 14:02 | none | |
fs_full | /srv 92% full, /srv inodes 91% used | amber 90, red 95 (%) | |
fs_filling | /srv full in about 9 h at the last hour's rate | hours 12 | |
| memory | oom | OOM killer killed 2 processes in the last hour, last at 14:02 | none |
mem_pressure | every task stalled on memory 6% of the last minute, for 7 min | amber 5, red 20 (%) | |
swapping | swapping in 2.4 MB/s for 6 min | amber 1 (MB/s) | |
mem_low | memory 3.2% available (1.0 GB of 31.3 GB) for 6 min | amber 5 (% available) | |
| processes | dstate | 14 processes in uninterruptible sleep (D) for 6 min | amber 10, red 50 (processes) |
zombies | 34 zombies, up 12 in 30 min | amber 20 (zombies) | |
pids | threads at 85% of pid_max (27853 of 32768) | amber 80, red 95 (%) | |
| services | unit_failed | php-fpm.service failed since 14:02 | none |
unit_restarting | php-fpm.service restarted 7 times in 15 min | amber 3 (restarts in 15 minutes) | |
port_lost | tcp/3306 not listening since 14:02 | none | |
| network | link_down | eth1 link down since 14:02 | none |
bond_degraded | bond0 1 of 2 members down | none | |
link_speed | eth0 at 100 Mb/s, was 1 Gb/s, eth0 at half duplex | none | |
net_errors | eth0 3.2 errors a second for 6 min | amber 1 (errors a second) | |
tcp_retrans | TCP retransmitting 6.3% of segments for 11 min | amber 5 (%) | |
conntrack | conntrack table 84% full (220200 of 262144) | amber 80, red 95 (%) | |
| cpu | load | load 2.4 per CPU (8 CPUs) for 16 min, which adds largely processes waiting on I/O, see io_stall when that is the cause | amber 2, red 4 (per CPU) |
steal | CPU steal 24% for 16 min, the hypervisor is oversubscribed | amber 20 (%) | |
| host_ | time | clock not synchronised for 11 min, clock 2.3 s out for 11 min | amber 1 (seconds) |
fds | open files at 85% of the system limit (891289 of 1048576) | amber 80, red 95 (%) | |
temperature | Package id 0 92C, maximum 90C | none, the hardware's own limits are used | |
rebooted | rebooted at 14:02 | none | |
gpu_lost | gpu0 (0000:01:00.0) gone from the driver since 14:02 | none |
One check can bring on another. A storage stall also leaves processes waiting (dstate) and raises the load (load), so a backup server may need those eased as well as io_stall. Change the one the alert names first, and the others only if they raise too.
For the first 5 minutes after the host boots, nothing raises except the amber rebooted, so mounts and services that take a minute to arrive after a restart do not page anyone. Anything still wrong when the 5 minutes are up raises at once. Most checks must also hold for a while before they raise, and be clear as long again before they drop, so a backup window or a burst does not flap the sensor. Some compare with what the agent has seen since it started, such as a filesystem that was writable or a link that was up; restarting the agent starts that memory afresh.
The limits are set on the host itself, check by check. A check can be switched off, or one disk, mount, interface, service or port left out of every check, for the backup server that spends its nights with the disks flat out. Nothing in Oversight can change the agent's settings.
A check that cannot run on a particular host, such as the pressure checks on a kernel booted without them, is listed as unavailable rather than raising an alarm.
Figures for charts
Beside the verdict, the agent serves figures for charting. None of them raises an alarm by itself, since the verdict has already judged them.
- Host: CPU busy, iowait and steal, load per CPU, processes, stuck processes and zombies, file handles, clock offset, the hottest temperature sensor, and the kernel and boot id, so a reboot or a kernel update taking effect can be caught as a change.
- Memory: available memory, swap use and swap-in, major faults, memory stall and OOM kills. On a ZFS host the cache above its minimum counts as available, as it really is.
- Disk: read and write latency, queue depth and throughput for each physical disk, and the worst disk across the host, which survives disks being renamed after a reboot.
- Storage: every md array, with mdstat's own picture of which slot is missing, and any LVM volume, filesystem or NFS mount while something is wrong with it.
- Network: traffic, errors, drops, speed and link for each interface, TCP retransmissions and connection tracking.
- GPU: NVIDIA GPUs that drop out of the driver or report a PCIe fatal error. A GPU is never judged on how busy it is: one running models sits at 100% or 0%, and both are normal.
In Oversight
Oversight reads the agent with a Linux agent sensor, which is ready as soon as it is saved: the verdict is read for you, red is CRIT and amber WARN, and a refused connection is CRIT too, so a token problem never looks like a healthy host. The alert carries the agent's own words, such as php-fpm.service failed since 14:02. Anything finer, such as making every storage problem CRIT, or sending storage problems to a different team from everything else, is a rule on that one area.
How it is reached
The agent listens on one address and port on the host, over HTTP, and answers only a probe that presents its bearer token, from an address it has been told to allow. It refuses to listen beyond the host with neither set. Where it must be reached across the internet, a reverse proxy in front of it provides TLS.
Installing it is one command, as root. It checks the build against its published checksum, creates an unprivileged system user for the agent and asks only which address to listen on. The same command upgrades it later, and leaves its settings alone.
On a Synology
The agent knows when it is on a Synology and reports the DSM version and model. It installs the same way, and DSM's differences are handled for it. It runs under DSM's own service manager, which restarts it if it stops. DSM's system and swap arrays, mirrored across every bay, are judged by their members rather than their slots, so empty bays do not alarm. Checks DSM cannot support, such as failed services on DSM 6, which has no systemd, show as unavailable. An eSATA or USB disk plugged into the unit is watched like any other disk. A DSM update can remove the agent's service; installing again puts it back with its settings kept.