-
This is the repository for La Metric Zabbix app. (public api version)
-
Howto install:
(1/4) La Metric
- login https://developer.lametric.com/ and follow this video:
(2/4) Zabbix:
- login to zabbix server, download lametric script and set permissions
wget -O /etc/zabbix/lametric.sh https://raw.githubusercontent.com/hermanekt/LaMetric_Time_ZABBIX/master/lametric.sh
chown zabbix:zabbix /etc/zabbix/lametric.sh && chmod +x /etc/zabbix/lametric.sh
- Change 2 variables in the script (can be found in https://developer.lametric.com/applications/list):
nano /etc/zabbix/lametric.sh
LAMETRIC_DEVELOPER_URL='https://developer.lametric.com/api/v1/dev/widget/update/com.lametric.YOUR_APP_ID'
LAMETRIC_ACCESS_TOKEN='XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
(3/4) Set new Action in zabbix frontend (run script on zabbix server) - follow this video:
- /etc/zabbix/lametric.sh "{EVENT.NAME}" "{EVENT.SEVERITY}" Problem
- /etc/zabbix/lametric.sh "{EVENT.NAME}" "{EVENT.SEVERITY}" OK
(4/4) Install your app to LaMetric Time - follow this video:
DONE!
- Tomas Hermanek - Initial work - hermanekt