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
Next revisionBoth sides next revision
documentation:software_interface [2016/12/14 15:26] – [Components] vordocumentation:software_interface [2017/05/23 14:18] – [Nagios API] vor
Line 99: Line 99:
 Example of a backplaneList: Example of a backplaneList:
  
-<code><backplaneList>+<code xml><backplaneList>
 <backplane position="1" id="RCU_84055620466592_BP_1" infrastructurePower="0.0"> <backplane position="1" id="RCU_84055620466592_BP_1" infrastructurePower="0.0">
 <temperatures>24.0</temperatures> <temperatures>24.0</temperatures>
Line 146: Line 146:
 Example XML: Example XML:
  
-<code><backplane position="1" id="RCU_84055620466592_BP_1" infrastructurePower="0.0">+<code xml><backplane position="1" id="RCU_84055620466592_BP_1" infrastructurePower="0.0">
 <temperatures>24.0</temperatures> <temperatures>24.0</temperatures>
 <temperatures>25.0</temperatures> <temperatures>25.0</temperatures>
Line 168: Line 168:
 Example XML: Example XML:
  
-<code><baseBoard rcuPosition="6" baseboardType="APLS" id="RCU_84055620466592_BB_6" infrastructurePower="9.8" rcuId="RCU_84055620466592">+<code xml><baseBoard rcuPosition="6" baseboardType="APLS" id="RCU_84055620466592_BB_6" infrastructurePower="9.8" rcuId="RCU_84055620466592">
 <nodeId>RCU_84055620466592_BB_6_1</nodeId> <nodeId>RCU_84055620466592_BB_6_1</nodeId>
 <nodeId>RCU_84055620466592_BB_6_2</nodeId> <nodeId>RCU_84055620466592_BB_6_2</nodeId>
Line 196: Line 196:
 Example XML: Example XML:
  
-<code><rcu rcuType="ANTARES" fanSpeed="60" rackId="RCK_1" name="RECSMaster (RCU) on 192.168.56.195" rackPosition="0" id="RCU_84055620466592">+<code xml><rcu rcuType="ANTARES" fanSpeed="60" rackId="RCK_1" name="RECSMaster (RCU) on 192.168.56.195" rackPosition="0" id="RCU_84055620466592">
 <backplaneId>RCU_84055620466592_BP_1</backplaneId> <backplaneId>RCU_84055620466592_BP_1</backplaneId>
 <baseBoardId>RCU_84055620466592_BB_1</baseBoardId> <baseBoardId>RCU_84055620466592_BB_1</baseBoardId>
Line 226: Line 226:
 Example XML: Example XML:
  
-<code><rack description="Default rack" id="RCK_1">+<code xml><rack description="Default rack" id="RCK_1">
 <rcuId>RCU_84055620466592</rcuId> <rcuId>RCU_84055620466592</rcuId>
 </rack></code> </rack></code>
Line 283: Line 283:
 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: 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 \ +<code bash>$ /usr/lib/nagios/plugins/check_nrpe -H 10.11.12.244 \ 
-            -c check_temp -a 10.11.12.244 10 2 30 40+            -c check_temp -a 10.11.12.244 10 2 70:104 105:
  
-OK - Temperature: 29 C|temp=29,000000;30;40;10,000000;105,000000+OK - Temperature: 29 C|temp=29,000000;70:104;105;70,000000;105,000000
 </code> </code>
  
Line 294: Line 294:
 | ''-H'' | Host to ask for data, this is always the IP of the TOR-Master (example: 10.11.12.244) | | ''-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'' | | ''-c'' | Plugin to run. Can be ''check_temp'' or ''check_power'' |
-| ''-a''Options to pass to the plugin, see more details in tables below |+| ''-a''Arguments to pass to the plugin, see more details in tables below |
  
-Options for ''check_temp'' plugin: \\+Arguments for ''check_temp'' plugin: \\
  
-Option example ^ Description ^+Argument example ^ Description ^
 | ''10.11.12.244'' | Get sensor values from device with this IP (RCU/RPU) | | ''10.11.12.244'' | Get sensor values from device with this IP (RCU/RPU) |
 | ''10'' | Get sensor values from this baseboard (''1'' - ''18'') | | ''10'' | Get sensor values from this baseboard (''1'' - ''18'') |
 | ''2'' | Get values from this sensor (''max'', ''inlet'', ''outlet'', ''0'', ''1'', ''2'', ''3'', ''4'') | | ''2'' | Get values from this sensor (''max'', ''inlet'', ''outlet'', ''0'', ''1'', ''2'', ''3'', ''4'') |
-| ''30''Upper warning threshold | +| ''70:104''Range of warning threshold | 
-| ''40''Upper critical threshold |+| ''105''Range critical threshold (ending with '':'' means open end) |
  
-Options for the ''check_power'' plugin: \\+Arguments for the ''check_power'' plugin: \\
  
-Option example ^ Description ^+Argument example ^ Description ^
 | ''10.11.12.244'' | Get sensor values from device with this IP (RCU/RPU) | | ''10.11.12.244'' | Get sensor values from device with this IP (RCU/RPU) |
 | ''10'' | Get sensor values from this baseboard (''1'' - ''18'') |     | ''10'' | Get sensor values from this baseboard (''1'' - ''18'') |    
 | ''2'' | Get sensor values from this node (''1'', ''2'', ''3'', ''4'') | | ''2'' | Get sensor values from this node (''1'', ''2'', ''3'', ''4'') |
-| ''30''Upper warning threshold [Watt] | +| ''80:110''Range of warning threshold [Watt] | 
-| ''40''Upper critical threshold [Watt] |+| ''110:''Range of critical threshold [Watt] |