.. -*- mode: rst -*-

.. _server-plugins-structures-bundler-nagios:

nagios
======

A Bundle for the Nagios service. This Bundle installs all of our local
Nagios plugins, takes into account that the SNMP package changed names
between SLES 8 and SLES 9, and works on both the Nagios server and
the clients.

.. code-block:: xml

    <Bundle>
      <Group name='sles8'>
        <Package name='ucdsnmp'/>
      </Group>
      <Group name='sles9'>
        <Package name='net-snmp'/>
      </Group>
      <Package name='nagios-plugins'/>
      <Package name='perl-SNMP'/>
      <Package name='radiusclient' />
      <Package name='postgresql-libs' />
      <Package name='mysql-shared' />
      <Path name='/etc/hosts.deny'/>
      <Path name='/etc/services'/>
      <Path name='/etc/snmpd.conf'/>
      <Path glob='/usr/lib/nagios/plugins/*'/>
      <Service name='snmpd'/>
      <Group name='nagios-server'>
        <Package name='nagios'/>
        <Package name='nagios-devel'/>
        <Package name='nagios-www'/>
        <Path name='/etc/httpd/conf.d/nagios.conf'/>
        <Path glob='/etc/nagios/*'/>
      </Group>
    </Bundle>

.. note::

    You may also want to have a look at the :ref:`NagiosGen
    <server-plugins-generators-nagiosgen>` plugin.
