Salt (SaltStack Inc.) is a powerful automation tool that I’ve been using for many years. This post shows an example of agent‑less usage with salt-ssh , using a dynamic inventory via a roster and an Ansible inventory plugin.
We have Telegraf sending stats to two InfluxDB servers, but our dashboard should point to only one. Additionally, Nagios monitors InfluxDB health. Here’s how we can combine a script, xinetd, and HAProxy to manage this.
Sometimes you need to roll out only part of an application to production. This often happens after refactoring or when introducing a new version of specific endpoints. With HAProxy you can route only selected requests to the new backend while keeping the rest of the traffic on the existing servers.
During application upgrades or migrations it’s common to keep old URLs working for backward compatibility. One simple way to handle large numbers of redirects in HAProxy is to use a map file. If you are using Nginx, you can find a similar approach here: Nginx .