Commit 87d37e8d authored by Jonathan Schaeffer's avatar Jonathan Schaeffer

Pour l'alerte Zabbix

parent 9a536c1a
......@@ -14,11 +14,11 @@ set -a
###################
zabbix_err(){
zabbix_sender -k resifdatadump.failed -s $(hostname -a) -o "${@}" -z monitoring.osug.fr
zabbix_sender -k resifdatadump.failed -s $(hostname -f) -o "${@}" -z monitoring.osug.fr
}
zabbix_ok(){
zabbix_sender -k resifdatadump.ok -s $(hostname -a) -o "${@}" -z monitoring.osug.fr
zabbix_sender -k resifdatadump.ok -s $(hostname -f) -o "${@}" -z monitoring.osug.fr
}
# Format a report line. Parameters is the list of data to append to the report :
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment