Skip to content

A backup server that only wakes at night

Anyone with a machine that is off on purpose

What it is for

Tell an intentional sleep from an outage, and tell a backup that ran from one that did not, without anyone reading a log at 07:00.

What goes unnoticed without it

A machine that is off all day looks like an outage. And by morning, the night the backup ran and the night it did not both end the same way: with a machine that is off.

How to set it up

  1. Install the agent

    Settings, Hosts & enrollment gives you one command with your token in it. Run it on the host, compare the code it shows with the one in the dashboard, and approve it.

  2. Give the host a window

    In the host’s settings, set the days and the hours it is expected up, in its own timezone, with a grace period. A window may cross midnight.

  3. Add a reporter for the backup itself

    In /etc/ziix-observer/agent.yaml. A file reporter watches the newest log and pulls numbers out of it; no fresh file within the time you set is an alert.

    reporter.nightly.file: /var/log/backup/nightly-*.log
    reporter.nightly.expect_within: 26h
    reporter.nightly.extract.transferred: transferred (\d+)

How you use it

Outside its window the host is asleep

Not offline. Every rule that measures age stops firing, because they would all be reading numbers that stand still while the machine is off.

The alarm turns around

A host that was expected up and did not come up is critical: that is the night the backup did not happen. One still running long after its window is a warning.

The numbers become graphs

Every number a reporter extracts becomes a measurement with a graph and a rule of its own, such as files transferred per night.

Related use cases

Start with one host

Free covers a single host and seven days of logs. No card needed.