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 […]
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 […]
Reverse SSH script
This script allow us to connect to a remote server. It can be usefull when a client need remote support. We can mail the script and ask him to execute it. In our linux we create a user called “remote” […]
Linux connection check
Ubuntu 8.10 Hardy Connectivity Check, Internet Connection test and repair. I am not sure why but my ubuntu at home keeps losing the connection and I have to manualy disable and enable Network Manager. So I wrote this: -> Each […]
Linux .bashrc script
Login script to set nice prompt, colors,alias, history. Download Copy to your home folder (ex. /root) and save as .bashrc restart the terminal and it should come up You may need to change the ‘ and “, the blog changes […]
Currency rate monitor script
Using Nagios I am able to monitor the currency conversion rate, so I can know exactly when to sell my currency and to buy my currency. I wrote a creative plugin to nagios that does just that! Its not my […]
CheckFileSize VBS for Nagios
Nagio/NRPE_NT VBS Script to check the size of file(s) inside a Folder. IMPORTANT, From nagios you Must pass double slashes Usage: check_filesize -p “path” -f “file(s)” -w -c Example1(script localy using cscript ): check_filesize -p “E:mdbdata” -f priv1.edb,priv1.stm,pub1.edb,pub1.stm -w 5000 […]