fix help openweathermap (#1507)

This commit is contained in:
Simon Bomm 2019-05-13 18:12:02 +02:00 committed by GitHub
parent 5c2288cc43
commit 759f42282b

View File

@ -157,28 +157,37 @@ Check city weather
=item B<--city-name> =item B<--city-name>
Filter node name (regexp can be used) City name (e.g London or ISO 3166 code like London,uk)
=item B<--warning-weather> =item B<--warning-weather>
Set warning threshold on node compliance. Set warning threshold for weather string desc (Default: '').
Can used special variables like: %{weather}
=item B<--critical-weather> =item B<--critical-weather>
Set critical threshold on node compliance. Set critical threshold for weather string desc (Default: '').
Can used special variables like: %{weather}
=item B<--warning-status>
Set warning threshold for status of rule compliance (Default: '').
Can used special variables like: %{rule}, %{compliance}
=item B<--critical-status>
Set critical threshold for status of rule compliance (Default: '').
Can used special variables like: %{rule}, %{compliance}
Example : Example :
--critical-status='%{rule} eq "Global configuration for all nodes" && %{compliance} < 95' --critical-weather='%{weather} eq "Clouds'
=item B<--warning-*>
Set warning threshold for each metric gathered
Can be :
- temperature (Celsius)
- humidity (%)
- clouds (% coverage)
- wind (speed m/s)
=item B<--critical-*>
Set warning threshold for each metric gathered
Can be :
- temperature (Celsius)
- humidity (%)
- clouds (% coverage)
- wind (speed m/s)
=back =back