Email pings

Some systems can send an email when they finish but cannot make HTTP requests, such as backup appliances, NAS boxes and older schedulers. Every check also has an email address, and an email to it is a ping.

f3a1c6e2-8d4b-4c7a-9e15-2b6d0c9a7f31@crony.sh

The address is the check's UUID at crony.sh. Mail to an address that belongs to no check is rejected. Emails appear in the check's log beside HTTP pings, with the sender in place of a user agent.

What an email reports

With keyword filtering off, which is the default, every email counts as a success. A check that is paused and set to resume only by hand logs the email as ignored.

Many tools send the same address a message for every outcome, with the result in the subject. Switch on keyword filtering for the subject, the body or both, and Crony decides from the words in the email whether it reports a start, a success or a failure. With both switched on, Crony searches the subject and the body together as one text. A failure keyword in either one therefore wins over a success keyword in the other.

What is stored

Crony stores the subject and the body, cut to the plan's body limit, like the body of an HTTP ping. A subject with letters outside plain ASCII often arrives in an encoded form such as =?UTF-8?B?...?=. Crony decodes it before searching and storing it, so keywords in the subject match the words as they were written. The body is stored and searched exactly as it arrived, without decoding. In a message sent as base64 or as several MIME parts, the words may not appear as plain text, so keywords in the body may not match. The check's log shows what Crony stored, so look there before choosing keywords.

Rate limit

Email pings share the rate limit of 5 pings in a one-minute window for each check with HTTP pings. Mail beyond it is rejected and not recorded.