Appearance
Monitor a Site
Monitoring starts with choosing the target. Websites and services are the obvious case, but campaigns and embeds count too: a new social campaign across Instagram and Facebook, or a site that plays hosted YouTube videos. latency covers both.
Every monitor can link an optional service whose issues also raise alerts. Those alerts come from official provider status pages and our own probes.
Monitors consist of several parts (tasks, schedules, alerts), which together form each monitor's configuration.
A basic website monitor from the CLI:
bash
$ latency monitor https://google.comThis creates a TCP monitor for the Google homepage on port 443.
Bare IP addresses work too:
bash
$ latency monitor 1.1.1.1The monitor command picks a check from the input: IP addresses default to ICMP, hostnames to TCP.
A flag overrides the default:
bash
$ latency monitor https://google.com --with.icmpOr a specific port on an IP with ICMP:
bash
$ latency monitor 1.1.1.1:443 --with.icmpThe --with.* flags add sub-tasks that run alongside the monitor.
Tasks lists the available sub-tasks and how to build custom ones.
Monitors run once a minute by default; the interval is configurable:
bash
$ latency monitor 1.1.1.1 --interval=120
# can use m, hr, d, wk, mo, y
$ latency monitor 1.1.1.1 --interval=30mSigned-in sessions can also set an alert contact when adding a monitor:
bash
$