<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>why = WHY_NOT; (Posts about monitoring)</title><link>https://blog.svedr.in/</link><description></description><atom:link href="https://blog.svedr.in/categories/monitoring.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><lastBuildDate>Sun, 15 Feb 2026 11:29:07 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Monitoring DNS replication</title><link>https://blog.svedr.in/posts/monitoring-dns-replication/</link><dc:creator>Svedrin</dc:creator><description>&lt;div&gt;&lt;p&gt;Suppose you’re running a few DNS servers spread across multiple
locations in your infrastructure, and you want to monitor DNS
replication to make sure they’re all on the same page. Here’s an
approach on how to do that using Prometheus and a bit of scripting.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.svedr.in/posts/monitoring-dns-replication/"&gt;Read more…&lt;/a&gt; (2 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>directory</category><category>monitoring</category><guid>https://blog.svedr.in/posts/monitoring-dns-replication/</guid><pubDate>Fri, 03 Apr 2020 12:55:34 GMT</pubDate></item><item><title>Processing Prometheus alerts using NodeRED</title><link>https://blog.svedr.in/posts/processing-prometheus-alerts-using-nodered/</link><dc:creator>Svedrin</dc:creator><description>&lt;div&gt;&lt;p&gt;I’m currently building some home automation stuff using NodeRED. One
of the things I need to do is trigger home automation actions from
Prometheus: I’m monitoring our Solar panels using it, and I want the
shutters to go down whenever it’s sunny outside. I have a Prometheus
alert rule that tells me when that is. But how can I trigger NodeRED
from there?&lt;/p&gt;
&lt;p&gt;As an extra challenge, I wanted to see if I can actually do this
without writing a single line of code. I do need a couple more nodes
this way, but it works and it’s not all that complicated. Here’s how
it’s done.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.svedr.in/posts/processing-prometheus-alerts-using-nodered/"&gt;Read more…&lt;/a&gt; (7 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>embedded</category><category>monitoring</category><guid>https://blog.svedr.in/posts/processing-prometheus-alerts-using-nodered/</guid><pubDate>Tue, 11 Dec 2018 18:51:52 GMT</pubDate></item><item><title>Systemd template for Docker containers</title><link>https://blog.svedr.in/posts/systemd-template-for-docker-containers/</link><dc:creator>Svedrin</dc:creator><description>&lt;div&gt;&lt;p&gt;Here’s a systemd service template for running Dockerized services,
for example the Prometheus Blackbox Exporter.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.svedr.in/posts/systemd-template-for-docker-containers/"&gt;Read more…&lt;/a&gt; (1 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>linux</category><category>monitoring</category><guid>https://blog.svedr.in/posts/systemd-template-for-docker-containers/</guid><pubDate>Mon, 09 Jul 2018 13:48:32 GMT</pubDate></item><item><title>Prometheus quick start</title><link>https://blog.svedr.in/posts/prometheus-quick-start/</link><dc:creator>Svedrin</dc:creator><description>&lt;div&gt;&lt;p&gt;Here's a little quick start procedure I like to use to get the &lt;a class="reference external" href="https://prometheus.io/"&gt;Prometheus&lt;/a&gt; monitoring system up and running, featuring Prometheus itself, the node and SNMP exporters, separate directories for configured and discovered targets and a couple of basic alerts.&lt;/p&gt;
&lt;p&gt;So far, I used this on Ubuntu 14.04 and Debian Jessie.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.svedr.in/posts/prometheus-quick-start/"&gt;Read more…&lt;/a&gt; (5 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>linux</category><category>monitoring</category><guid>https://blog.svedr.in/posts/prometheus-quick-start/</guid><pubDate>Tue, 05 Jul 2016 13:50:00 GMT</pubDate></item><item><title>fluxmon-status-update-2015</title><link>https://blog.svedr.in/posts/fluxmon-status-update-2015/</link><dc:creator>Svedrin</dc:creator><description>&lt;div&gt;&lt;p&gt;I've been working on &lt;a class="reference external" href="http://fluxmon.de"&gt;Fluxmon&lt;/a&gt; for quite a while now, so I thought it was time to give a little status update. I've done quite a lot of research in the meantime, upon which I can now base the conclusion that I don't know jack shit about what I'm doing.&lt;/p&gt;
&lt;p&gt;The hardest issue is figuring out what it is that I actually want to &lt;em&gt;do&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.svedr.in/posts/fluxmon-status-update-2015/"&gt;Read more…&lt;/a&gt; (2 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>monitoring</category><guid>https://blog.svedr.in/posts/fluxmon-status-update-2015/</guid><pubDate>Sat, 17 Oct 2015 17:49:59 GMT</pubDate></item><item><title>Fun with ntiles</title><link>https://blog.svedr.in/posts/fun-with-ntiles/</link><dc:creator>Svedrin</dc:creator><description>&lt;div&gt;&lt;p&gt;In the last &lt;a class="reference external" href="http://blog.svedr.in/posts/calculating-percentiles.html"&gt;couple&lt;/a&gt;
&lt;a class="reference external" href="http://blog.svedr.in/posts/nifty-queries-over-time-series-data-using-postgresql.html"&gt;posts&lt;/a&gt;, I extracted quite a load of data from Fluxmon's PostgreSQL database. At the end of the day, I'd like to see whether or not the thing we're measuring looks broken. How can we get to that point?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.svedr.in/posts/fun-with-ntiles/"&gt;Read more…&lt;/a&gt; (4 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>monitoring</category><guid>https://blog.svedr.in/posts/fun-with-ntiles/</guid><pubDate>Fri, 21 Aug 2015 12:53:14 GMT</pubDate></item><item><title>Calculating percentiles</title><link>https://blog.svedr.in/posts/calculating-percentiles/</link><dc:creator>Svedrin</dc:creator><description>&lt;div&gt;&lt;p&gt;One thing I've been wanting to do for quite some time now is calculating a confidence interval for the metrics measured by Fluxmon. I still have to figure out whether or not it's the same thing, but for starters I'd like to calculate percentiles for those values.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.svedr.in/posts/calculating-percentiles/"&gt;Read more…&lt;/a&gt; (4 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>databases</category><category>monitoring</category><guid>https://blog.svedr.in/posts/calculating-percentiles/</guid><pubDate>Fri, 21 Aug 2015 09:40:49 GMT</pubDate></item><item><title>Discrete Derivative Revisited: how to get dt</title><link>https://blog.svedr.in/posts/discrete-derivative-revisited-how-to-get-dt/</link><dc:creator>Svedrin</dc:creator><description>&lt;div&gt;&lt;p&gt;In the &lt;a class="reference external" href="http://blog.svedr.in/posts/discrete-derivative-over-time-series-data-using-postgresql.html"&gt;last post&lt;/a&gt;, I calculated the discrete derivative of a counter variable's measurements, and I took the short cut by dividing the value's difference — that is, &lt;code class="docutils literal"&gt;dx&lt;/code&gt; — simply by &lt;em&gt;300&lt;/em&gt; instead of calculating the correct value of &lt;code class="docutils literal"&gt;dt&lt;/code&gt;. This obviously needs to be fixed.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.svedr.in/posts/discrete-derivative-revisited-how-to-get-dt/"&gt;Read more…&lt;/a&gt; (3 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>databases</category><category>monitoring</category><guid>https://blog.svedr.in/posts/discrete-derivative-revisited-how-to-get-dt/</guid><pubDate>Thu, 20 Aug 2015 14:12:29 GMT</pubDate></item><item><title>Discrete Derivative over time series data using PostgreSQL</title><link>https://blog.svedr.in/posts/discrete-derivative-over-time-series-data-using-postgresql/</link><dc:creator>Svedrin</dc:creator><description>&lt;div&gt;&lt;p&gt;I use FluxMon to query statistics from the inverter hooked up to our solar collectors. One of the values the inverter spits out is today's energy production in &lt;em&gt;Wh&lt;/em&gt;. This value is reset every day and counts up to a certain value. Fair enough, but I'd be way more interested in the derivative of that value, which would give an indication of how much power is being produced per hour or so.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.svedr.in/posts/discrete-derivative-over-time-series-data-using-postgresql/"&gt;Read more…&lt;/a&gt; (4 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>databases</category><category>monitoring</category><guid>https://blog.svedr.in/posts/discrete-derivative-over-time-series-data-using-postgresql/</guid><pubDate>Sun, 16 Aug 2015 16:45:51 GMT</pubDate></item><item><title>Nifty queries over time-series data using PostgreSQL</title><link>https://blog.svedr.in/posts/nifty-queries-over-time-series-data-using-postgresql/</link><dc:creator>Svedrin</dc:creator><description>&lt;div&gt;&lt;p&gt;I'm currently looking into loads of maths stuff for &lt;a class="reference external" href="http://fluxmon.de"&gt;Fluxmon&lt;/a&gt;, so I eventually reached the point where I'd like to try a few things. I've even collected quite a nice amount of data by now, so I have something to go with. But how to store and analyze it?&lt;/p&gt;
&lt;p&gt;On the Chemnitz Linux Days, Hans-Jürgen Schönig held a talk named &lt;a class="reference external" href="https://chemnitzer.linux-tage.de/2015/de/programm/beitrag/122"&gt;PostgreSQL: Daten superschnell analysieren&lt;/a&gt; which I had attended, so I wanted to get the data into PostgreSQL and try out some of the fancy stuff he showed. Googling for &lt;em&gt;postgres time series&lt;/em&gt;, I stumbled upon &lt;a class="reference external" href="http://no0p.github.io/postgresql/2014/05/08/timeseries-tips-pg.html"&gt;this blog post&lt;/a&gt; showing a coupl'a nice things too, and since the schema used by this guy is radically simple, I just went ahead.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.svedr.in/posts/nifty-queries-over-time-series-data-using-postgresql/"&gt;Read more…&lt;/a&gt; (4 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>databases</category><category>monitoring</category><guid>https://blog.svedr.in/posts/nifty-queries-over-time-series-data-using-postgresql/</guid><pubDate>Sun, 16 Aug 2015 15:45:02 GMT</pubDate></item></channel></rss>