biolocal:Nagios

From Wiki CEINGE

(Difference between revisions)
Jump to: navigation, search
Revision as of 16:21, 10 October 2008 (edit)
Gianluca (Talk | contribs)
(Nagios configuration organization)
← Previous diff
Revision as of 16:23, 10 October 2008 (edit) (undo)
Gianluca (Talk | contribs)
(Nagios configuration organization)
Next diff →
Line 110: Line 110:
**'''nagiosObj''': default nagios configuration **'''nagiosObj''': default nagios configuration
-Also note, the ceinge directory contains a set of general 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.+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.

Revision as of 16:23, 10 October 2008

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

http://nagios.ceinge.unina.it


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















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, ...)

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