Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVyacheslav Khaliev <vyacheslav.khaliev@zabbix.com>2022-03-30 17:23:31 +0300
committerVyacheslav Khaliev <vyacheslav.khaliev@zabbix.com>2022-03-30 17:23:31 +0300
commit698602e859b01ee460f162d15797c6b3cd930d57 (patch)
tree30eb670773c5e6b98ac3f1d832ba91a04e6cdb1c /templates
parent851e45ce5428f6940e1a8d58bdcc78ea3fc1d43f (diff)
.........T [ZBXNEXT-6781] fixed readme for openweathermap template
Diffstat (limited to 'templates')
-rw-r--r--templates/app/openweathermap_http/README.md8
-rw-r--r--templates/app/openweathermap_http/template_app_openweathermap_http.yaml6
2 files changed, 7 insertions, 7 deletions
diff --git a/templates/app/openweathermap_http/README.md b/templates/app/openweathermap_http/README.md
index 635837e8539..9d2f13c1de6 100644
--- a/templates/app/openweathermap_http/README.md
+++ b/templates/app/openweathermap_http/README.md
@@ -3,7 +3,7 @@
## Overview
-For Zabbix version: 6.0 and higher
+For Zabbix version: 6.2 and higher
Get weather metrics from OpenWeatherMap current weather API by HTTP.
It works without any external scripts and uses the Script item.
@@ -22,8 +22,8 @@ It works without any external scripts and uses the Script item.
- by location name (for example: Riga)
- by location ID. Link to the list of city ID: http://bulk.openweathermap.org/sample/city.list.json.gz
- by zip/post code with a country code (for example: 94040,us)
- A few locations can be added to the macro at the same time by "|" delimiter.
- For example: 43.81821,7.76115|Riga|2643743|94040,us.
+ A few locations can be added to the macro at the same time by `|` delimiter.
+ For example: `43.81821,7.76115|Riga|2643743|94040,us`.
Please note that API requests by city name, zip-codes and city id will be deprecated soon.
Language and units macros can be customized too if necessary.
@@ -39,7 +39,7 @@ No specific Zabbix configuration is required.
|Name|Description|Default|
|----|-----------|-------|
|{$LANG} |<p>List of available languages https://openweathermap.org/current#multi.</p> |`en` |
-|{$LOCATION} |<p>Locations can be set by few ways:</p><p>1. by geo coordinates (for example: 56.95,24.0833)</p><p>2. by location name (for example: Riga)</p><p>3. by location ID. Link to the list of city ID: http://bulk.openweathermap.org/sample/city.list.json.gz</p><p>4. by zip/post code with a country code (for example: 94040,us)</p><p>A few locations can be added to the macro at the same time by "|" delimiter. </p><p>For example: 43.81821,7.76115|Riga|2643743|94040,us.</p><p>Please note that API requests by city name, zip-codes and city id will be deprecated soon.</p> |`Riga` |
+|{$LOCATION} |<p>Locations can be set by few ways:</p><p>1. by geo coordinates (for example: 56.95,24.0833)</p><p>2. by location name (for example: Riga)</p><p>3. by location ID. Link to the list of city ID: http://bulk.openweathermap.org/sample/city.list.json.gz</p><p>4. by zip/post code with a country code (for example: 94040,us)</p><p>A few locations can be added to the macro at the same time by <code>\|</code> delimiter. </p><p>For example: <code>43.81821,7.76115\|Riga\|2643743\|94040,us</code>.</p><p>Please note that API requests by city name, zip-codes and city id will be deprecated soon.</p> |`Riga` |
|{$OPENWEATHERMAP.API.ENDPOINT} |<p>OpenWeatherMap API endpoint.</p> |`api.openweathermap.org/data/2.5/weather?` |
|{$OPENWEATHERMAP.API.TOKEN} |<p>Specify openweathermap API key.</p> |`` |
|{$OPENWEATHERMAP.DATA.TIMEOUT} |<p>Response timeout for OpenWeatherMap API.</p> |`3s` |
diff --git a/templates/app/openweathermap_http/template_app_openweathermap_http.yaml b/templates/app/openweathermap_http/template_app_openweathermap_http.yaml
index 97532a5f60a..70a7d02ca44 100644
--- a/templates/app/openweathermap_http/template_app_openweathermap_http.yaml
+++ b/templates/app/openweathermap_http/template_app_openweathermap_http.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '6.0'
- date: '2022-03-18T09:49:27Z'
+ date: '2022-03-30T13:31:18Z'
groups:
-
uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6
@@ -703,8 +703,8 @@ zabbix_export:
2. by location name (for example: Riga)
3. by location ID. Link to the list of city ID: http://bulk.openweathermap.org/sample/city.list.json.gz
4. by zip/post code with a country code (for example: 94040,us)
- A few locations can be added to the macro at the same time by "|" delimiter.
- For example: 43.81821,7.76115|Riga|2643743|94040,us.
+ A few locations can be added to the macro at the same time by `|` delimiter.
+ For example: `43.81821,7.76115|Riga|2643743|94040,us`.
Please note that API requests by city name, zip-codes and city id will be deprecated soon.
-
macro: '{$OPENWEATHERMAP.API.ENDPOINT}'