Infrastructure monitoring program

The infrastructure monitoring program is preloaded with NMS Nagios plugins checks for master modules and is provided as a virtual machine image in an open format Ova 

The virtual machine image with the operating system CentOS 6.5 system and Nagios 3.5.1 is available:

Nagios 3.5.1 with control via a web interface (NagiosQL)

CentOS-6.5-i386-nagios3_091.ova
CentOS-6.5-i386-nagios3_091.md5

To deploy the system use the program VirtualBox https://www.virtualbox.org/ version 4.3.8 r92456

The composition of a virtual machine image

Nagios to empower the system also installed the following packages:

Nagios resources allocating  at file system:

  • settings: /etc/nagios (defined by the requirements package NagiosQL.);

  • resources: (web interface etc): /usr/share/nagios

  • plugins: /usr/lib/nagios/plugins

Procedure to start a virtual machine image

  1. To start a virtual machine under Windows, you must download and install it: http://download.virtualbox.org/virtualbox/4.3.10/VirtualBox-4.3.10-93012-Win.exe

  2. After installing the distribution must import a virtual machineova в VirtualBox by command File->Import appliance(Ctrl+I)

  3. Before starting the virtual machine, you must check the network settings: Settings->Network->Adaper1. Connection type Attached to for network adapter: "Bridget adapter" ("Сетевой мост"). The IP address for the virtual machine must be set up dynamically.

  4. Next, run a virtual machine Machine->Start or the corresponding icon.

  5. After loading CentOS Linux will prompt the console. Accounts to login: user / guest, root / guest Working under the 'root' user is not recommended. System control is also possible via SSH.

  6.  Next, you need to find out the current IP address of the network adapter on the DHCP virtual machine server, either directly through the virtual machine console command:

    $ ifconfig eth0

    where $ - shell prompt

  7. The resulting IP address can be used to connect to the web interface of Nagios. To do this, you must enter this address into your browser. If the network is properly configured in the Web browser appears authorization form. Account login for standard Nagios: nagiosadmin / nagiosadmin 

    Approximate form interface Nagios:

  8. For a normal shutdown of the virtual machine use the following command. The centralized monitoring system will be halted.

    $ sudo halt

     

Manage a centralized monitoring system

  1. To manage configuration files Nagios must switch to administration via the menu item Contribute -> Administration in the left panel web interface Nagios. The current account login is the same as for the web interface Nagios: nagiosadmin / nagiosadmin

  2. Management hosts available through Supervision-> Host:

    When you add a host record for the VUTLAN master modules, it can be placed in a group of hosts sc-hosts. The group sc-hosts are already bound services: 
    1) PING - check the service availability of the host; 
    2) UPTIME - time service in the ON state; 
    3) VUTLAN Table of Elements Service - service to check the table of elements master module; 
    4) Trap1 - processing service ladder named Trap1;

  3. Management services available through Supervision-> Services

    Service settings and connection to the host (host group) are performed in service properties. The figure shows the connection of the validator element to the host test190 (list of hosts) through the ID of the element (-i 1002) with the community SNMP (-C read) (sm. pole $ ARG1 $)

  4. Manage Alerts available through Alerting


    Add / Edit the current range is available  through contact Alerting-> Contact data In the E-Mail Address must specify the address of the administrator NMS

    Transmission of notification provided MTA Postfix. Configuring Postfix is beyond the scope of this description.

  5. For notify by internal GSM modem module setup options for  notify-host-by-sms and notify-service-by-sms  command:



    change the IP or hostname master module with GSM modem by option '-H' and change the password for this master module by option '-p'
    Select page number by contacting the editing form below:

  6. To apply the current configuration, you must perform its verification Tools->Nagios control->Check configuration files->Do It
    Then restart the Nagios service by the command Tools->Nagios control->Restart Nagios->Do It

Using the centralized monitoring system

Monitoring data is available through the web interface Nagios.

To access the hosts as necessary use Current Status->Hosts
To access the services you want to use as Current Status->Services
An example state of services on the host is shown in Figure: 

 

The host column contains the hostname and host control buttons via a web interface (the icon of the document) and displays performance data as graphs (graph icon) 
The service column contains the current state of the host. In Nagios, the following condition:

  • PENDING - the object has not yet been questioned;

  • UNKNOWN - state of the object is not defined;

  • OK - object in the normal state;

  • WARNING - warning, the object in a state close to the critical;

  • CRITICAL - to in a critical state;

Status Information column contains a text description of the service.

Learn more about working with Nagios in the official documentation: http://library.nagios.com/library/products/nagioscore/manuals/