Benchmark a SSD

July 8th, 2014 No comments

I used the sysbench tool, more info at
sysbench –test=fileio –file-total-size=1G prepare
sysbench –test=fileio –file-total-size=1G –file-test-mode=rndrw –max-time=300 –max-requests=0 run
sysbench –test=fileio –file-total-size=1G cleanup

Continue reading “Benchmark a SSD” »

Categories: HowTo, Linux Tags:

The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found

July 3rd, 2014 No comments

ERROR:
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found

Continue reading “The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found” »

Categories: HowTo, Linux Tags: , , ,

Linux how to change interface name

May 14th, 2014 No comments

When cloning vm’s inside a ESX I always get a eth1 instead of eth0.
So here is what I do to fix that.

Continue reading “Linux how to change interface name” »

Categories: Linux Tags:

CES 3.0

April 7th, 2014 1 comment

Testing Centreon Enterprise Server 3.0

Basic howto:

http://documentation.centreon.com/docs/ces-documentation/en/latest/installation/getting_started.html

Continue reading “CES 3.0” »

Categories: Uncategorized Tags:

Brasil centron event

April 7th, 2014 1 comment

I had the chance to go to a Centreon meeting organized by Komputer in Sao Paulo on Friday 5th of April 2014.
It was great to met the creator of Centreon Romain Le Merlus and listen and learn to current centreon news.
I hope they can estabilish some users in Brasil and visit more often.

Continue reading “Brasil centron event” »

Categories: News Tags: ,

check_varnish_uptime

March 25th, 2014 No comments

Simple script to check if the varnish daemon has been restarted latelly

Here is the code:

Continue reading “check_varnish_uptime” »

check links

March 25th, 2014 No comments

This code has not been tested in the last 2 years…

Here is the code:

#!/usr/bin/perl

 Continue reading “check links” »
Categories: Uncategorized Tags:

check_backend.sh

March 25th, 2014 No comments

Another bash script to monitor if there were any failed connections to the backend’s.
It is a simple aproach using the command:
varnishstat -1 -f backend_fail
Then it puts the output on a tmp file and next time it runs it checks if it is still having erros on the backend.

Continue reading “check_backend.sh” »

check_con.vbs

March 25th, 2014 No comments

Check connections for windows
A Visual Basic Script to check how many open connections exists in a certain port.

Continue reading “check_con.vbs” »

Categories: Nagios, plugins, Windows Tags:

varnish check_hitratio

March 25th, 2014 No comments

We need to know if varnish is caching hit ratio is as it should.
So I wrote this simple bash plugin for nagios.

Continue reading “varnish check_hitratio” »