by Anjani Phuyal | May 26, 2014 | Nagios
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...
by Anjani Phuyal | May 26, 2014 | Nagios
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...
by Anjani Phuyal | May 26, 2014 | Nagios
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...
by Anjani Phuyal | May 25, 2014 | Nagios
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...