-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsendgrid_zabbix_alert.conf.example
40 lines (31 loc) · 1.16 KB
/
sendgrid_zabbix_alert.conf.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# configuration is sourced by the shell script
# the following locations are checked.
#
# $HOME/.sendgrid_zabbix_alert.conf # /etc/zabbix/sendgrid_zabbix_alert.conf
# Mandatory variables:
# Where the mail should be send from
MAILFROMADDR="[email protected]"
# The name of the mailer
MAILFROMNAME="Zabbix Alert Script"
# Your sendgrid api key
SENDGRID_API_KEY="abc123"
# optional configuration
#SCRIPTTMPDIR=
# by default /tmp/sendgrid_zabbix_alert_USERNAME
# Optional debugging / testing settings
# DEBUG writes debug information stuff to stdout and logged files in /tmp (separate files with unix time)
#
# 1 - script output only
# 2 - enviroment variables and
# 3 - curl"--trace-ascii" output is logged NOTE THAT THIS WILL EXPOSE YOUR API KEY
# test without input parameters ( set them in config)
#
#TESTPARAMSINCONF=1
#MAILTO="[email protected]"
#MAILSUBJECT="test subject"
#MAILBODY="let's test this"
#
# EXIT_BEFORE_CURL=1
# CURL_URL
# the script defaults to "https://api.sendgrid.com/v3/mail/send"
# shouldn't need to change this if you are using sendgrid