Archive for October, 2013

Updated checkinstall 1.6.2.2 for Redhat 5 & 6

By jbayer - Last updated: Monday, October 14, 2013

I’ve consolidated the changes I’ve made into a new release: Added ability to remember options between runs Added –os option to specify OS release (ie: el5) Due to the different libraries between OS releases, I have a version for Redhat 5 and another version for Redhat 6  

576 views

Updated Zabbix install script

By jbayer - Last updated: Monday, October 14, 2013

My latest version of the install script, with the following additions: 1.9 Added check for latest zabbix version Added postfix to install 1.10 Updated paths for changes in Sourceforge Added mod_ssl to Apache install Updated version number for epel 1.11 Added Postgresql database option Changed to require custom version of checkinstall Now adds OS version […]

582 views

SSH known_hosts Management with CFEngine

By jbayer - Last updated: Thursday, October 10, 2013

For small sites, a changed Secure Shell (SSH) host key poses only minor problems, as only a few systems might be affected. At larger sites, the host key data should be maintained with configuration management, so that any SSH host key changes can be propogated throughout the site. CFEngine can maintain a global ssh_known_hosts file for OpenSSH. Host Key Collection with ssh-keyscan The […]

606 views

Usin JSON to add a new host in Zabbix 2.0

By jbayer - Last updated: Wednesday, October 2, 2013

This script was originally written by Travis Mathis, from Millicorp back in 2011, for Zabbix 1.8.5.  A link to the original posting on the Zabbix forum is Zabbix Agent/Host Auto Install/Create Script using API   I’ve updated the script to work for Zabbix 2.0 (tested with 2.0.8 and on CentOS 5/6). I’ve also added a […]

3,650 views

Find big files

By jbayer - Last updated: Wednesday, October 2, 2013

Someone is using a lot of space, and you want to find out who.  More specifically, you would like to identify the large files and automatically send them an email about it. This script will do that for you.  It’s called findbig, and can be called by hand or from a cron job.  It will […]

418 views

Copying or Backing up an image of an LVM-based Virtual Machine

By jbayer - Last updated: Wednesday, October 2, 2013

If you are using virtual machines on a Linux system, you may be storing the VM image in an LVM partition.  This can make it difficult to copy or backup an image of the VM. The attached script will do just that.  It displays the list of VMs running on the system and allows you […]

604 views

Add “Delete on Reboot” to Right Click Menu

By jbayer - Last updated: Wednesday, October 2, 2013

Horrors!  I’m actually talking about Windows. I use Windows for my desktop, because my company uses a number of Windows-based products which we (the sysops team) also need to use. I recently tried to delete a file which was in use.  So I hunted around and found the following code.  Please note that I did […]

378 views
asd