Archive for October 2nd, 2013

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,396 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 […]

413 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 […]

582 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 […]

363 views
asd