Changes between Version 4 and Version 5 of Doc/Monitoring/Nagios


Ignore:
Timestamp:
Jun 10, 2008, 1:16:58 AM (16 years ago)
Author:
/DC=es/DC=irisgrid/O=uam/CN=luisf-munnoz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/Monitoring/Nagios

    v4 v5  
    104104== Variable index ==
    105105
    106 To be done.
     106=== `NAGIOS_BASE_HOST` ===
     107A structure template defining a basic host, with all fields except, perhaps, an alias, set to sensible values.
     108=== `HW_LISTINGS` ===
     109
     110Lists all machines, grouped by hardware characteristics. It is set autmatically by ''monitoring/nagios/cfg'' and cannot be modified.
     111==== `per_hardware` ====
     112nlist in which keys are the hardware templates (the values of `DB_MACHINE`). The value is another structure:
     113===== `host_list` =====
     114List of all hosts associated to that hardware template.
     115===== `hardware_structure` =====
     116The complete hardware information as described on the hardware template.
     117==== `per_cpu` ====
     118nlist with the machines grouped by number of processors. The key is in the form "_n", where n is the number of CPUs. The value is the list of hosts.
     119=== `HOSTSLIST` ===
     120Plain nlist with all hosts structures, extracted from `HW_LISTINGS`.
     121===`NAGIOS_EXTRA_HOSTS`===
     122List of FQDNs with additional hosts to be monitored. Put here any host outside your CDB you want to monitor, for instance routers or external DNS servers.
     123===`NAGIOS_COMMANDS_TEMPLATE`===
     124A structure template with home-made commands. A default set with all commnands used today (6/2008) at UAM is provided.
     125===`NAGIOS_HOSTSALIASES_TEMPLATE===
     126A template with additional per-host customizations. To be improved.
     127===`NAGIOS_HOSTGROUPS_TEMPLATE`===
     128A structure template with all hostgroups definitions.
     129===`NAGIOS_MACROS_TEMPLATE`===
     130A structure template with any user-defined macros, not enclosed by '$' symbols. For instance, for setting `$USER1$, do:
     131{{{
     132"USER1" = "/usr/lib/nagios/plugins";
     133}}}
     134===`NAGIOS_TIMEPERIODS_TEMPLATE`===
     135A structure template with time periods definitions.
     136===`NAGIOS_CONTACTS_TEMPLATE`===
     137A structure template with all contacts.
     138===`NAGIOS_CONTACTGROUPS_TEMPLATE`===
     139A structure template with the different ways the CONTACTS are grouped.
     140===`NAGIOS_SERVICE_TEMPLATES`===
     141List with the names of the nagios structure templates that define each sensor.
     142===`NAGIOS_EXPLICIT_SERVICES`===
     143List with the complete definition of any services you don't want to specify as structure templates.
     144===`NAGIOS_GENERAL_OPTIONS`===
     145nlist with all generic options you may want, such as whether to accept external commands or not. Check the Nagios documentation to see what options are available.
     146===`NAGIOS_EXTERNAL_FILES`===
     147List of external files to be added to Nagios configuraton.