Category Archives: Nagios

Home »  Nagios

I came across a very useful Book for Nagios Core. Even though I more a fan of the Nagios XI Version due to the comfort it provides the “Nagios Core Administration Cookbook” gave me some insight into the Core Nagios and how to handle things in there. The Cookbook consists of 340 ish pages of insight knowledge to the core configuration and provided me with ideas on how to make configurations better and more manageable. It even triggered me to install a core version again just to play with it (and I really didn’t intend to since XI is much nicer). Have a look here (its not an affiliate link) The Core knowledge it provides is around understanding the objects (Hosts, Services and Contacts, describing checks, monitoring methods and configurations. A really useful how-to for starters coming new to Nagios Core and for intermediates looking for a cookbook with some solutions to uncommon questions and […]

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 Or in the Support Forum There is a Version 2.0 RC of which I would strongly advise to stay away simply cause it didn’t work. So how do we install it. We use the version 1.4. It is assumed that you have installed snmptt as per 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 wget 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 […]

I’m a new fan of Nagios XI. The Core version is simply to complex and difficult to manage and I love to (KISS) keep it simple and stupid. A first try to install NagiosXI on Proxmox under KVM resulted in a performance disaster. (load of 40.x and I have no idea why) In general unless there are very good reasons for portability, security or snapshot features, I’m more a fan of Containers (OpenVZ or Zones for Solaris). They are simply more performant and don’t have that overhead KVM virtualization brings with. However one negative side-effect of Openvz is for example IPtables. IPtables under openVZ are a nightmare. When you know what you do, you secure the container from the Host and wont need IPtables on the CT. But my problem was that NagiosXI needs (kind of) Iptables for its automated install script. So I had to work around anbit to get it running on the CT and know what .. […]

%d bloggers like this: