To deploy a simple ear I did: ${JAVA_BIN} -cp ${WL_JAR} weblogic.Deployer -adminurl t3://${HOST_NAME}:${HOST_PORT} -user ${HOST_USER} -password ${HOST_PASS} -targets ${SERVER} -deploy -upload ${TMP_DIR}${DEPLOYEAR} -name ${APPNAME} But on the second script I had to do a stop(kill) of the server, cleanup the […]
Block IP bash script
Still working hard to keep my server security locked down from attacks. This script checks lighttpd logfile for unusual behaviour Script to monitor and block IPs spaming in varios ways my Word Press and SQUID Server Update 07/2016 tested on […]
Centreon reporting email
I had created a Nagios Script for auto e-mailing reports. There are two versions available one that just gets the current “Reporting” csv and e-mail it and another one I wrote in python that allows more customization. They are […]
yum update security check script
simple bash script to check for missing security this is important to make sure your linux is updated here is the script:
money conversion rate monitoring script
If you want to easly monitor a money conversion rate, here is the script I wrote long long time ago (default is EURO x REAL) ./ moneyconversioncheck –minwarn 3 –maxwarn 4.0 –mincrit 2.8 –maxcrit 4.5 -v Verbose Mode ON EURO […]
iptables block country script
My own server is daily attacked by SSH scanner and bruteforce scripts. My fail2ban solution But as I get hammered by China’s ssh I got tired of it and block all China SSH access using iptables. The concept is simples, […]
script to check aws status
This is a bash script made to work with nagios and to automaticly check Amazon AWS status based on the RSS from http://status.aws.amazon.com/ I did find something similar in Ruby I tried to keep it simple as possible… Here is […]