-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Script says AccountSid not set #6
Comments
Explicitly set the config file location in the script: CONFIGFILE=/usr/lib/zabbix/alertscripts/twilio-sms.conf |
Yes AccountSID, AuthToken and Callerid. Have also done this
But in Zabbix the same Error |
Does it work from the command line? Check the permissions on the files. |
echo "TEST" | /usr/lib/zabbix/alertscripts/twilio-sms.sh -c /usr/lib/zabbix/alertscripts/twilio-sms.conf +4XXXXXXXXXX that works it |
Right. When you explicitly set the config file in the script, you avoid the
need to call it with -c in zabbix. I was able to avoid the error you are
getting by doing that.
…On Tue, Mar 28, 2023 at 14:57 Parzival ***@***.***> wrote:
echo "TEST" | /usr/lib/zabbix/alertscripts/twilio-sms.sh -c
/usr/lib/zabbix/alertscripts/twilio-sms.conf +4XXXXXXXXXX
Sending SMS to +4XXXXXXX from +1XXXXXXXXX...ok
that works it
—
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFDVQBENQ7M2C2ZBB2CRLLW6NGCZANCNFSM6AAAAAAUSR5OMI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Zabbix Settings Name -> Twilio |
The Script says AccountSid not set but i added all Data in the config File
AccountSid not set, it must be provided in the config file, or on the command line. Usage: twilio-sms [-v] [-c configfile] [-d callerid] [-u accountsid] [-p authtoken] number [number[number[...]]]
The text was updated successfully, but these errors were encountered: