biolocal:Nagios

From Wiki CEINGE

Jump to: navigation, search

A "Nagios" server for the network and server monitoring is available at the address:


nagios.ceinge.unina.it


This is an interface to the monitoring system for the CEINGE and DBBM computing resources. It represents hosts and servers, or groups of them, and display the status of these resources. In case of "critical" or "warning" status, nagios is configured to send notifications (by email) to the administrators according to roles defined by groups of contacts.


[edit] Access to Nagios

It is accessible by authentication, only by specific users:

Name Username
Vittorio Lucignano lucignano@ceinge or lucignano@dbbm
Gianluca Busiello busiello@dbbm
Mauro Petrillo petrillo@ceinge
Angelo Boccia boccia@ceinge
Leandra Sepe sepe@dbbm
Giovanni Paolella paolella@ceinge or paolella@dbbm
Concita Cantarella cantarella@ceinge
Luca Cozzuto cozzuto@ceinge















[edit] Nagios configuration location

The Nagios configuration is stored on the server, in a dedicated directory, under /etc/nagios, and can be edited by the local users, assigned to the nagios group.

Nagios group : vittorio, gianluca, mauro, giovanni, luca, angelo

So, for any modification, an ssh connection allows the write access to the configuration files:

ssh://gianluca@nagios.ceinge.unina.it:/etc/nagios
sftp://gianluca@nagios.ceinge.unina.it:/etc/nagios

Of course, any tool, supporting ssh, can be used (Textwrangler, Kate, ...)

[edit] Nagios configuration organization

The main configuration file is "nagios.cfg". It is the starting point for the nagios server to read the configuration and contains all the needed includes (both files and directories).


Image:nagios_config.jpg


In the first column, there are some main configuration files and directories, in the second, the content of the ceinge directory and in the third column, is a list of the ceinge server configurations.

Here follows some details for the most important directories:

  • In /etc/nagios
    • baseTemplates: contains only templates of configuration objects, for all the services and hosts
    • ceinge: collection of all the ceinge configurations
      • servers: service configurations for individual ceinge servers
    • dbbm: collection of all the dbbm configurations
      • servers: service configurations for individual dbbm servers
    • extnet: external network configuration
    • nagiosObj: default nagios configuration

Also note, the ceinge directory contains a set of CEINGE-*.cfg files and another set of zone files, such as floor0, floor1, salaserver. The same for the DBBM directory, containing a set of DBBM-*.cfg files and a set of zone files, such as ed4,ed18,torre.

Personal tools