biolocal:Nagios
From Wiki CEINGE
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, belonging 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).
Look at this picture:
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, applicable to all services and hosts
- ceinge: collection of all the ceinge configurations
- servers: service configurations for individual server