Sunday 20 July 2014

Nagios

·      Nagios: Nagios allows us to cover the following items:
o   Monitor the Internal networks in the branches
o   Detect problems before they happen
o   Notify network administrators immediately when problems occur
o   Improve the availability of the servers and services
Using a free version of Nagios on Ubuntu is proposed to use in the project



1.   $ sudo apt-get install openssl nagios-nrpe-server nagios-plugins nagios-plugins-basic nagios-plugins-standard
2.   cp -p  /etc/nagios/nrpe.cfg /etc/nagios/nrpe.cfg.orig
3.   vi /etc/nagios/nrpe.cfg
4.   Change allowed_hosts=127.0.0.1 to nagios server

5.   /etc/init.d/nagios-nrpe-server restart


2 comments:

  1. Did you research for alternative to Nagios? How did you select it?

    ReplyDelete
  2. Below I mentioned about the server/services monitoring tools and briefly explained how they work and what they do.

    -AIM SNIFF is used for monitoring and archiving AOL Instant messenger and MSN messages in networks. It can do a live dump (actively sniff the network) or read a PCAP file and parse the file for IM messages. You also have the option of dumping the network traffic to a MYSQL database or a flat file STDOUT or any combination of the three.

    - Nipp stands for a network infrastructure configuration parser. Nipp can cheak security-related issues with configuration. Nipp supports cisco devices such as check point, VPN /Firewall /Router and ASA, etc.

    -NTOP is a network traffic probe that shows the network usage and it is used in UNIX based environment. It does not monitor the server and services health check.

    -SIFFDET is an implementation of a set of tests for remote sniffs in TCP/IP network environment.
    What sniffdet provides is (ICMP TEST, DNS TEST…etc.). It does not support server health check monitoring.

    -TCPDUMP is a command line interface (CLI) network-debugging tool, which is available on all operating systems. TCPDUMP can only capture network traffic and it comes with variety of options for specifying the required traffic. For example you can specify which network interface you want to listen to using –i option or what protocol/ports do you want to capture. It does not health check the server and services status.

    -Nagios can monitor servers , services, local storage, user activities (such as number of logged in user) and etc. It periodically checks the host and services to make sure all the services are up and running. Apart from the services, it also checks available storage on the hosts. Nagios works based on a client-server architecture. You install one Nagios server and install multiple nagios clients on different servers. Nagios is also extendible. In other words, you can use different plugins to monitor new services. For example you can develop or buy a nagios plugin to check XMPP server status. When the Nagios server identify a problem, it notifies network administrator via email, instant message, text message, etc. In this project I only installed one Nagios server to monitor the server health check. I can extend it to monitoring more servers as needed.


    Ngios suits our project as one-fits-all solution. Compare to above approaches, it does all the required functionalists.

    ReplyDelete