Tag Archives: python

Quick and Dirty SSH Key Management with Python

Sometimes I need to quickly copy SSH keys to remote systems in a pinch.  I can do this with the Ansible authorized_key module but that’s not always available.  I might be on a random system and Ansible or external internet … Continue reading

Posted in open source, sysadmin | Tagged , , , , , , , | Leave a comment

Automate Infrastructure Docs with Python, WordPress and Foreman

“It’s not done unless it’s documented,” says the wise Ops sage.  Frequently updated documentation is critical, it’s also one of the most neglected parts of technology.  Learn how we auto-generate server resource wiki data with Python, WordPress and Foreman.

Posted in open source, sysadmin | Tagged , , , , , , , | 2 Comments

How to Manually Clean Indexes from Elasticsearch

In a previous post we covered getting started with the ELK stack (Elasticsearch, Logstash, Kibana).  Now we need to remove old indexes manually from an Elasticsearch datastore sorted by age.  We’ll be using the curator tool in a sandbox using … Continue reading

Posted in open source, sysadmin | Tagged , , , , , , | 3 Comments

Secure Cloud Data Backups using Python, Tar and GPG

The Cloud (aka another dude’s computer) is a great place to backup your data, files and make your life easier and your technical resources more accessible.  It can also be extremely dangerous if you don’t take steps to protect your … Continue reading

Posted in open source, sysadmin | Tagged , , , , | Leave a comment