Tag Archives: Nagios

Home »  Tag: Nagios

This is a quick Install How to Guide on How to install NSTI NSTI is the Nagios  SNMP Trap Interface. If you setup your Nagios to receive passive SNMP Traps, you did this most likely via snmptt then you have the option to store the SNMP traps in the MySQL Database. Due to the lack of Nagios to show only the last incoming trap there is no way (except of sending notifications via mail) to list all the incoming traps. Well now there is. NSTI You could find a few details about NSTI here http://exchange.nagios.org/directory/Addons/SNMP/Nagios-SNMP-Trap-Interface-%28NSTI%29/details Or in the Support Forum http://support.nagios.com/forum/viewforum.php?f=22 There is a Version 2.0 RC of which I would strongly advise to stay away simply cause it didn’t work. http://labs.nagios.com/2012/01/10/nagios-snmp-trap-interface-nsti-available/ So how do we install it. We use the version 1.4. It is assumed that you have installed snmptt as per http://assets.nagios.com/downloads/nagiosxi/docs/Integrating_SNMP_Traps_With_XI.pdf This has not yet enabled the mysql part of the trap’s. So do the following: […]

1. Install a vanilla Centos. 2. install Nagios Core as following: yum install -y wget httpd php gcc glibc glibc-common gd gd-devel make net-snmp cd /tmp wget http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.16.tar.gz wget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.4.3.tar.gz useradd nagios groupadd nagcmd usermod -a -G nagcmd nagios tar xvf nagios-plugins-1.4.16.tar.gz tar xvf nagios-3.4.3.tar.gz cd /tmp/nagios ./configure –with-command-group=nagcmd make all make install make install-init make install-config make install-commandmode make install-webconf cp -R contrib/eventhandlers/ /usr/local/nagios/libexec/ chown -R nagios:nagios /usr/local/nagios/libexec/eventhandlers /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg /etc/init.d/nagios start /etc/init.d/httpd start htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin cd /tmp/nagios-plugins-1* ./configure –with-nagios-user=nagios –with-nagios-group=nagios make make install chkconfig –add nagios chkconfig –level 35 nagios on chkconfig –add httpd chkconfig –level 35 httpd on Use the browser and go to http://SERVER_IP_ADRESS/nagios/ and off it goes Username:nagiosadmin password: whatever you set When installing Nagios (core) on Centos as per the install description and you have the  issue that you can reach the Nagios main webpage but can’t  reach any subpage. You are getting […]

%d bloggers like this: