meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
documentation:nagios_api [2015/05/19 11:13] vordocumentation:nagios_api [2016/11/03 13:58] (current) – removed vor
Line 1: Line 1:
-====== Nagios API ====== 
  
-The software integration work to monitor the RECS<sup>(r)</sup>%%|%%Box System is quite simple as the the TOR-Master provides monitoring information in the Nagios native NRPE format. So only the NRPE plugin has to be installed and configured as follows. Here, a sample output can be found: 
- 
-<code> 
-/usr/lib/nagios/plugins/check_nrpe -H 10.11.12.244 &#9166; -c check_temp -a 10.11.12.244 10 2 30 40 
-OK - Temperature: 29 C|temp=29,000000;30;40;10,000000;105,000000 
-</code> 
- 
-The options are used as following: \\[1ex] 
- 
-^ Option ^ Description ^ 
-| ''-H'' | Host to ask for data, this is always the IP of the TOR-Master (example: 10.11.12.244) | 
-| ''-c'' | Plugin to run. Can be ''check_temp'' or ''check_power'' | 
-| ''-a'' | Options to pass to the plugin, see more details in tables below | 
- 
-Options for ''check_temp'' plugin: \\ 
- 
-^ Option example ^ Description ^ 
-| ''10.11.12.244'' | Get sensor values from device with this IP (RCU/RPU) | 
-| ''10'' | Get sensor values from this baseboard (''1'' - ''18'') | 
-| ''2'' | Get values from this sensor (''max'', ''inlet'', ''outlet'', ''0'', ''1'', ''2'', ''3'', ''4'') | 
-| ''30'' | Upper warning threshold | 
-| ''40'' | Upper critical threshold | 
- 
-Options for the ''check_power'' plugin: \\ 
- 
-^ Option example ^ Description ^ 
-| ''10.11.12.244'' | Get sensor values from device with this IP (RCU/RPU) | 
-| ''10'' | Get sensor values from this baseboard (''1'' - ''18'') |     
-| ''2'' | Get sensor values from this node (''1'', ''2'', ''3'', ''4'') | 
-| ''30'' | Upper warning threshold [Watt] | 
-| ''40'' | Upper critical threshold [Watt] |