From 4a76a69289445fab84902c23a1785da2c090ce18 Mon Sep 17 00:00:00 2001 From: Michele Grandolfo <m.grandolfo@reply.it> Date: Wed, 27 Jan 2016 11:12:02 +0100 Subject: [PATCH] Added alert script letting zabbix-metrics work with call back toward BL's exposed web service --- README.md | 4 ++-- alert-scripts-metrics/statusMachUpdate.sh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 alert-scripts-metrics/statusMachUpdate.sh diff --git a/README.md b/README.md index f15bd64..b0f0735 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Zabbix External Scripts ## Info -Gli script Python in questo progetto sono usati come check esterni per il monitoring verso Zabbix Server tramite l'utilizzo di Zabbix Proxy. +The Python scripts contained in this project are used as external checks in Zabbix server by means of ZAbbix proxy. -## Autori +## Authors Roberto Valentini, Daniele Belfiore, Daniele Spiga, Matteo Pergolesi diff --git a/alert-scripts-metrics/statusMachUpdate.sh b/alert-scripts-metrics/statusMachUpdate.sh new file mode 100644 index 0000000..d31a46f --- /dev/null +++ b/alert-scripts-metrics/statusMachUpdate.sh @@ -0,0 +1,2 @@ +#!/bin/bash +curl -X POST -H "Content-Type: application/json" -H "X-Auth-Token: $2" -d "$3" "$1" -o /var/log/zabbix/zabbix_server.log -- GitLab