Another nagios/bash script that verifies if a cluster has performed a failover. This one is used for any microsoft cluster. #!/bin/bash # 2008-07-23 Nereu # edit: Felipe Ferreira 01-2010 TMPDIR=/usr/local/nagios/var PLGDIR=/usr/local/nagios/libexec OK=0 WARN=1 CRIT=2 UNKN=3 if [ “$#” -ne 3 […]
Check Linux Cluster
A simple nagios/bash script to check if a RedHat/CentOS cluster has failedover.It uses the output from the clustat command. The usage is simple the script name and service, example: check_usage IO_Service It has been tested only with a 2 node […]
linux burn iso to flash drive
I have tried a lot of tools but there is none better then UnetBootin http://unetbootin.sourceforge.net/It is multiplataform, windows, max, linux. UNetbootin can create a bootable Live USB drive, or it can make a “frugal install” on your local hard disk […]
screen
Screen command Screen is a linux tool to help manage connections. “Screen is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells).” Its able to reestablish lost sessions, and to have multiple connections. 1) […]
Amazon WordPress / Lighttpd / Varnish
Amazon WordPress / Lighttpd / Varnish for free #1. Create an AWS Account You can sign up here. You’ll have to provide a credit card and a phone number where you will be called as part of the online registration […]
check_ftp_download script
This is a script that tests the FTP site by downloading a specific file and verifying how long it takes to do so. It also measures the bandwidth. It uses curl PHP library to do the FTP part. More of […]
Mount S3 on linux
Mount S3 on linux Amazon S3 Important considerations when using s3fs, namely related to the inherent limitations of S3: – no file can be over 5GB – you can’t partially update a file so changing a single byte will re-upload […]