Commit 1ec60af44a4435b54aff2e51322233532f2384c1
1 parent
379482e7
Updated documentation
Showing
1 changed file
with
6 additions
and
7 deletions
README.md
... | ... | @@ -309,10 +309,10 @@ define command { |
309 | 309 | } |
310 | 310 | ~~~ |
311 | 311 | With `<<sensor>>` replaced by the sensor, e.g. w1_ds18b20 for a 1-wire DS18B20, |
312 | -i2c_mcp9808 for an I2C MCP9808 sensor or i2c_bme280 for an I2C BME280. Run the | |
313 | - | |
314 | -In case you have multiple sensors, add multiple definitions with different | |
315 | -values for `command_name`. | |
312 | +i2c_mcp9808 for an I2C MCP9808 sensor or i2c_bme280 for an I2C BME280. Run | |
313 | +`check_temperature -h` to get the list of supported sensors. In case you have | |
314 | +multiple sensors, add a separate definition for each sensor with a different | |
315 | +value for `command_name`. | |
316 | 316 | |
317 | 317 | If you need to pass on additional parameters, e.g. the sensor serial for an |
318 | 318 | 1-wire DS18B20, you can do that like this: |
... | ... | @@ -351,9 +351,8 @@ define command { |
351 | 351 | |
352 | 352 | ~~~ |
353 | 353 | |
354 | -For the list of available sensors, please run `check_temperature -h` and run | |
355 | -`check_temperature <<sensor>> -h` to get the list of accepted options for sensor | |
356 | -``<<sensor>>``. | |
354 | +For the list of supported sensors run `check_temperature -h` and to get the | |
355 | +options sensor ``<<sensor>>`` supports run `check_temperature <<sensor>> -h`. | |
357 | 356 | |
358 | 357 | Make sure to replace `[install_path]/plugins` with the location of the script. |
359 | 358 | To use the it define a service check like below: |
... | ... |