nagios vmware esx plugin

May 26th, 2015 No comments

The best script to monitor VMWare ESX using nagios was
developed by Steve Shipway.

Continue reading “nagios vmware esx plugin” »

Categories: HowTo, Linux, Nagios Tags: , , , ,

solr peformance

May 25th, 2015 No comments

How to monitor Solr performance under Tomcat.

I keep track of how many access and the performance, based on response time.
For this I have 2 scripts:

Continue reading “solr peformance” »

Categories: Linux Tags: , , ,

awstats

May 25th, 2015 No comments

I use the good old awstats to find out how may site hits and usage is going.
Also google analytics…

Continue reading “awstats” »

Categories: Linux Tags:

linux two interfaces same subnet

February 27th, 2015 No comments

On RHEL6 and RHEL7 once you add a second interface on the same subnet, it does not work ( no ping)
The cause of the problem is a change on the parameter rp_filter

Continue reading “linux two interfaces same subnet” »

Categories: HowTo, Windows Tags: , , ,

sudo apt-get update behind proxy

February 26th, 2015 No comments

When using sudo apt-get update behind a proxy you must do
visudo
Defaults env_keep = “http_proxy https_proxy ftp_proxy DISPLAY XAUTHORITY”

Categories: HowTo, Linux Tags: , , , , ,

check process uptime

December 10th, 2014 No comments

Simple script to get any linux process uptime.
It could have been done using the /proc/PID too.

Here is the code:

Continue reading “check process uptime” »

Categories: Nagios, plugins Tags: , , , ,

how to install zabbix on centos

November 19th, 2014 No comments

How to install Zabbix

yum -y update
yum -y install httpd php php-cli php php-ctype php-bcmath php-xmlreader php-xmlwriter php-xmlwriterfping libcurl libiksemel net-snmp php-net-socket php-mbstring php-gettext mysql mysql-server mysql-devel.x86_64 php-mysql.x86_64 libxml2-devel.x86_64 libxml2.x86_64 libxml2-static.x86_64 net-snmp-devel.x86_64 net-snmp-libs.x86_64 net-snmp-utils.x86_64 libcurl-devel.x86_64 libcurl.x86_64 curl.x86_64 gd.x86_64 gd-progs.x86_64 php-gd.x86_64 gcc

Continue reading “how to install zabbix on centos” »

Categories: HowTo, Linux Tags: , , , ,

script to autoinstall vmware tools

November 19th, 2014 No comments

Login VSphere
Choose the VM
> Guest > Install VMware Tools
Conect via Console VMWare vSphere (not SSH), run the script:

Continue reading “script to autoinstall vmware tools” »

Categories: HowTo, Linux Tags:

error while loading shared libraries: libssl.so.6

November 19th, 2014 No comments

ERROR:
error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory
or
error while loading shared libraries: libssl.so.6: wrong ELF class: ELFCLASS32

Continue reading “error while loading shared libraries: libssl.so.6” »

Categories: HowTo, Linux Tags:

rdesktop ERROR: recv: Connection reset by peer

October 28th, 2014 No comments

rdesktop ERROR: recv: Connection reset by peer

Solution:

Run > SystemPropertiesRemote.exe
deselect “Allow connections only from computers running Remote Desktop with NLA”

Continue reading “rdesktop ERROR: recv: Connection reset by peer” »

Categories: HowTo, Linux Tags: