System information
52 System Analysis and Tuning Guide
For further information on how to install packages see:
• Section“Using Zypper” (Chapter6, Managing Software with Command Line Tools,
↑Administration Guide)
• Section“Installing and Removing Packages or Patterns” (Chapter9, Installing or
Removing Software, ↑Deployment Guide)
Both methods install the packages nagios and nagios-www. The later RPM pack-
age contains a Web interface for Nagios which allows, for example, to view the ser-
vice status and the problem history. However, this is not absolutely necessary.
Nagios is modular designed and, thus, uses external check plug-ins to verify whether a
service is available or not. It is recommended to install the nagios-plugin RPM
package that contains ready-made check plug-ins. However, it is also possible to write
your own, custom check plug-ins.
3.3 Nagios Configuration Files
Nagios organizes the configuration files as follows:
/etc/nagios/nagios.cfg
Main configuration file of Nagios containing a number of directives which de-
fine how Nagios operates. See http://nagios.sourceforge.net/
docs/3_0/configmain.html for a complete documentation.
/etc/nagios/resource.cfg
Containing path to all Nagios plug-ins (default: /usr/lib/nagios/plug
ins).
/etc/nagios/command.cfg
Defining the programs to be used to determine the availability of services or the
commands which are used to send e-mail notifications.
/etc/nagios/cgi.cfg
Contains options regarding the Nagios Web interface.
/etc/nagios/objects/
A directory containing object definition files. See Section3.3.1, “Object Defini-
tion Files” (page53) for a more complete documentation.