How to perform hostname canonicalization

Perform hostname canonicalization to simplify your configuration and ease work with multiple servers.

How to match network inside SSH client configuration

Match specific network inside the SSH client configuration file usingĀ  Python helper script.

How to determine if hostname belongs to specific network

Use Python script to determine if the hostname belongs to a specific network.

Categories
SysOps

How to generate password hash for CouchDB administrator

Generate password hash for CouchDB administrator.

Categories
Uncategorized

How to display memory used by processes in human readable form using Python script

Display memory used by processes in human readable form using Python script.

Categories
SysOps

How to inspect Redis internals using UNIX socket and Python script

Inspect Redis internals using UNIX socket and Python script without external dependencies.

Categories
SysOps

How to monitor PHP-FPM pool

Monitor PHP-FPM (FastCGI Process Manager) pool using curl utility, cgi-fcgi application or slightly modified Python script that was used to display PHP-FPM pool information.

Categories
SysOps

How to display PHP-FPM pool information using UNIX socket and Python script

Display PHP-FPM (FastCGI Process Manager) pool information using UNIX socket and Python script. I thought it would be easy to write a simple FCGI client. Apparently not, but it was an exciting and rewarding experience.

Categories
Uncategorized

How to store LeaseWeb data traffic in OpenTSDB time series database

Store LeaseWeb data traffic in OpenTSDB time series database using Python script, LeaseWeb API v2 and Python client to OpenTSDB.

Categories
DevOps

How to display LeaseWeb data traffic using API v2

LeaseWeb released a new version of API that will deprecate the old one, so it is the perfect time to update the Python script using v1 api and switch to API v2 before May 31.