Archive for June, 2012

Disk layout for Zabbix server

By jbayer - Last updated: Monday, June 25, 2012

If you are using my script to install Zabbix, and don’t intend to add anything else to the Zabbix server, then you can partition your disk as follows: Disk Partition Disk Space /boot> 500 meg / 5 gig swap 2x memory (ie.  if 1 gig memory, then 2 gig) /var all remaining disk space Generally […]

1,191 views

Count files in all subdirectories, by directory

By jbayer - Last updated: Friday, June 22, 2012

This is a quickie. I had a need to see how many files were in each directory (not including files in directories underneath) This little script will do just that, and save the output in a file called “b.csv” (I was lazy).  The file will be formatted as a comma separated csv, which you can load into […]

1,064 views

CF-Engine 3 Installation

By jbayer - Last updated: Friday, June 22, 2012

We are starting to use CF-Engine 3.  I didn’t find any RPMs for CentOS that I liked, so I whipped up the attached script to download, compile and install CF-engine 3 for me. This was developed and tested on a CentOS 6.2 system.  It should work on RHEL6, SL6, and probably all the RHEL5 based […]

501 views
asd