Changes between Version 6 and Version 7 of Doc/Monitoring/Nagios


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/Monitoring/Nagios

    v6 v7  
    105105
    106106=== `NAGIOS_BASE_HOST` ===
     107
    107108A structure template defining a basic host, with all fields except, perhaps, an alias, set to sensible values.
     109
    108110=== `HW_LISTINGS` ===
    109111
    110112Lists all machines, grouped by hardware characteristics. It is set autmatically by ''monitoring/nagios/cfg'' and cannot be modified.
     113
    111114==== `per_hardware` ====
     115
    112116nlist in which keys are the hardware templates (the values of `DB_MACHINE`). The value is another structure:
     117
    113118===== `host_list` =====
     119
    114120List of all hosts associated to that hardware template.
     121
    115122===== `hardware_structure` =====
     123
    116124The complete hardware information as described on the hardware template.
     125
    117126==== `per_cpu` ====
     127
    118128nlist 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.
     129
    119130=== `HOSTSLIST` ===
     131
    120132Plain nlist with all hosts structures, extracted from `HW_LISTINGS`.
    121 ===`NAGIOS_EXTRA_HOSTS`===
     133
     134=== `NAGIOS_EXTRA_HOSTS` ===
     135
    122136List 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`===
     137
     138=== `NAGIOS_COMMANDS_TEMPLATE` ===
     139
    124140A structure template with home-made commands. A default set with all commnands used today (6/2008) at UAM is provided.
    125 ===`NAGIOS_HOSTSALIASES_TEMPLATE===
     141
     142=== `NAGIOS_HOSTSALIASES_TEMPLATE` ===
     143
    126144A template with additional per-host customizations. To be improved.
    127 ===`NAGIOS_HOSTGROUPS_TEMPLATE`===
     145
     146=== `NAGIOS_HOSTGROUPS_TEMPLATE` ===
     147
    128148A structure template with all hostgroups definitions.
    129 ===`NAGIOS_MACROS_TEMPLATE`===
     149
     150=== `NAGIOS_MACROS_TEMPLATE` ===
     151
    130152A structure template with any user-defined macros, not enclosed by '$' symbols. For instance, for setting `$USER1$`, do:
    131153{{{
    132154"USER1" = "/usr/lib/nagios/plugins";
    133155}}}
    134 ===`NAGIOS_TIMEPERIODS_TEMPLATE`===
     156
     157=== `NAGIOS_TIMEPERIODS_TEMPLATE` ===
     158
    135159A structure template with time periods definitions.
    136 ===`NAGIOS_CONTACTS_TEMPLATE`===
     160
     161=== `NAGIOS_CONTACTS_TEMPLATE` ===
     162
    137163A structure template with all contacts.
    138 ===`NAGIOS_CONTACTGROUPS_TEMPLATE`===
     164
     165=== `NAGIOS_CONTACTGROUPS_TEMPLATE` ===
     166
    139167A structure template with the different ways the CONTACTS are grouped.
    140 ===`NAGIOS_SERVICE_TEMPLATES`===
     168
     169=== `NAGIOS_SERVICE_TEMPLATES` ===
     170
    141171List with the names of the nagios structure templates that define each sensor.
    142 ===`NAGIOS_EXPLICIT_SERVICES`===
     172
     173=== `NAGIOS_EXPLICIT_SERVICES` ===
     174
    143175List with the complete definition of any services you don't want to specify as structure templates.
    144 ===`NAGIOS_GENERAL_OPTIONS`===
     176
     177=== `NAGIOS_GENERAL_OPTIONS` ===
     178
    145179nlist 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`===
     180
     181=== `NAGIOS_EXTERNAL_FILES` ===
     182
    147183List of external files to be added to Nagios configuraton.