Adding Hosts to Nagios 3.5

Nagios directory path is /usr/local/nagios config files path is /usr/local/nagios/etc/objects plugin path is /usr/local/nagios/libexec Add new Host sudo vi /usr/local/nagios/etc/objects/hosts.cfg sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg to...

NRPE Nagios configuration

Install NRPE on Linux (Ubuntu) remote host sudo apt-get install nagios-nrpe-server Now on remote-host edit /etc/nagios/nrpe.cfg changing:                       allowed_hosts= nagios server ip Add below in the command definition area...

Nagios Configuration for mongo plugin

Prerequisite: Git installation on  Ubuntu remote server. $which git $sudo apt-get install git-core $which git /usr/bin/git $git –version git version 1.7.0.4 git clone git://github.com/mzupan/nagios-plugin-mongodb.git Python dependencies installation on remote...

aws cloudwatch plugin

sudo apt-get install ruby sudo apt-get install rubygems sudo gem install gem install CloudyScripts mkdir /etc/cloutomate cp /root/.ssh/id_rsa /etc/cloutomate/cloutomate.pem RUBYOPT=rubygems ruby encrypt_credentials.rb -A accesskey -S accesskey -f ec2_credentials.cfg...