CES 3.0

April 7th, 2014 No comments

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 No comments

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” »

check_http.sh

March 14th, 2014 2 comments

Simple bash script using curl to check a website.
It works on HTTP and HTTPS.
Requirement: curl
Usage ./check_http.sh
Example:
./check_http.sh ‘http://oglobo.globo.com’ oglobo 1
OK – Site oglobo.globo.com key oglobo time 0.019 |’time’=0.019s;1

Continue reading “check_http.sh” »

Categories: Nagios, plugins Tags: , , , ,

script to monitor cpu usage by process

March 12th, 2014 No comments

A bash script to get the CPU usage by process
usage:
nohup ./check_proc bwengine 70 &

bwegnine is the process name we want to monitor
70 is to log only when the process is using over 70% of the CPU.

Continue reading “script to monitor cpu usage by process” »

Categories: BashScripts Tags: , , , ,

How to connect NFS with a specfic user under CentOS/RedHat 6

March 7th, 2014 No comments

How to connect NFS with a specfic user under CentOS/RedHat 6

##SERVER SIDE##
1. On server side must have the insecure option enabled edit /etc/exports
/exports/real 192.17.36.147/255.255.255.255(rw,nohide,insecure,no_subtree_check,sync)
2. Make the change
exportfs -ra
3. Make sure it is running
rpcinfo -p | grep portmap
showmount

Continue reading “How to connect NFS with a specfic user under CentOS/RedHat 6” »

Categories: Linux Tags: , , ,