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 […]
WLST How To Start Stop
WLST How To Start Stop Weblogic command line using wlst is not that simple to learn. $ wlst connect(‘user’,’password’,’t3://localhost:7201′); ls(‘Servers’); GET STATUS: state(‘ecestgpres1′,’Server’) TO STOP: shutdown(‘castgpres1′,’Server’,’true’,10) TO START: start(‘castgpres1’) NOTES: How to ask for help: help(‘all) – very usefull to […]
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 […]
Setup check_vmware.pl on CentOS
Setup VMWare-CLI Perl Kit on CentOS 5.5 x64 (RedHat) Older Post with Simillar Information And overall info on how to monitor ESX IMPORTANT: For ESX(i) 6.x use https://github.com/op5/check_vmware_api First download my full package witch has all dependencies plus the vmware-vSphere-CLI Required […]
How to setup Centreon with MK_Livestatus
How to setup Centreon with MK_Livestatus Setup mk_livestatus: wget http://mathias-kettner.de/download/mk-livestatus-1.1.10p1.tar.gztar -zxvf mk-livestatus-1.1.10p1.tar.gz cd mk-livestatus-1.1.10p1make installchown nagios.apache/usr/local/lib/mk-livestatus/livestatus.o To patch centreon to use multibrokers: SQL:1. Create new tables in DB: ‘centreon’ CREATE TABLE IF NOT EXISTS `cfg_nagios_bkmod` (`bkmod_id` int(11) NOT NULL AUTO_INCREMENT,`nagios_id` […]