meta data for this page
  •  

This is an old revision of the document!


Nagios API

The software integration work to monitor the RECS®|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:

/usr/lib/nagios/plugins/check_nrpe -H 10.11.12.244 -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

The options are used as following

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 this device (RCU/RPU)
10 Get sensor values from this baseboard (1-18)
2
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 this device (RCU/RPU)
10 Get sensor values from this baseboard (1-18)
2 Get values from this node (0, 1, 2, 3, 4)
30 Upper warning threshold
40 Upper critical threshold