Changes between Version 6 and Version 7 of Doc/Monitoring/Nagios
- Timestamp:
- Jun 10, 2008, 1:22:12 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Doc/Monitoring/Nagios
v6 v7 105 105 106 106 === `NAGIOS_BASE_HOST` === 107 107 108 A structure template defining a basic host, with all fields except, perhaps, an alias, set to sensible values. 109 108 110 === `HW_LISTINGS` === 109 111 110 112 Lists all machines, grouped by hardware characteristics. It is set autmatically by ''monitoring/nagios/cfg'' and cannot be modified. 113 111 114 ==== `per_hardware` ==== 115 112 116 nlist in which keys are the hardware templates (the values of `DB_MACHINE`). The value is another structure: 117 113 118 ===== `host_list` ===== 119 114 120 List of all hosts associated to that hardware template. 121 115 122 ===== `hardware_structure` ===== 123 116 124 The complete hardware information as described on the hardware template. 125 117 126 ==== `per_cpu` ==== 127 118 128 nlist 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 119 130 === `HOSTSLIST` === 131 120 132 Plain nlist with all hosts structures, extracted from `HW_LISTINGS`. 121 ===`NAGIOS_EXTRA_HOSTS`=== 133 134 === `NAGIOS_EXTRA_HOSTS` === 135 122 136 List 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 124 140 A 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 126 144 A template with additional per-host customizations. To be improved. 127 ===`NAGIOS_HOSTGROUPS_TEMPLATE`=== 145 146 === `NAGIOS_HOSTGROUPS_TEMPLATE` === 147 128 148 A structure template with all hostgroups definitions. 129 ===`NAGIOS_MACROS_TEMPLATE`=== 149 150 === `NAGIOS_MACROS_TEMPLATE` === 151 130 152 A structure template with any user-defined macros, not enclosed by '$' symbols. For instance, for setting `$USER1$`, do: 131 153 {{{ 132 154 "USER1" = "/usr/lib/nagios/plugins"; 133 155 }}} 134 ===`NAGIOS_TIMEPERIODS_TEMPLATE`=== 156 157 === `NAGIOS_TIMEPERIODS_TEMPLATE` === 158 135 159 A structure template with time periods definitions. 136 ===`NAGIOS_CONTACTS_TEMPLATE`=== 160 161 === `NAGIOS_CONTACTS_TEMPLATE` === 162 137 163 A structure template with all contacts. 138 ===`NAGIOS_CONTACTGROUPS_TEMPLATE`=== 164 165 === `NAGIOS_CONTACTGROUPS_TEMPLATE` === 166 139 167 A structure template with the different ways the CONTACTS are grouped. 140 ===`NAGIOS_SERVICE_TEMPLATES`=== 168 169 === `NAGIOS_SERVICE_TEMPLATES` === 170 141 171 List with the names of the nagios structure templates that define each sensor. 142 ===`NAGIOS_EXPLICIT_SERVICES`=== 172 173 === `NAGIOS_EXPLICIT_SERVICES` === 174 143 175 List 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 145 179 nlist 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 147 183 List of external files to be added to Nagios configuraton.