-
Notifications
You must be signed in to change notification settings - Fork 233
Location
Ilya Ableev edited this page Jan 14, 2019
·
2 revisions
You can use a location map with messages.
Two methods: address or coordinates.
Add to your action
zbxtg;location:{INVENTORY.LOCATION}
In that case, you should fill the "location" field in the host's inventory. The address should be searchable by Google.
Also, you need to get Google API key (https://developers.google.com/maps/documentation/geocoding/intro) and place into zbxtg_settings.py
, google_maps_api_key
variable.
Add to your action
zbxtg;lat:{INVENTORY.LOCATION.LAT}
zbxtg;lon:{INVENTORY.LOCATION.LON}
In that case, you should fill latitude and longitude fields in the host's inventory. No need to get Google API key.
https://github.com/ableev/Zabbix-in-Telegram/issues/48