Archive for the ‘Monitoring’ Category

  • MySQL Replication Monitoring

    Thursday, July 8th, 2010

    MySQL Replication is widely and we need to have strong replication monitoring for these things 1) To monitor if the replication is working. 2) To check the latency between the master and slave . 3) TO check the consistency between the master and slave , as sometime due to manual or master server crash , [...]

  • Http monitoring using httptop

    Tuesday, June 29th, 2010

    One of the tools most Linux/Unix admins are used to is called “top”. “top” by itself is a very powerful tool. Installation Perl modules in cpan install Term::ReadKey install File::Tail install Time::HiRes Create a executable script #touch /usr/bin/httptop #chmod a+x /usr/bin/httptop Copy & paste the following contents in the script #!/usr/bin/perl -w use Time::HiRes qw( [...]

  • How to Install Munin on CentOS

    Friday, June 18th, 2010

    Introduction:- Munin is a highly flexible and powerfull solution used to create graphs of virtually everything imaginable throughout your network, while still maintining a rattling easy of installation and configuration. Munin is a networked resource monitoring tool that can help analyze resource trends and “what just happened to kill our performance?” problems. It is designed [...]

  • Nagios installation using scripts

    Wednesday, April 21st, 2010

    Introduction:- Make a nagios.sh file and copy the following contents,Run on server …..simple nagios will be installed now….. $vim nagios.sh #sh nagios.sh —————————————————— #!/bin/sh # Any Failing Command Will Cause The Script To Stop set -e # Treat Unset Variables As Errors set -u echo “***** Starting Nagios Quick-Install: ” `date` echo “***** Installing pre-requisites” [...]

  • How to install NRPE agent

    Sunday, April 11th, 2010

    Introduction:- Create a new nagios user account and give it a password. /usr/sbin/useradd nagios passwd nagios cd ~/downloads wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nrpe-2.8.tar.gz Extract the NRPE source code tarball. tar xzf nrpe-2.8.tar.gz cd nrpe-2.8 If openssl is not installed then install it by using this command yum install openssl* If xinetd is not installed please install it by [...]

  • Nagios Error – key verification failed

    Sunday, April 11th, 2010

    Delete host entry from server1 /var/log/nagios/.ssh/known_hosts then add new known_hosts key from server1 /root/.ssh/known_hosts Thanks Manoj

  • How imports historical Nagios log files into the mysql database

    Friday, March 5th, 2010

    NDO Utilities:- The NDO utilities add-on, written by Nagios developer Ethan Galstad, is designed to output events and data from Nagios to standard files or to a Unix socket. It also comes with a module called NDO2DB that allows Nagios data to be written to a MySQL or PostgreSQL database The add-on is made up [...]

  • Nagios: ndomod: Still unable to connect to data sink

    Thursday, March 4th, 2010

    I have Nagios 3.x running perfactly, I want to load all alerts data to Mysql for future reference so we can create reports  accordingly. I have installed NDOUtils but after instalation I am getting the following error in the /var/log/messages nagios: ndomod: Still unable to connect to data sink.  14613 items lost, 5000 queued items to [...]

  • Ganglia updated on RHEL 5.3 , Architecture x86_64

    Saturday, February 20th, 2010

    Install ganglia Server 1. Download and install latest repository from the following URL: rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm Note: Please install php with full lib. Support 2. Install the rrdtool by using the following command: Install …..#rpm –Uvh rrdtool-1.2.27-3.el5.i386.rpm rrdtool-devel-1.2.27-3.el5.i386.rpm Note : Both rpms Must be installed together . Or if u want to install through yum [...]

  • Nagios Architecture

    Sunday, January 24th, 2010

    Overview  Nagios is a host and service monitor designed to inform you of network problems before your clients, end-users or managers do. It has been designed to run under the Linux operating system, but works fine under most *NIX variants as well. The monitoring daemon runs intermittent checks on hosts and services you specify using [...]

  • Jopr Monitoring Tool – Installation

    Sunday, January 24th, 2010

    1. Please installed the postgresql by using the following command, the general installation. As root install postgres core: yum install postgresql* 2. Now create postgres user: adduser postgres 3. Create the datafile for the database: mkdir -p /usr/local/pgsql/data 4. Change ownership of the data files to the postgres user: chown postgres /usr/local/pgsql/data 5. Now assume [...]

  • Ganglia Installation steps

    Sunday, January 24th, 2010

    1. Download and install latest repository from the following URL: rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm 2. Install the rrdtool by using the following command: yum install rrdtool* 3. rpm -ivh libconfuse-2.5-4.el5.i386.rpm 4. rpm -ivh libganglia-3_1_0-3.1.1-1.i386.rpm 5. rpm -ivh ganglia-gmond-3.1.1-1.i386.rpm At Server End: /etc/ganglia/gmetad.conf The keyword ‘data_source’ must immediately be followed by a unique # string which identifies [...]

  • Check URL String in Nagios

    Saturday, October 31st, 2009

  • Graphing In Nagios

    Saturday, October 31st, 2009

    Graphing Nagios services with pnp4nagios Nagios is a popular open source computer system and network monitoring software application. It watches hosts and services, alerting users when things go wrong and again when they get better. Some of the major features of Nagios are: • Over 50 bundled plugins for checking common protocols and services (HTTP, [...]

  • Sipx Performance Monitoring

    Saturday, October 31st, 2009

    Sipx Performance Monitoring Introduction The purpose of this feature is to gather performance measurements and statistics of a running sipx server using the open source tools MRTG and RRDTool. These tools work with the local SNMP agent to gather statistics and performance information by querying mib values and storing this information in simple database files [...]