Keep it Simple

Wednesday, December 29, 2021

Victoria metrics on Aws EC2 instance

›
Will configure one single EC2 instance as a Victoria Metrics server to be used as Promethues storage. The access to VM(victoria metrics) i...
Friday, December 24, 2021

Postgresql locks

›
Locks in postgres Find locks select pid, state, usename, query, query_start from pg_stat_activity where pid in ( select pid from pg_l...

Haproxy socket stats

›
Enable stats Reporting is provided if you enable stats into its config. The setting is described at https://cbonte.github.io/haproxy-dcon...
Friday, December 18, 2020

AWS cli filter for security groups

›
There are times when I want to see the security groups on an AWS region. Nothing special really you can always use the aws cli :) But wait...
Friday, December 20, 2019

Tcpdump on docker interfaces

›
This post shows how you can inspect docker containers traffic with tcpdump on linux. First find the docker names and the mac addresses....
Sunday, April 14, 2019

Making use of Ansible vault from fabric(fabfile)

›
Ansible provides a convenient solution to encrypt sensitive data such as passwords, secrets, etc. - Ansible Vault . This post shows how to ...
Monday, May 14, 2018

Python pip install from git with specific revision

›
There are times when you want to try a specific revision of a package that is under a specific git revision. The general syntax is pip...
Tuesday, November 28, 2017

CentOS 7 Postfix relay (gmail)

›
How to send emails trough a smart relay that uses SASL and TLS I used: CentOS Linux release 7.3.1611 postfix-2.10.1-6.el7.x86_64...
Wednesday, November 1, 2017

Zabbix server under Selinux (Centos 7)

›
Zabbix server under Selinux (CentOS 7) When running zabbix server under Selinux out of the box when you start systemctl st...
1 comment:
Friday, February 10, 2017

MongoDB shell - query collections with special characters

›
From time to time I found in MongoDB collections that have characters that get interpreted by the mongo shell in a different way and you ca...
Tuesday, December 6, 2016

Password recovery on Zabbix server UI

›
In case you need it ... Obtain access to the database for read/write (for mysql this is what you need) update zabbix.users set passwd=...
Wednesday, November 16, 2016

Netcat HTTP server

›
Netcat is a very versatile program used for network communications - the place to find it is . Often I need to test different programs wi...
Monday, March 28, 2016

Backups with Duplicity and Dropbox

›
Dropbox is a very popular service for file storage, the way the service works will synchronize by default all your files across your devic...
Wednesday, January 13, 2016

Sublime Text X11 Forward - linux headless

›
On a newer editors (compared with Vim or Emacs) is Sublime Text . Has many useful features and is quite popular these days, combined with ...
Saturday, August 22, 2015

Vagrant with libvirt(KVM) Ubuntu14

›
Vagrant doesn't have an official provider for libvirt but there is a plugin that allows to run via libvirt KVM on Linux. First you wo...
Thursday, December 18, 2014

Supervisor (python supervisord) email alerts

›
The program supervisor written in python is used to supervise long running processes. In case that a long running process will stop (crash...
1 comment:
Friday, November 21, 2014

Gitlab(Rails) gem loader error

›
I was trying to make a simple bash pre-receive hook into Gitlab and got one of this # pre-receive hook #!/bin/bash `knife node show` ...
Sunday, September 14, 2014

Vim - find occurrences in files.

›
Vim is the editor for anybody using the cli on daily bases. One useful feature it has is the find/grep into files. Obviously you can exit or...
Tuesday, March 25, 2014

Vim setup for Chef(Opscode) Cookbooks

›
I've started programming seriously Chef cookbooks by a while but always felts is something missing ... Well I didn't have jump t...
Sunday, March 2, 2014

Getting started with the new AWS tools

›
AWS replaced their java based tool with a neat python package for linux (didn't try the windows based ones yet ...). Why are these tools...
‹
›
Home
View web version
Powered by Blogger.