I recently found out nagios checker for firefox , its really good tool to get a snapshot of the nagios monitoring , it displays 4 tabs in toolbar hosts down, unknown services , serivice warnings and critical services , its awesome and gives snapshot of the issue on ur browser.you can download it from https://addons.mozilla.org/en-US/firefox/addon/3607/
Posts Tagged ‘Nagios’
Nagios checker for Firefox
November 11th, 2010Nagios installation using scripts
April 21st, 2010Introduction:-
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”
yum -y install httpd
yum -y install gcc
yum -y install glibc glibc-common
yum -y install gd gd-devel
echo “***** Setting up the environment”
useradd -m nagios
echo “INSERT_PASSWORD_HERE” |passwd –stdin nagios
groupadd nagcmd
usermod -a -G nagcmd nagios
usermod -a -G nagcmd apache
echo “***** Getting the Nagios Source and Plug-Ins”
cd /usr/local/src
wget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.2.0.tar.gz
wget http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.14.tar.gz
tar xzf nagios-3.2.0.tar.gz
tar xzf nagios-plugins-1.4.14.tar.gz
echo “***** Installing Nagios”
cd /usr/local/src/nagios-3.2.0
./configure –with-command-group=nagcmd
make all
make install
make install-init
make install-config
make install-commandmode
make install-webconf
echo “***** Setting up htpasswd auth”
htpasswd -nb nagiosadmin INSERT_PASSWORD_HERE > /usr/local/nagios/etc/htpasswd.users
Service httpd restart
echo “***** Setting up Nagios Plug-Ins”
cd /usr/local/src/nagios-plugins-1.4.13
./configure –with-nagios-user=nagios –with-nagios-group=nagios
make
make install
echo “***** Fixing SELinux”
chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/
chcon -R -t httpd_sys_content_t /usr/local/nagios/share/
echo “***** Starting Nagios”
chkconfig –add nagios
chkconfig nagios on
service nagios start
echo “***** Done: ” `date`
Thanks
Pawan Kumar
