Icinga2 is used for monitoring my infrastructure. Some services are more noisy than others, and generate a lot of unnecessary warnings in a short time. A delayed notification rule is used to only raise alarms when the service is not OK for a prolonged period of time.
Posted by ads' corner on Monday, January 29, 2024
With people moving away from Twitter, mostly to Mastodon, discovering the new accounts became a problem. For people in the PostgreSQL community I created a website which lists different social media accounts.
Posted by ads' corner on Thursday, March 2, 2023
Every time I peek into the webserver logfiles, I find quite a few 404 requests trying to figure out if certain exploits exist on this server. Now I get that these are automated attempts, and the number of requests coming from one IP show that they try several different exploits and path names. Nevertheless I thought that I don’t need this in my log, and on my webserver. fail2ban for the rescue.
Posted by ads' corner on Friday, December 9, 2022
Many people (I don’t like this phrase) are leaving Twitter these days, and looking for a new social media home. One of these places is Mastodon. This blog post aims to summarize the steps necessary for a migration, and includes pointers to websites which can help with said move.
Posted by ads' corner on Monday, November 21, 2022
For the 'PostgreSQL Person of the Week' interviews I'm using Hugo as static blogging engine. Part of every interview is the list of tags, which links this interview to other similar interviews. However until recently no one really knew if a tag is popular or just used in this interview. I wanted to change this, and add the tag count behind every tag.
Posted by ads' corner on Wednesday, June 8, 2022
When I rolled out my new Icinga2 installation, and added disk checks for all laptops, I ran into a small problem: there is a fuse mountpoint for logged in users which only the user can read. Apparently it has something to do with Flatpack.
Posted by ads' corner on Saturday, November 27, 2021
I'm using Icinga2 for a long time, but recently installed a new system and using Director for the first time. I know how to configure notifications in Icinga2 config files, but getting them working in Director (with Director options only) is a bit of a challenge. Here is a step-by-step to get simple mail notifications working. From there it should be easier to configure more advanced notifications.
Posted by ads' corner on Wednesday, November 10, 2021
Shortcodes in Hugo are a neat and poweful system to avoid repating the same piece of text over and over again.
Posted by ads' corner on Friday, July 16, 2021
Found a couple more bots crawling my website, and from the look at online resources it seems I catched a few of the bad guys. Crawlers which ignore the robots.txt standard, and just crawl a website for content. Decided to do something against it, and added a filter in Apache2.
Posted by ads' corner on Sunday, March 21, 2021
After setting up Huginn, and implementing the actions on my todo list, I had a look at the available agents and started thinking what else they can be useful for.
One of the ideas I came up with is monitoring if a website is available, or has some trouble. I already have a monitoring system in place, but it’s a nice exercise to learn more about the other agents.
Posted by ads' corner on Wednesday, October 14, 2020