<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Tenium App</title>
    <description>The latest articles on DEV Community by Tenium App (@teniumapp).</description>
    <link>https://dev.to/teniumapp</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4236932%2Feedbabc4-6506-4c37-99cc-c01b08338bc1.png</url>
      <title>DEV Community: Tenium App</title>
      <link>https://dev.to/teniumapp</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/teniumapp"/>
    <language>en</language>
    <item>
      <title>False alerts: why uptime monitors cry wolf and how to stop it</title>
      <dc:creator>Tenium App</dc:creator>
      <pubDate>Mon, 30 Nov 2026 09:18:13 +0000</pubDate>
      <link>https://dev.to/teniumapp/false-alerts-why-uptime-monitors-cry-wolf-and-how-to-stop-it-1pp4</link>
      <guid>https://dev.to/teniumapp/false-alerts-why-uptime-monitors-cry-wolf-and-how-to-stop-it-1pp4</guid>
      <description>&lt;p&gt;An alert that wakes you at night for a site that was fine is worse than no alert. The next one gets a slower reaction, and the one after that gets none. Almost every false alarm has one of five causes.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. One bad route between the checker and the site
&lt;/h2&gt;

&lt;p&gt;The internet is not perfectly reliable. A single request from a single location can fail because of a congested link, a DNS hiccup or a dropped packet, while the site works for everyone else.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fix:&lt;/strong&gt; confirm a failure from a second location before alerting. If two independent places both see the site down, it is down. This is the single biggest cut in false alarms. &lt;a href="https://tenium.app/blog/how-we-confirm-downtime" rel="noopener noreferrer"&gt;How we confirm downtime&lt;/a&gt; describes the approach.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fok299tp39c8alowf1apv.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fok299tp39c8alowf1apv.jpg" alt="A check that loses its way on the route to the site looks like downtime" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. A timeout that is too short
&lt;/h2&gt;

&lt;p&gt;A page that normally answers in 2 seconds and takes 9 during a traffic spike is slow, not down. A 5-second timeout reports it as an outage.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fix:&lt;/strong&gt; set the timeout to what a visitor would wait, usually 20 to 30 seconds, and use a separate slow-response alert for "this is getting slow".&lt;/p&gt;

&lt;h2&gt;
  
  
  3. A firewall or bot filter blocking the monitor
&lt;/h2&gt;

&lt;p&gt;Security plugins, hosting firewalls and CDNs sometimes treat a monitor as a bot and answer 403, 429 or a challenge page. The site is fine for people and "down" for the monitor.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fix:&lt;/strong&gt; allow-list the monitor's IP addresses. Tenium publishes its &lt;a href="https://tenium.app/checker-ips" rel="noopener noreferrer"&gt;checker IP list&lt;/a&gt;. The &lt;a href="https://tenium.app/blog/cloudflare-waf-allow-list-uptime-monitor" rel="noopener noreferrer"&gt;Cloudflare allow-list guide&lt;/a&gt; shows the steps for one common case.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0ctfuwsxwievod3nxoj7.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0ctfuwsxwievod3nxoj7.jpg" alt="A firewall lets the monitor through only when it is allow-listed" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Planned maintenance
&lt;/h2&gt;

&lt;p&gt;A deploy, a database upgrade or a server reboot takes the site down on purpose. A monitor that does not know alerts anyway.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fix:&lt;/strong&gt; schedule a maintenance window for the planned time. The monitor keeps checking but does not alert, and the window is recorded so a report can show it as planned.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Slow starts and brief restarts
&lt;/h2&gt;

&lt;p&gt;Some hosts put a site to sleep when idle, and some deploys restart the application for a few seconds. One failed check right after is normal.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fix:&lt;/strong&gt; add a short alert delay, for example two or three minutes, so a failure must persist before anyone is notified. A delay of a few minutes on a contact only fires if the site is still down when it expires.&lt;/p&gt;

&lt;h2&gt;
  
  
  Do not fix it by making the monitor blind
&lt;/h2&gt;

&lt;p&gt;Stopping false alarms by checking every 30 minutes or by ignoring all 5xx answers trades noise for risk. Keep the check frequent, and remove the cause of each false alarm one at a time:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Look at the failed check: status code, error, which location.&lt;/li&gt;
&lt;li&gt;Match it to one of the five causes above.&lt;/li&gt;
&lt;li&gt;Change one setting, and watch for a week.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  A quick test of your setup
&lt;/h2&gt;

&lt;p&gt;If your monitor alerts on a single failed request from one location, with a 5-second timeout and no maintenance windows, expect false alarms. Add confirmation, lengthen the timeout, add a short delay, allow-list the checker and schedule maintenance. Most setups go quiet after that, and the alerts that remain are worth waking up for.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on the &lt;a href="https://tenium.app/blog/false-alerts-uptime-monitoring?utm_source=dev.to&amp;amp;utm_medium=cross-post&amp;amp;utm_campaign=false-alerts"&gt;Tenium blog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>monitoring</category>
      <category>devops</category>
      <category>webdev</category>
      <category>sre</category>
    </item>
    <item>
      <title>How Tenium confirms downtime from several regions before it wakes you up</title>
      <dc:creator>Tenium App</dc:creator>
      <pubDate>Thu, 26 Nov 2026 07:43:05 +0000</pubDate>
      <link>https://dev.to/teniumapp/how-tenium-confirms-downtime-from-several-regions-before-it-wakes-you-up-o75</link>
      <guid>https://dev.to/teniumapp/how-tenium-confirms-downtime-from-several-regions-before-it-wakes-you-up-o75</guid>
      <description>&lt;p&gt;&lt;em&gt;I'm the author of Tenium, an uptime monitoring service. This is a look inside how its checker decides that a site is really down.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The worst thing a monitoring tool can do is lie to you at 3 a.m. After the second false alarm you start ignoring alerts, and then the real outage slips by. So the central design decision in Tenium's checker is simple: &lt;strong&gt;one region cannot open an incident. A quorum of independent regions can.&lt;/strong&gt; Today that quorum is 2 of our 2 live regions.&lt;/p&gt;

&lt;p&gt;This post explains how that works, what it costs in alert latency, and what you get in the incident record when we do page you.&lt;/p&gt;

&lt;h2&gt;
  
  
  The setup
&lt;/h2&gt;

&lt;p&gt;Tenium runs one checker process per region. 2 regions are live: Amsterdam and London. Each process is a plain Node worker that talks to the same Postgres database. There is no message queue and no Redis; the database is the coordination layer.&lt;/p&gt;

&lt;p&gt;Every monitor has an interval (30 seconds on Pro) and a set of regions. The scheduler in each region claims monitors that are due with a single query:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;UPDATE&lt;/span&gt; &lt;span class="n"&gt;monitors&lt;/span&gt; &lt;span class="k"&gt;SET&lt;/span&gt; &lt;span class="n"&gt;next_check_at&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;now&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="kt"&gt;interval&lt;/span&gt;
&lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt; &lt;span class="k"&gt;IN&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;monitors&lt;/span&gt;
  &lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;next_check_at&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="nb"&gt;now&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="n"&gt;region&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;$1&lt;/span&gt;
  &lt;span class="k"&gt;ORDER&lt;/span&gt; &lt;span class="k"&gt;BY&lt;/span&gt; &lt;span class="n"&gt;next_check_at&lt;/span&gt;
  &lt;span class="k"&gt;LIMIT&lt;/span&gt; &lt;span class="mi"&gt;50&lt;/span&gt;
  &lt;span class="k"&gt;FOR&lt;/span&gt; &lt;span class="k"&gt;UPDATE&lt;/span&gt; &lt;span class="no"&gt;SKIP&lt;/span&gt; &lt;span class="no"&gt;LOCKED&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;RETURNING&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;FOR UPDATE SKIP LOCKED&lt;/code&gt; means several processes can run the same query at the same time and never pick the same row. It is boring and it has not failed us.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpnb6y9vae8eu400t5r0f.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpnb6y9vae8eu400t5r0f.jpg" alt="A failed check is re-checked from other locations before an incident is confirmed" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  A normal check
&lt;/h2&gt;

&lt;p&gt;A check is an HTTP request with a 10-second timeout, a fixed &lt;code&gt;User-Agent: Tenium-Monitor/1.0&lt;/code&gt;, any custom headers you configured, and timing captured at each phase: DNS, TCP connect, TLS handshake, time to first byte, download. We record the status code, response size, the resolved IP, certificate expiry for https, and the first 2 KB of the body if the check failed.&lt;/p&gt;

&lt;p&gt;The result goes into a &lt;code&gt;checks&lt;/code&gt; table with the region code. That is where the uptime percentages and the response-time charts come from.&lt;/p&gt;

&lt;h2&gt;
  
  
  When a check fails
&lt;/h2&gt;

&lt;p&gt;Say Frankfurt gets a &lt;code&gt;503&lt;/code&gt; from &lt;code&gt;shop.clienta.com&lt;/code&gt;. Here is what happens, in order:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The failure is recorded&lt;/strong&gt; as a check result, but no incident is opened and nobody is alerted. The monitor's state in that region becomes "suspect".&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Other regions are asked to check immediately.&lt;/strong&gt; The scheduler inserts rows into a &lt;code&gt;confirmations&lt;/code&gt; table, one for each region asked, picked among the regions that are alive. Those regions pick up the rows within one second, because confirmations are claimed ahead of scheduled checks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Both run the exact same request&lt;/strong&gt;, same headers, same timeout.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;If the quorum agrees it is down&lt;/strong&gt;, the monitor transitions to &lt;code&gt;down&lt;/code&gt;, an incident is opened, and alerts are dispatched. The quorum is three regions, or fewer if fewer are available to the monitor. That means the original failure plus the confirmations. The rule is the same whatever the region count, so a bigger network makes the evidence broader without changing the logic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;If the confirmations succeed&lt;/strong&gt;, the monitor stays &lt;code&gt;up&lt;/code&gt;, the original failure is kept in history as a regional blip, and you see a small grey marker on the chart instead of a red one.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The whole sequence takes 5–15 seconds on top of the original check. That is the price of not lying to you.&lt;/p&gt;

&lt;p&gt;A word on honesty about the design. With the quorum at three, the confirmation is strict: a failure that fewer regions than the quorum can see does not open an incident, although those failures stay in the history. We think that is the right default for avoiding false alarms, and it is why we widen the network rather than loosen the rule.&lt;/p&gt;

&lt;h2&gt;
  
  
  What counts as "down"
&lt;/h2&gt;

&lt;p&gt;A check fails when any of these is true:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Connection refused, DNS failure, or timeout&lt;/li&gt;
&lt;li&gt;Status code outside the expected set (default 2xx and 3xx)&lt;/li&gt;
&lt;li&gt;The keyword is missing (or present, for "must not contain")&lt;/li&gt;
&lt;li&gt;A JSON assertion fails&lt;/li&gt;
&lt;li&gt;The TLS handshake fails, or the certificate is expired or does not match the hostname&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A &lt;strong&gt;slow&lt;/strong&gt; response is not down. Response-time alerts are a separate rule based on the p95 of the last ten checks, so one slow request from a single region does not trigger anything.&lt;/p&gt;

&lt;h2&gt;
  
  
  The incident record
&lt;/h2&gt;

&lt;p&gt;When we do alert you, the message and the incident page contain:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Which regions confirmed, with each one's error and timing&lt;/li&gt;
&lt;li&gt;The HTTP status and the first lines of the response body, so "503 from Cloudflare" and "503 from nginx" look different&lt;/li&gt;
&lt;li&gt;The IP the hostname resolved to in each region, which catches DNS problems instantly&lt;/li&gt;
&lt;li&gt;The certificate expiry if relevant&lt;/li&gt;
&lt;li&gt;A link to acknowledge, which stops escalation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Recovery is confirmed the same way: the monitor must succeed from the quorum of regions before we close the incident and send the "back up, down for 2 m 10 s" message. Flapping sites therefore produce one incident, not twenty.&lt;/p&gt;

&lt;h2&gt;
  
  
  The trade-offs
&lt;/h2&gt;

&lt;p&gt;Confirmation adds up to 15 seconds before an alert. We think that is right for websites; a 15-second delay has never cost anyone a client, and a false 3 a.m. alert has.&lt;/p&gt;

&lt;p&gt;Confirmation also means regional outages are reported as regional. If your site is unreachable only from New York because of a peering problem, you will see it on the chart and the status page can show it as degraded for that region, but we will not call it down unless the other regions agree. If you need a regional alert, you can set a monitor to use a single region, and it will alert on that region alone, with the trade-off clearly labelled.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why not just retry from the same region?
&lt;/h2&gt;

&lt;p&gt;Because a retry from the same place tests the same route, the same resolver cache and the same peering. Most false alerts come from exactly those. A second region is a genuinely independent observer.&lt;/p&gt;

&lt;p&gt;The source IPs for every live region are listed at &lt;a href="https://tenium.app/checker-ips" rel="noopener noreferrer"&gt;/checker-ips&lt;/a&gt; with a JSON feed, so you can allow-list them in firewalls and WAFs. If you run Cloudflare, read &lt;a href="https://tenium.app/blog/cloudflare-waf-allow-list-uptime-monitor" rel="noopener noreferrer"&gt;the WAF allow-list guide&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Related
&lt;/h2&gt;

&lt;p&gt;The user-facing description is in &lt;a href="https://tenium.app/docs/regions-and-confirmation" rel="noopener noreferrer"&gt;regions and confirmation&lt;/a&gt;. To see where confirmation matters most, read about &lt;a href="https://tenium.app/features/multi-location" rel="noopener noreferrer"&gt;multi-location checks&lt;/a&gt;, &lt;a href="https://tenium.app/monitoring/website" rel="noopener noreferrer"&gt;website monitoring&lt;/a&gt; and &lt;a href="https://tenium.app/monitoring/api" rel="noopener noreferrer"&gt;API monitoring&lt;/a&gt;, or run the &lt;a href="https://tenium.app/tools/is-it-down" rel="noopener noreferrer"&gt;is-it-down tool&lt;/a&gt; against your own site. If you are choosing a vendor on this basis, see how &lt;a href="https://tenium.app/compare/uptimerobot" rel="noopener noreferrer"&gt;UptimeRobot&lt;/a&gt; and &lt;a href="https://tenium.app/compare/better-stack" rel="noopener noreferrer"&gt;Better Stack&lt;/a&gt; compare.&lt;/p&gt;




&lt;p&gt;Tenium has a free plan with 50 monitors: &lt;a href="https://tenium.app/?utm_source=dev.to&amp;amp;utm_medium=cross-post&amp;amp;utm_campaign=how-we-confirm-downtime"&gt;tenium.app&lt;/a&gt;. Original post: &lt;a href="https://tenium.app/blog/how-we-confirm-downtime" rel="noopener noreferrer"&gt;tenium.app/blog/how-we-confirm-downtime&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>monitoring</category>
      <category>devops</category>
      <category>postgres</category>
      <category>architecture</category>
    </item>
    <item>
      <title>Five monitoring checks every WordPress site needs (and the one plugin that cannot do them)</title>
      <dc:creator>Tenium App</dc:creator>
      <pubDate>Tue, 17 Nov 2026 08:18:52 +0000</pubDate>
      <link>https://dev.to/teniumapp/five-monitoring-checks-every-wordpress-site-needs-and-the-one-plugin-that-cannot-do-them-3fao</link>
      <guid>https://dev.to/teniumapp/five-monitoring-checks-every-wordpress-site-needs-and-the-one-plugin-that-cannot-do-them-3fao</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on the &lt;a href="https://tenium.app/blog/five-wordpress-checks-every-agency-should-run" rel="noopener noreferrer"&gt;Tenium blog&lt;/a&gt;. I'm the author of Tenium, an uptime monitor for agencies.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;WordPress fails in ways a basic uptime check does not see. The classic example: the database goes away, WordPress renders a tidy page that says "Error establishing a database connection", and returns it with &lt;strong&gt;HTTP 200&lt;/strong&gt;. Your monitor says everything is fine. Your client's customers see an error.&lt;/p&gt;

&lt;p&gt;Here are the five external checks we set up on every WordPress site, why each exists, and how to configure them. Together they make a standard set you can create in Tenium by hand or from a CSV; there is no one-click template.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Home page: status code plus keyword
&lt;/h2&gt;

&lt;p&gt;The home page check should require two things: a 2xx status and the presence of a phrase that only appears when the site rendered properly.&lt;/p&gt;

&lt;p&gt;The phrase does not have to be visible text. &lt;code&gt;wp-content&lt;/code&gt; is a good default because every properly rendered WordPress page references assets under that path, while the database error page and most PHP fatal error pages do not. For shops, use a phrase from the real page: the store name in the footer, or the first product title.&lt;/p&gt;

&lt;p&gt;Also add a &lt;strong&gt;must not contain&lt;/strong&gt; rule for &lt;code&gt;Error establishing a database connection&lt;/code&gt; and &lt;code&gt;Fatal error&lt;/code&gt;. That turns the common failure modes into explicit alerts with a useful message, instead of "keyword missing".&lt;/p&gt;

&lt;p&gt;Interval: 30 or 60 seconds. This is the one that pages you.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2nageuivbmntz41ibqrq.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2nageuivbmntz41ibqrq.jpg" alt="Five checks for a WordPress site: home page, login, checkout, SSL and scheduled jobs" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. The login page
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;/wp-login.php&lt;/code&gt; is where security plugins and WAFs misbehave. Wordfence rate-limits, a Cloudflare rule challenges everyone, a plugin update renames the login URL, or a hosting firewall blocks a country that includes your office. The site is up, but nobody can log in, including you, and the client's editor is the one who finds out.&lt;/p&gt;

&lt;p&gt;Monitor &lt;code&gt;https://example.com/wp-login.php&lt;/code&gt; and expect a 200 with the keyword &lt;code&gt;user_login&lt;/code&gt;. If you have moved the login URL, monitor the new one. Interval: 5 minutes is plenty.&lt;/p&gt;

&lt;p&gt;Caveat: a security plugin may block repeated requests to the login page. Allow-list the monitor's IPs or User-Agent in the plugin; see the &lt;a href="https://tenium.app/blog/cloudflare-waf-allow-list-uptime-monitor" rel="noopener noreferrer"&gt;Cloudflare guide&lt;/a&gt; for the pattern.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. wp-cron heartbeat
&lt;/h2&gt;

&lt;p&gt;WordPress has no real cron. Scheduled posts, backups, WooCommerce stock syncs and plugin housekeeping all run from &lt;code&gt;wp-cron.php&lt;/code&gt;, which is triggered by page visits. On a quiet site, or one where a developer disabled &lt;code&gt;wp-cron&lt;/code&gt; without replacing it, scheduled jobs silently stop. The site looks healthy. Backups have not run for three months.&lt;/p&gt;

&lt;p&gt;The fix is a heartbeat monitor: a unique URL that expects a ping at least every N minutes. Heartbeat monitors start on the Starter plan. Create one in Tenium with a period of 15 minutes and a grace of 15 minutes, then drop this must-use plugin into &lt;code&gt;wp-content/mu-plugins/tenium-heartbeat.php&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="o"&gt;&amp;lt;?&lt;/span&gt;&lt;span class="n"&gt;php&lt;/span&gt;
&lt;span class="cm"&gt;/* Plugin Name: Tenium heartbeat */&lt;/span&gt;
&lt;span class="nf"&gt;add_action&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'init'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nf"&gt;wp_next_scheduled&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'tenium_heartbeat'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nf"&gt;wp_schedule_event&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;time&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'hourly'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'tenium_heartbeat'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nf"&gt;add_filter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'cron_schedules'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$s&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nv"&gt;$s&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'tenium_15'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'interval'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;900&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'display'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'Every 15 minutes'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nv"&gt;$s&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nf"&gt;add_action&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'tenium_heartbeat'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nf"&gt;wp_remote_get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'https://ping.tenium.app/h/YOUR_HEARTBEAT_ID'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'timeout'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'blocking'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Change &lt;code&gt;'hourly'&lt;/code&gt; to &lt;code&gt;'tenium_15'&lt;/code&gt; once the schedule is registered, or just leave it hourly with a 90-minute period. If wp-cron stops, the heartbeat goes quiet and you get an alert that says exactly that.&lt;/p&gt;

&lt;p&gt;Bonus: if you have replaced wp-cron with a real system cron (&lt;code&gt;*/5 * * * * wp cron event run --due-now&lt;/code&gt;), append &lt;code&gt;&amp;amp;&amp;amp; curl -fsS https://ping.tenium.app/h/YOUR_ID&lt;/code&gt; to that line instead.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. SSL certificate expiry
&lt;/h2&gt;

&lt;p&gt;Let's Encrypt renews automatically until the day it does not: a changed DNS record, a closed port 80, a rate limit, a hosting migration. An external SSL monitor reads the certificate visitors actually see and alerts at 30, 14 and 3 days before expiry, plus immediately if the chain breaks or the hostname does not match.&lt;/p&gt;

&lt;p&gt;Every https monitor in Tenium records expiry as a side effect, so your home-page check already does this. A dedicated SSL monitor adds chain and issuer checks and shows a clear "61 days left" on the client's status page and monthly report. If you have ever had to &lt;a href="https://tenium.app/blog/ssl-certificate-expired-what-to-do" rel="noopener noreferrer"&gt;recover an expired certificate&lt;/a&gt; on a Monday morning, you will not skip this one.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Domain expiry
&lt;/h2&gt;

&lt;p&gt;The domain is usually registered in the client's name, on a card that expired two years ago, with renewal emails going to a former employee. You find out when the home page is a parking page full of ads, and that is 100% downtime with reputational damage on top.&lt;/p&gt;

&lt;p&gt;A domain monitor checks the registry via RDAP or WHOIS weekly and alerts 60, 30, 14 and 7 days before expiry. It also flags nameserver changes and &lt;code&gt;clientHold&lt;/code&gt; statuses. For an agency with forty client domains, the monitor list doubles as the renewal calendar, and the expiry date appears on each client's report, which tends to prompt the renewal conversation at the right time.&lt;/p&gt;

&lt;h2&gt;
  
  
  The plugin that cannot do this
&lt;/h2&gt;

&lt;p&gt;Management plugins and services (ManageWP, MainWP, WP Umbrella and friends) are excellent at updates, backups and security scans from inside WordPress. They cannot tell you the site is down, because when the site is down the plugin is down with it. External monitoring and in-site management are complementary; use both, and put both on the &lt;a href="https://tenium.app/blog/selling-monitoring-as-a-care-plan" rel="noopener noreferrer"&gt;care plan&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Setting it up for forty sites
&lt;/h2&gt;

&lt;p&gt;In Tenium, paste the site URLs one per line or upload a CSV: each URL becomes an HTTP monitor, and you add the keyword, certificate and domain checks per site (or list them as extra CSV rows with a type and keyword). Forty sites is about 200 monitors, which fits the Pro plan at $29 a month. If you also want each site in its own client workspace, with a client login and a branded report sent on the 1st, that is the Agency plan at $59, which has room for 500 monitors.&lt;/p&gt;

&lt;p&gt;See &lt;a href="https://tenium.app/monitoring/wordpress" rel="noopener noreferrer"&gt;WordPress monitoring&lt;/a&gt; for the details of each check.&lt;/p&gt;

&lt;h2&gt;
  
  
  Related
&lt;/h2&gt;

&lt;p&gt;Each of the five checks has a page of its own: &lt;a href="https://tenium.app/monitoring/website" rel="noopener noreferrer"&gt;website monitoring&lt;/a&gt;, &lt;a href="https://tenium.app/monitoring/keyword" rel="noopener noreferrer"&gt;keyword monitoring&lt;/a&gt;, &lt;a href="https://tenium.app/monitoring/cron" rel="noopener noreferrer"&gt;cron job monitoring&lt;/a&gt;, &lt;a href="https://tenium.app/monitoring/ssl" rel="noopener noreferrer"&gt;SSL monitoring&lt;/a&gt; and &lt;a href="https://tenium.app/monitoring/domain" rel="noopener noreferrer"&gt;domain expiry monitoring&lt;/a&gt;. For the audience view, see &lt;a href="https://tenium.app/solutions/wordpress" rel="noopener noreferrer"&gt;monitoring for WordPress sites&lt;/a&gt;, and test any URL with the &lt;a href="https://tenium.app/tools/http-headers" rel="noopener noreferrer"&gt;HTTP headers tool&lt;/a&gt;. Agencies can see how this scales in &lt;a href="https://tenium.app/agencies" rel="noopener noreferrer"&gt;for agencies&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you look after many client sites, there is a free plan (50 monitors): &lt;a href="https://tenium.app/?utm_source=dev.to&amp;amp;utm_medium=cross-post&amp;amp;utm_campaign=wordpress-checks"&gt;https://tenium.app/?utm_source=dev.to&amp;amp;utm_medium=cross-post&amp;amp;utm_campaign=wordpress-checks&lt;/a&gt;&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>webdev</category>
      <category>monitoring</category>
    </item>
    <item>
      <title>How to write an incident update clients read</title>
      <dc:creator>Tenium App</dc:creator>
      <pubDate>Tue, 17 Nov 2026 08:17:40 +0000</pubDate>
      <link>https://dev.to/teniumapp/how-to-write-an-incident-update-clients-read-1jbn</link>
      <guid>https://dev.to/teniumapp/how-to-write-an-incident-update-clients-read-1jbn</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on the &lt;a href="https://tenium.app/blog/write-an-incident-update-clients-read" rel="noopener noreferrer"&gt;Tenium blog&lt;/a&gt;. I'm the author of Tenium, an uptime monitor for agencies.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;During an outage the client is not reading your update for information. They are reading it to decide whether to panic. A good update answers that question in the first line, and every line after it supports the answer.&lt;/p&gt;

&lt;h2&gt;
  
  
  The three questions
&lt;/h2&gt;

&lt;p&gt;Every incident message should answer these, in this order:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Do you know about it?&lt;/strong&gt; The client should never be the one to tell you the site is down.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What is affected?&lt;/strong&gt; "The checkout page" is a very different message from "the whole site".&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;When will you say more?&lt;/strong&gt; Not when it will be fixed, because you may not know. When the next update comes.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn304ptwkkyu2ndtfeuw1.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn304ptwkkyu2ndtfeuw1.jpg" alt="An incident timeline: investigating, identified, monitoring, resolved" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  A structure that works
&lt;/h2&gt;

&lt;p&gt;Four short parts are enough:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Status:&lt;/strong&gt; Investigating, Identified, Monitoring or Resolved. Four words the client learns once.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Impact:&lt;/strong&gt; what a visitor sees right now, in their words.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Action:&lt;/strong&gt; what you are doing about it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Next update:&lt;/strong&gt; a time.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An example: "Investigating. Visitors see an error page on the shop. We know about it and are checking the server. Next update by 14:30."&lt;/p&gt;

&lt;h2&gt;
  
  
  Things to avoid
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Guessing the cause.&lt;/strong&gt; "Probably the host" is wrong often enough to hurt. Say what you know.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Promising a fix time you do not control.&lt;/strong&gt; Promise an update time instead.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Technical vocabulary.&lt;/strong&gt; If you must use a term, explain it once.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Silence.&lt;/strong&gt; An hour without a message looks like an hour of nothing happening, even when it is not.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  After the incident
&lt;/h2&gt;

&lt;p&gt;Close the loop with a short summary: what happened, how long it lasted, what you changed. Two or three sentences, no blame. The close-out is the part clients remember, and it is where you show the work.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where to post it
&lt;/h2&gt;

&lt;p&gt;Email works for a client who sits at their desk. A public status page works for everyone else: their customers, their staff and the person who just wants to check without writing to you. On a Tenium status page each incident keeps a timeline of updates, so the history is there afterwards, and on Pro and above the page runs on your own domain with your branding. The detail is on the &lt;a href="https://tenium.app/features/status-pages" rel="noopener noreferrer"&gt;status pages&lt;/a&gt; page, and &lt;a href="https://tenium.app/features/incident-management" rel="noopener noreferrer"&gt;incident management&lt;/a&gt; covers how updates are recorded.&lt;/p&gt;

&lt;p&gt;If you want the technical side of the first fifteen minutes, read &lt;a href="https://tenium.app/blog/website-down-what-to-do" rel="noopener noreferrer"&gt;website down: what to do in the first 15 minutes&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you look after many client sites, there is a free plan (50 monitors): &lt;a href="https://tenium.app/?utm_source=dev.to&amp;amp;utm_medium=cross-post&amp;amp;utm_campaign=incident-update"&gt;https://tenium.app/?utm_source=dev.to&amp;amp;utm_medium=cross-post&amp;amp;utm_campaign=incident-update&lt;/a&gt;&lt;/p&gt;

</description>
      <category>sre</category>
      <category>agency</category>
    </item>
    <item>
      <title>Your SSL certificate expired. Here is what to do in the next 20 minutes</title>
      <dc:creator>Tenium App</dc:creator>
      <pubDate>Thu, 12 Nov 2026 13:20:33 +0000</pubDate>
      <link>https://dev.to/teniumapp/your-ssl-certificate-expired-here-is-what-to-do-in-the-next-20-minutes-49ba</link>
      <guid>https://dev.to/teniumapp/your-ssl-certificate-expired-here-is-what-to-do-in-the-next-20-minutes-49ba</guid>
      <description>&lt;p&gt;The call usually comes from the client: "The site says it is not secure." Every browser is showing a full-page warning, nobody can get past it, and the shop has been taking zero orders since midnight. An expired certificate is a complete outage with a scary message attached.&lt;/p&gt;

&lt;p&gt;Here is the order of operations. The first part gets the site back. The second part makes sure you never have this conversation again.&lt;/p&gt;

&lt;h2&gt;
  
  
  Minute 0: confirm it is actually expiry
&lt;/h2&gt;

&lt;p&gt;Run this from any machine:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; openssl s_client -servername example.com -connect example.com:443 2&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;/dev/null &lt;span class="o"&gt;|&lt;/span&gt; openssl x509 -noout -dates -issuer
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You get &lt;code&gt;notBefore&lt;/code&gt;, &lt;code&gt;notAfter&lt;/code&gt; and the issuer. If &lt;code&gt;notAfter&lt;/code&gt; is in the past, it is expiry. If the dates are fine but browsers still complain, skip to the chain section below, because the problem is a missing intermediate or a hostname mismatch, not expiry.&lt;/p&gt;

&lt;p&gt;Also check whether the site is behind Cloudflare or another proxy. If Cloudflare is in front with "Full" SSL mode, the certificate visitors see is Cloudflare's and it renews itself. The expired one is on the origin, and the fix is the same but the urgency is lower; set Cloudflare to "Full" rather than "Full (strict)" for an hour if you need breathing room.&lt;/p&gt;

&lt;h2&gt;
  
  
  Minute 2: find out how the certificate was issued
&lt;/h2&gt;

&lt;p&gt;Look at the issuer from the command above.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Let's Encrypt (R10, R11, E5, E6 and similar):&lt;/strong&gt; something automated was supposed to renew it and did not. Log into the server and find the client: &lt;code&gt;certbot&lt;/code&gt;, &lt;code&gt;acme.sh&lt;/code&gt;, Caddy, Traefik, a cPanel AutoSSL, or a hosting panel.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A commercial CA (DigiCert, Sectigo, GlobalSign):&lt;/strong&gt; someone bought it a year ago and the renewal email went to an inbox nobody reads. You need to buy or renew and install manually.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hosting-managed (Kinsta, WP Engine, Cloudways, SiteGround):&lt;/strong&gt; open their panel; usually there is a "renew" or "reissue" button and support can force it.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Minute 5: renew with Let's Encrypt
&lt;/h2&gt;

&lt;p&gt;On a server with certbot:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;sudo certbot renew --force-renewal
sudo systemctl reload nginx   &lt;span class="c"&gt;# or apache2&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If that fails, read the error. The common causes:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;DNS changed.&lt;/strong&gt; The domain now points at Cloudflare or a new host, and the HTTP-01 challenge is hitting the wrong server. Use the DNS-01 challenge or run certbot where the traffic actually lands.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Port 80 is closed.&lt;/strong&gt; HTTP-01 needs port 80 open from the internet. A well-meaning firewall change broke it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rate limited.&lt;/strong&gt; Let's Encrypt allows 5 duplicate certificates a week. If a broken cron has been retrying for days, you have hit it. Wait, or issue for a slightly different set of names (add &lt;code&gt;www.&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The cron or systemd timer is gone.&lt;/strong&gt; &lt;code&gt;systemctl list-timers | grep certbot&lt;/code&gt; should show one. If not, &lt;code&gt;sudo systemctl enable --now certbot.timer&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;With Caddy or Traefik, restart the service and read the log; they renew on start.&lt;/p&gt;

&lt;h2&gt;
  
  
  Minute 10: renew a commercial certificate
&lt;/h2&gt;

&lt;p&gt;Log in to the CA, renew, and generate a new CSR on the server:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;openssl req -new -newkey rsa:2048 -nodes -keyout example.com.key -out example.com.csr
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Complete validation (email or DNS), download the certificate &lt;strong&gt;and the intermediate bundle&lt;/strong&gt;, install both, and reload the web server. Do not skip the bundle; that is how you end up with a certificate that works in Chrome on your machine and fails on Android.&lt;/p&gt;

&lt;h2&gt;
  
  
  Minute 15: verify the chain, not just the dates
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; openssl s_client -servername example.com -connect example.com:443 -showcerts 2&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;/dev/null &lt;span class="o"&gt;|&lt;/span&gt; grep -E &lt;span class="s2"&gt;"s:|i:"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You should see the leaf, then one or two intermediates, ending in a root the client trusts. "unable to get local issuer certificate" means an intermediate is missing. Test from a second device on mobile data; corporate networks cache certificates in ways that hide problems.&lt;/p&gt;

&lt;p&gt;Then open the site in a private window. If the warning is gone, tell the client, and write down what broke.&lt;/p&gt;

&lt;h2&gt;
  
  
  Never again: three layers of protection
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Fix the automation.&lt;/strong&gt; Whatever renewal mechanism failed, make it fail loudly. With certbot, add a &lt;code&gt;--deploy-hook&lt;/code&gt; that pings a heartbeat URL on success, so silence means trouble. With a hosting panel, turn on their expiry email and route it to a shared inbox.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Monitor expiry from the outside.&lt;/strong&gt; Automation fails silently more often than people expect. An external SSL monitor reads the certificate your visitors see and alerts at 30, 14 and 3 days before expiry. Any monitoring tool with certificate checks will do; what matters is that the alert lands in a channel somebody actually reads, and that it covers every hostname, including the forgotten staging and mail ones.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Put it on the client report.&lt;/strong&gt; A line that says "SSL certificate: valid, 61 days remaining" in the monthly report makes the client feel looked after and makes you check it once a month without thinking about it.&lt;/p&gt;

&lt;h2&gt;
  
  
  A note on 90-day and 47-day certificates
&lt;/h2&gt;

&lt;p&gt;The industry is moving to shorter certificate lifetimes. Let's Encrypt is 90 days today and the CA/Browser Forum has agreed a path towards 47-day certificates by 2029. That makes automation mandatory and makes external monitoring the only sane safety net: if renewal breaks, you have days, not months, before visitors see a warning. Set it up now, while the last outage is fresh.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I work on &lt;a href="https://tenium.app" rel="noopener noreferrer"&gt;Tenium&lt;/a&gt;, an uptime monitoring tool for people who look after many client sites. This article is general advice and does not require it.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>devops</category>
      <category>ssl</category>
    </item>
    <item>
      <title>Monitor a cron job with one curl command</title>
      <dc:creator>Tenium App</dc:creator>
      <pubDate>Wed, 11 Nov 2026 16:20:20 +0000</pubDate>
      <link>https://dev.to/teniumapp/monitor-a-cron-job-with-one-curl-command-36p8</link>
      <guid>https://dev.to/teniumapp/monitor-a-cron-job-with-one-curl-command-36p8</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on the &lt;a href="https://tenium.app/blog/cron-job-monitoring-with-curl" rel="noopener noreferrer"&gt;Tenium blog&lt;/a&gt;. I am the author of Tenium, an uptime monitor for agencies.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The nightly backup has been failing for three weeks. Nobody knew, because a cron job that fails produces no error page, no red status and no customer complaint. It produces a restore attempt in month four that finds nothing.&lt;/p&gt;

&lt;p&gt;The fix is small enough to fit in one line of your crontab. This guide shows the pattern, the variations for the platforms you probably use, and the mistakes that make a heartbeat monitor lie.&lt;/p&gt;

&lt;h3&gt;
  
  
  The idea: let the job check in
&lt;/h3&gt;

&lt;p&gt;A normal uptime monitor asks your site “are you there?” A scheduled job has nothing to ask. The only signal is that it ran. So you reverse the direction: when the job finishes, it requests a URL. If that request does not arrive on time, the monitor alerts you.&lt;/p&gt;

&lt;p&gt;Silence is the failure signal. That is why it catches jobs that never start.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 1: create the monitor
&lt;/h3&gt;

&lt;p&gt;Create a heartbeat monitor. You get a URL of the form &lt;code&gt;https://ping.tenium.app/h/&amp;lt;id&amp;gt;&lt;/code&gt;. The ID is the secret, so treat the URL like a password and keep it out of public repositories.&lt;/p&gt;

&lt;p&gt;Choose how the schedule is expressed:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A period (every 15 minutes) for workers and queue consumers.&lt;/li&gt;
&lt;li&gt;A cron expression with a time zone (&lt;code&gt;0 3 * * *&lt;/code&gt;, Europe/Tallinn) for jobs that run at fixed times. If you are unsure about the expression, the cron expression builder reads it back in plain English and lists the next five runs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then set the grace time: the longest normal run plus a margin.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 2: add the line to your crontab
&lt;/h3&gt;

&lt;p&gt;The smallest useful version:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;0 3 * * * /usr/local/bin/backup.sh &amp;amp;&amp;amp; curl -fsS -m 10 --retry 3 https://ping.tenium.app/h/abc123 &amp;gt; /dev/null
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Three details in that line matter:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;&amp;amp;&amp;amp;&lt;/code&gt; means curl runs only if the script exited with success. With &lt;code&gt;;&lt;/code&gt; you would report success for a failed job.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;-m 10 --retry 3&lt;/code&gt; stops a slow network from hanging the cron entry and retries a failed ping.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;-fsS&lt;/code&gt; fails on HTTP errors, stays quiet on success and still prints errors, which cron mails to you.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To report failures right away instead of waiting for the grace window to run out:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;0 3 * * * /usr/local/bin/backup.sh &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; curl -fsS -m 10 https://ping.tenium.app/h/abc123 &lt;span class="o"&gt;||&lt;/span&gt; curl -fsS -m 10 https://ping.tenium.app/h/abc123/fail
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 3 (better): wrap the job once
&lt;/h3&gt;

&lt;p&gt;When you have ten jobs, copy-pasting that line gets messy. A small wrapper keeps it in one place and sends the exit code and the end of the output, which then appear in the incident:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;#!/bin/sh&lt;/span&gt;
&lt;span class="c"&gt;# usage: ping-wrap ID command args...&lt;/span&gt;

&lt;span class="nv"&gt;BASE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"https://ping.tenium.app/h/$ID"&lt;/span&gt;
curl -fsS -m 10 &lt;span class="s2"&gt;"$BASE/start"&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; /dev/null
&lt;span class="nv"&gt;OUT&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;$(&lt;/span&gt;&lt;span class="s2"&gt;"$@"&lt;/span&gt; 2&lt;span class="o"&gt;&amp;gt;&amp;amp;&lt;/span&gt;1&lt;span class="o"&gt;)&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="nv"&gt;CODE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;$?&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt; &lt;span class="s2"&gt;"$CODE"&lt;/span&gt; -eq 0 &lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;then&lt;/span&gt;
  curl -fsS -m 10 --retry 3 &lt;span class="s2"&gt;"$BASE"&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; /dev/null
&lt;span class="k"&gt;else&lt;/span&gt;
  &lt;span class="nb"&gt;printf&lt;/span&gt; &lt;span class="s1"&gt;'%s'&lt;/span&gt; &lt;span class="s2"&gt;"$OUT"&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; tail -c 4000 &lt;span class="o"&gt;|&lt;/span&gt; curl -fsS -m 10 --data-binary @- &lt;span class="s2"&gt;"$BASE/fail?exit=$CODE"&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; /dev/null
&lt;span class="k"&gt;fi&lt;/span&gt;
&lt;span class="nb"&gt;exit&lt;/span&gt; &lt;span class="s2"&gt;"$CODE"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Use it as &lt;code&gt;0 3 * * * /usr/local/bin/ping-wrap abc123 /usr/local/bin/backup.sh&lt;/code&gt;. The &lt;code&gt;/start&lt;/code&gt; call enables duration tracking: you see how long the job takes, and a job that starts but never finishes shows up as late.&lt;/p&gt;

&lt;h3&gt;
  
  
  Choosing the period and the grace
&lt;/h3&gt;

&lt;p&gt;The two numbers decide how fast you hear about a problem and how often you are woken by nothing. Start from how the job really behaves, not from how it is meant to behave.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Job&lt;/th&gt;
&lt;th&gt;Schedule&lt;/th&gt;
&lt;th&gt;Grace&lt;/th&gt;
&lt;th&gt;Why&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Nightly database backup&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0 3 * * *&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;45 minutes&lt;/td&gt;
&lt;td&gt;Runs 10 to 25 minutes; month-end is slower&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Queue worker heartbeat&lt;/td&gt;
&lt;td&gt;every 5 minutes&lt;/td&gt;
&lt;td&gt;5 minutes&lt;/td&gt;
&lt;td&gt;One missed ping is a stuck worker, so be strict&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hourly import from a supplier&lt;/td&gt;
&lt;td&gt;&lt;code&gt;15 * * * *&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;20 minutes&lt;/td&gt;
&lt;td&gt;The supplier’s API is sometimes slow&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Weekly report e-mail&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0 7 * * 1&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;2 hours&lt;/td&gt;
&lt;td&gt;Waits for other jobs to finish first&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Look at the last ten runs before you pick a grace: take the slowest, add half of it, and round up. Review it when the job gets slower.&lt;/p&gt;

&lt;h3&gt;
  
  
  Test it before you trust it
&lt;/h3&gt;

&lt;p&gt;A monitor you have never seen fail is a guess. Test all three outcomes once, on a quiet afternoon:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Run the curl line by hand and check the monitor turns up with a fresh ping time.&lt;/li&gt;
&lt;li&gt;Request the &lt;code&gt;/fail&lt;/code&gt; URL by hand and confirm that the incident opens and the alert reaches the contact you actually read.&lt;/li&gt;
&lt;li&gt;Comment the job out of the crontab, wait for the period plus the grace to pass, and confirm the “no ping” alert arrives. Then put the job back.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Write the monitor’s name and the job’s owner next to the crontab entry. In a year, nobody will remember which of twenty heartbeats belongs to which script.&lt;/p&gt;

&lt;h3&gt;
  
  
  Variations by platform
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;systemd timer.&lt;/strong&gt; Add a line to the service unit:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight systemd"&gt;&lt;code&gt;&lt;span class="k"&gt;[Service]&lt;/span&gt;
&lt;span class="na"&gt;Type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;oneshot&lt;/span&gt;
&lt;span class="na"&gt;ExecStart&lt;/span&gt;&lt;span class="o"&gt;=/&lt;/span&gt;&lt;span class="n"&gt;usr&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;local&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bin&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;backup&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sh&lt;/span&gt;
&lt;span class="na"&gt;ExecStartPost&lt;/span&gt;&lt;span class="o"&gt;=/&lt;/span&gt;&lt;span class="n"&gt;usr&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bin&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;curl&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;fsS&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt; &lt;span class="n"&gt;https&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="c1"&gt;//ping.tenium.app/h/abc123&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With &lt;code&gt;Type=oneshot&lt;/code&gt;, &lt;code&gt;ExecStartPost&lt;/code&gt; runs only after &lt;code&gt;ExecStart&lt;/code&gt; finished successfully, so a failed job sends no ping.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Docker.&lt;/strong&gt; Ping from the same shell command as the job, because a container that exits has no “after”:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker run --rm myimage sh -c &lt;span class="s1"&gt;'run-job &amp;amp;&amp;amp; wget -q -O- https://ping.tenium.app/h/abc123'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Kubernetes CronJob.&lt;/strong&gt; Add the ping as the last step of the container command, or run a second container in the pod that waits for the first. Keep the ID in a Secret, not in the manifest.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Windows Task Scheduler.&lt;/strong&gt; As a PowerShell action: &lt;code&gt;.\backup.ps1; if ($?) { Invoke-RestMethod https://ping.tenium.app/h/abc123 | Out-Null }&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;WordPress.&lt;/strong&gt; &lt;code&gt;wp-cron&lt;/code&gt; runs only when somebody visits.&lt;/p&gt;

&lt;h3&gt;
  
  
  Mistakes that make a heartbeat lie
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Pinging at the start only. You learn that the job began, not that it finished. Ping at the end, use &lt;code&gt;/start&lt;/code&gt; as an extra.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;;&lt;/code&gt; instead of &lt;code&gt;&amp;amp;&amp;amp;&lt;/code&gt;. The ping goes out even though the script failed.&lt;/li&gt;
&lt;li&gt;Pinging from a different place than the job runs. If the job is on server A and the cron ping is on server B, the monitor says nothing about A.&lt;/li&gt;
&lt;li&gt;A grace period shorter than the worst run. Month-end runs are the slowest. Size the grace for them.&lt;/li&gt;
&lt;li&gt;Time zone drift. A cron expression in the monitor must use the same zone as the server, including daylight saving changes.&lt;/li&gt;
&lt;li&gt;Overlapping runs. A job that takes longer than its interval starts twice. Use &lt;code&gt;flock -n /tmp/backup.lock&lt;/code&gt; in front of the script, and let the monitor tell you when runs are skipped.&lt;/li&gt;
&lt;li&gt;Success that means nothing. A backup script that exits 0 after writing an empty file is a green light on a broken backup. Make the script check the output size, or run a restore test and ping only if it passes.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  What to put in front of it
&lt;/h3&gt;

&lt;p&gt;For every job that matters, the checklist is short: a heartbeat with a sensible grace, an alert contact you read (email on every plan, Telegram on paid plans), and a note of who owns the job.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I work on &lt;a href="https://tenium.app" rel="noopener noreferrer"&gt;Tenium&lt;/a&gt;, an uptime monitoring tool. The heartbeat monitoring described above is one of its features, but the &lt;code&gt;curl&lt;/code&gt; technique works with any tool that accepts a ping URL.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>devops</category>
      <category>bash</category>
      <category>monitoring</category>
      <category>cron</category>
    </item>
  </channel>
</rss>
