How to setup Security.vcl on Varnish 3.0 Download it wget https://github.com/KristianLyng/varnish/tree/my2.1/varnish-tools/security.vcl # cd vcl/ # make # cp -a vcl/ /etc/varnish/security.vcl/ (alternatively you could symlink it, of course). Now all it has to be done is edit your normal VCL […]
How to install varnish
How to install varnish This is a step-by-step on howto setup and run varnish web cache. This was done for Linux RedHat 6 64bits, same works for CentOS 5.5 64bits with varnish 3.0 This install is made of Varnish and […]
How to setup sshguard
How to setup sshguard Using Iptables and centos or redhat (another option is to use fail2ban, checkout my howto here ) 1.Download sshguard source and compile it (could also try yum install sshguard) # wget http://downloads.sourceforge.net/project/sshguard/sshguard/sshguard-1.5/sshguard-1.5.tar.bz2 Other downloads from here […]
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 […]
How to install snort on centos 5.5
How to install snort on centos 5.5 This guide is a step by step on how to install from source snort-2.9.0.5 on CentOS 5.5 64bits it should work the same way for RedHat. Also with the mysql option enabled. The […]
Troubleshooting Centreon Graphs
TO IDENTIFY ERROS WITH GRAPH, verify if: service-perfdata file exist in Nagios “var” directory ( /var/local/nagios/ # ll /usr/local/nagios/var/service-perfdata To find out where is inside centreon: Configuration>Nagios>Centreon>Central>”Perfdata file” service-perfdata is growing (if Nagios insert data il file) (if not try […]
Upgrade ubuntu from 10.10 to 11.04
Network Upgrade for Ubuntu Desktops (Recommended) You can easily upgrade over the network with the following procedure. Open the Update Manager application from the System ? Administration menu. In Update Manager, click the Settings… button, and enter your password […]