There are cases where we have multiple exported resources that are identical. There are nodes that provide the same services...

gist.github.com

The link contains a simple shell script to push a cleanup policy for gitlab repositories in a group.

When configuring prometheus scrape_configs, you may use relabel_configs to filter your metrics or change some fields. Your config...

Nginx is capable of forwarding a unix socket to UDP backend servers. This is quite handy for load balance syslog...

You might use screen or tmux to run a temporary command on a server which continues to run after the...

trac.nginx.org

When using many or very long entries of MIME-types that shoudl be gziped in gzip_types directives in nginx...

If you use third party APT sources you might end up with unmaintained packages after removing the external source or...

If the project you're working on has, say, 39 repositories and counting in GitLab and you need all the...

In our monitoring, RabbitMQ queues like aliveness-test may show up as unresponsive, with a ping timeout after 10 seconds...

Instead of using Puppet exported resources you can use the puppetdb_query feature. This can result in more complex code...

If you're deploying code for your lambda function via terraform, this code is usually zipped and uploaded to Amazon...

If you want to expand your Areca Raid by swapping out the disks for larger ones you will need to...

When you synchronize directories with rsync you have to pay attention to use (or not use) trailing /. Hint

Systemd's networkd will drop IP-Addresses configured by other processes like Keepalived's VRRP, when it is restarted. This...

collectd5 in version 5.9.0 is broken and you upgraded it everywhere. But because it's FreeBSD it does not...

If you get e.g. this error message when you try to run puppet agent: Error: Failed to apply catalog: undefined...

If a systemd service unit is blocked by rate limiting (see in documentation) you can reset the failcounter via:

There are two ways within systemd to manage the fact that you need the gluster service active before mounting the...

makandra Operations

You can use wscat: sudo apt-get install node-ws # wscat -c ws://echo.websocket.org connected (press CTRL+C to quit...

Hint This applies only to distributions based on Debian. Requirement You need to setup the PostgreSQL Apt Repository first.

makandra Operations

on the bash (issued as postgres user) Start/Stop/Restart PostgreSQL pg_ctl -D $configdir start|stop|restart Start/Stop/Restart the corresponding PostgreSQL...

makandra Operations

To see all jails: fail2ban status Our $JAIL is usually ssh. To see which IPs are banned currently: fail2ban-client...

puppet.com

Don't use exec without user parameter If you use exec without user parameter, the command will get executed as...

makandra Operations

If you want to perform a failover on another haproxy backend server this is the way you should do it...