Can’t locate Sys/Statistics/

August 5th, 2016 No comments

When using on Centos 7 I got a known error but not so easy to fix…

# su – nrpe -c “/usr/lib64/nagios/plugins/ -C -w 90% -c 95%”
Can’t locate Sys/Statistics/ in @INC (@INC contains: /usr/lib64/nagios/plugins /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/lib64/nagios/plugins/ line 33.
BEGIN failed–compilation aborted at /usr/lib64/nagios/plugins/ line 33.

Continue reading “Can’t locate Sys/Statistics/” »

Categories: Linux Tags: , ,

Access log to DB

May 24th, 2016 No comments

This script loads tomcat or apache logs into a mysql database.

Here is the code:

# 2015-03-04 Nereu - versao Tomcat

 Continue reading “Access log to DB” »
Categories: HowTo, Linux Tags:

Centreon Install howto

May 24th, 2016 No comments

Centreon Install
(without package, manual)

Pagina 1 (

Continue reading “Centreon Install howto” »

Categories: HowTo, Uncategorized Tags:

Relax and Recover

May 24th, 2016 No comments

Relax and Recover (ReaR)

. Thread sobre ReaR na Symantec

Continue reading “Relax and Recover” »

centos 6 change keyboard layout command line

May 20th, 2016 No comments

centos 6 change keyboard layout command line

vi /etc/sysconfig/keyboard

Continue reading “centos 6 change keyboard layout command line” »

Categories: HowTo, Linux Tags: , , ,

tomcat multiple instances script

May 20th, 2016 No comments

This scripts is easy to use and creates multiple tomcats on a single server.
I still find it amazing and sad that by default and by RedHat support, you can only
install a single Tomcat instance per server! This is crazy.
Imagine a 16 CPU 64GB server with a single instance.

Continue reading “tomcat multiple instances script” »

Categories: bash, BashScripts, HowTo, Tomcat Tags:

rtorrent how to

May 20th, 2016 No comments

I needed a simple linux torrent client that work via Proxy!
I tried Transfer,Deluge,uTorrent(via wine, very buggy!) none of them worked.
Deluge has a known bug of using proxy.
uTorrent worked for a bit by proxy but very buggy with wine and Linux Mint.

Continue reading “rtorrent how to” »

Categories: HowTo Tags: , ,

Centreon Reporting Dashboard Undetermined

May 16th, 2016 3 comments

Centreon 2.7.x Reporting Dashboard Undetermined
There is a problem with centreon Dashboard where it can not generate the reporting

Continue reading “Centreon Reporting Dashboard Undetermined” »

Categories: Centreon Tags: , ,

MotoGP 2016 races online

April 26th, 2016 No comments

I will post all motogp races here:

I do have older ones 2009,2010,2011 at

Continue reading “MotoGP 2016 races online” »

Categories: MotoGP2016, News Tags: , , ,

iptables block country script

April 25th, 2016 No comments

My own server is daily attacked by SSH scanner and bruteforce scripts.
My fail2ban solution

Continue reading “iptables block country script” »