biolocal:Nagios
From Wiki CEINGE
Revision as of 16:15, 10 October 2008 (edit) Gianluca (Talk | contribs) (→Nagios configuration organization) ← Previous diff |
Current revision (16:59, 10 October 2008) (edit) (undo) Gianluca (Talk | contribs) |
||
(9 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
A "Nagios" server for the network and server monitoring is available at the address: | A "Nagios" server for the network and server monitoring is available at the address: | ||
- | + | ||
- | http://nagios.ceinge.unina.it | + | |
- | + | [http://nagios.ceinge.unina.it 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. | ||
Line 75: | Line 78: | ||
- | The Nagios configuration is stored on the server, in a dedicated directory, under /etc/nagios and can be edited by the local users, | + | 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. |
<pre> | <pre> | ||
Line 88: | Line 91: | ||
Of course, any tool, supporting ssh, can be used (Textwrangler, Kate, ...) | Of course, any tool, supporting ssh, can be used (Textwrangler, Kate, ...) | ||
- | |||
- | |||
- | |||
- | |||
==Nagios configuration organization== | ==Nagios configuration organization== | ||
Line 97: | Line 96: | ||
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). | 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). | ||
- | Look at this picture: | ||
[[Image:nagios_config.jpg]] | [[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. | + | 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: | Here follows some details for the most important directories: | ||
*'''In /etc/nagios''' | *'''In /etc/nagios''' | ||
- | **'''baseTemplates''': contains only templates of configuration objects, | + | **'''baseTemplates''': contains only templates of configuration objects, for all the services and hosts |
**'''ceinge''': collection of all the ceinge configurations | **'''ceinge''': collection of all the ceinge configurations | ||
***'''servers''': service configurations for individual ceinge servers | ***'''servers''': service configurations for individual ceinge servers | ||
Line 115: | Line 113: | ||
**'''nagiosObj''': default nagios configuration | **'''nagiosObj''': default nagios configuration | ||
- | Also note, the ceinge directory contains a set of | + | 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. |
Current revision
A "Nagios" server for the network and server monitoring is available at the address:
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).
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.