Updated documentation
This commit is contained in:
13
README.md
13
README.md
@@ -309,10 +309,10 @@ define command {
|
|||||||
}
|
}
|
||||||
~~~
|
~~~
|
||||||
With `<<sensor>>` replaced by the sensor, e.g. w1_ds18b20 for a 1-wire DS18B20,
|
With `<<sensor>>` replaced by the sensor, e.g. w1_ds18b20 for a 1-wire DS18B20,
|
||||||
i2c_mcp9808 for an I2C MCP9808 sensor or i2c_bme280 for an I2C BME280. Run the
|
i2c_mcp9808 for an I2C MCP9808 sensor or i2c_bme280 for an I2C BME280. Run
|
||||||
|
`check_temperature -h` to get the list of supported sensors. In case you have
|
||||||
In case you have multiple sensors, add multiple definitions with different
|
multiple sensors, add a separate definition for each sensor with a different
|
||||||
values for `command_name`.
|
value for `command_name`.
|
||||||
|
|
||||||
If you need to pass on additional parameters, e.g. the sensor serial for an
|
If you need to pass on additional parameters, e.g. the sensor serial for an
|
||||||
1-wire DS18B20, you can do that like this:
|
1-wire DS18B20, you can do that like this:
|
||||||
@@ -351,9 +351,8 @@ define command {
|
|||||||
|
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
For the list of available sensors, please run `check_temperature -h` and run
|
For the list of supported sensors run `check_temperature -h` and to get the
|
||||||
`check_temperature <<sensor>> -h` to get the list of accepted options for sensor
|
options sensor ``<<sensor>>`` supports run `check_temperature <<sensor>> -h`.
|
||||||
``<<sensor>>``.
|
|
||||||
|
|
||||||
Make sure to replace `[install_path]/plugins` with the location of the script.
|
Make sure to replace `[install_path]/plugins` with the location of the script.
|
||||||
To use the it define a service check like below:
|
To use the it define a service check like below:
|
||||||
|
|||||||
Reference in New Issue
Block a user