I have written similar script to check for a single server but this time it scans a list of server. It still not integrated with nagios because of the time it takes to execute such script. It does requires 7z.exe […]
install yum centos 5
There is a simple way to install yum, even if you do not have the CD/DVD. CENTOS 5 64 bits. Just run rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/gmp-4.1.4-10.el5.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/readline-5.1-3.el5.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-2.4.3-43.el5.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/libxml2-2.6.26-2.1.2.8.el5_5.1.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/libxml2-python-2.6.26-2.1.2.8.el5_5.1.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/expat-1.95.8-8.3.el5_5.3.x86_64.rpm […]
SSH Automatic Login
SSH Automatic Login Well I am tired of entering my password 100 times a day, are you too? The solution I wrote this script using the powerful expect download expect I actually use a more complex script since our root […]
Nagios plugin to check folder
This plugin object is to check if a file has been inside certain folder for a period of time and alert if so. It’s still not fully developed so the variables are not passed as arguments but are inside the […]
Script to autmaticly send Alt-Tab
VBS Script to autmaticly send Alt-Tab and switch opened programs Option Explicit Dim objShell Set objShell = CreateObject(“WScript.Shell”) Do objShell.SendKeys “%+{TAB}” Wscript.Sleep 300000 Loop
check log script
Nagios bash check_log Its often needed to check log files for a keyword. So I wrote a simple bash script to do that plus integrate with nagios and perfdata so it also generate graphic. The script is based on tail […]
Varnish Backend Response Monitor
I think it is important to know how much time it is taking for the varnish to go to the backend (webserver) and return. The script will show the response time of more then on site, to make it work […]