Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 Current »

VM image in an open format .ova with the operating system CentOS 6.5 and Nagios 3.5.1, configured for integration with Vutlan equipment, you can download on the ftp:

Nagios 3.5.1 with configuration files


CentOS-6.5-i386-nagios3.ova

VirtualBox programm https://www.virtualbox.org/ v. 4.3.8 r92456 is used to start the virtual machine

Starting

  1. To run the virtual machine under Windows, you must download and install: http://download.virtualbox.org/virtualbox/4.3.10/VirtualBox-4.3.10-93012-Win.exe
  2. After installing the distributive, a virtual machine .ova must be imported  in VirtualBox.
  3. Before starting the virtual machine, check the network settings. Type of connection of the network adapter: "Network Bridge". In this case, the IP address of the virtual machine must be issued dynamically.
  4. Next, start the virtual machine.
  5. After downloading CentOS Linux prompts the console. Accounts login: user / guest, root / guest. Work under the root is not recommended. System management is also possible via SSH.

  6. Next, you need to find out the current IP address of the NIC of the virtual machine from the DHCP server, or directly through the virtual machine console with a command:

    $ ifconfig eth0
  7. Obtained IP address can be used to connect to the Nagios web interface. Enter this address into your browser. If the network is properly configured, authorization form appears  in your web browser. Account to login is standard for Nagios: nagiosadmin/nagiosadmin

    A typical form of Nagios interface:
  8. To turn off the virtual machine use the following command

    $ sudo halt

Virtual machine possibilities

To enhance the Nagios system possibilities it is also installed the following packages:

  • Net-SNMP - designed to work with SNMP PDU;
  • pnp4nagios - display graphs for monitoring data;
  • SNMPTT -  SNMP Trap PDU data translator;
  • check_vutlan.pl - vutlan sensor plugin; 
  • submit_check_result - SNMP Trap PDU passive check script;
  • skycontrolsms.sh- script to send SMS through GSM modem for versions up to 2.3.3 Interface;
  • vutlansms_v2.sh - script to send SMS through GSM modem for versions of the interface 2.4.0 and higher.

Allocation of resources in the Nagios system file:

  • settings: /etc/nagios;
  • resources (web interface, etc.): /usr/share/nagios
  • plugins: /usr/lib/nagios/plugins

Allocation of configuration files in version controlled via configuration files is standard for Nagios distributive.

Sending e-mail notifications carried out by MTA Postfix http://www.postfix.org/

To send notifications, you must edit the e-mail address in the Nagios settings file objects/contacts.cfg:

objects/contacts.cfg
define contact{
        contact_name                    nagiosadmin             ; Short name of user
        use                             generic-contact         ; Inherit default values from generic-contact template (defined above)
        alias                           Nagios Admin            ; Full name of user
        email                           nagios@localhost        ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******
        pager                           +329999999999           ; <<***** CHANGE THIS TO YOUR PHONE NUMBER ******
}

Settings for Vutlan master units are in /etc/nagios/objects/schosts.cfg file

To manage configuration files through the web interface is possible in a version with pre-installed NagiosQL. Switch to administration is possible through the menu Contibute->Administation in left panel of Nagios interface. The current account to login for Nagios interface is: nagiosadmin/nagiosadmin

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

  • No labels