-
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
Issue finding twilio-sms.conf file #1
Comments
I also had this issue, what is the correct way to setup this script in the media type settings? |
This is what mine looks like: https://github.com/ericallenpaul/Zabbix-Twilio.sh/blob/master/Image%2010.jpg |
This is what my action looks like: |
Hello, I did test this out and POC, seems to work great. Currently using a free trial account and according to twilio, should be functional with no restrictions. I do get sms messages to my phone, however it says something along the lines of, sent via twilio to free account to "my name" thanks a bunch...other than that this seems fairly easy to implement. having that said, it wont send the actual zabbix messages. I did check the |
No. No settings on yeillio need to be tweaked
…Sent from my Galaxy
-------- Original message --------
From: ang3lwitch <notifications@github.com>
Date: 12/5/20 9:07 AM (GMT-05:00)
To: "ericallenpaul/Zabbix-Twilio.sh" <Zabbix-Twilio.sh@noreply.github.com>
Cc: Eric Paul <ericallenpaul@hotmail.com>, Comment <comment@noreply.github.com>
Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Issue finding twilio-sms.conf file (#1)
Hello, I did test this out and POC, seems to work great.
my question is, are there any settings via twilio console I will need to set or tweak.
Currently using a free trial account and according to twilio, should be functional with no restrictions.
I do get sms messages to my phone, however it says something along the lines of,
sent via twilio to free account to "my name"
thanks a bunch...other than that this seems fairly easy to implement.
appreciate you.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fericallenpaul%2FZabbix-Twilio.sh%2Fissues%2F1%23issuecomment-739255511&data=04%7C01%7C%7Cad19043c727948b5d01608d899270a2b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637427740228864613%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=SpteM2VqgsEJQJwqORh9W50vKmkSyB2LViHfQfC%2BrLs%3D&reserved=0>, or unsubscribe<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAGO5AKPDQUOLPB2AMZL6BLSTI5ANANCNFSM4P76A7AA&data=04%7C01%7C%7Cad19043c727948b5d01608d899270a2b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637427740228874608%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=F%2Bfagxuc1vjXixg6Fmr6cNcmJECC4%2FdEceujJGQyXEI%3D&reserved=0>.
|
ok, thanks for that |
I know I ended up having to download the latest twillio config file to get
mine to work properly, but everything else worked perfectly once I got that
up and going.
…On Sat, Dec 5, 2020 at 9:47 AM ang3lwitch ***@***.***> wrote:
ok, thanks for that
Enjoy the weekend
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHGNMN3RYZROU7DK4KZIIILSTJPZDANCNFSM4P76A7AA>
.
|
Have a link or location for the new file?
On Sat, Dec 5, 2020, 4:48 PM spauldingportraits <notifications@github.com>
wrote:
… I know I ended up having to download the latest twillio config file to get
mine to work properly, but everything else worked perfectly once I got that
up and going.
On Sat, Dec 5, 2020 at 9:47 AM ang3lwitch ***@***.***>
wrote:
> ok, thanks for that
> Enjoy the weekend
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <
#1 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AHGNMN3RYZROU7DK4KZIIILSTJPZDANCNFSM4P76A7AA
>
> .
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF4T3VX6GCK27YFNDJMCD2LSTKTDRANCNFSM4P76A7AA>
.
|
Eric put it in the readme, but it should be here -
https://www.twilio.com/labs/bash/sms
…On Sat, Dec 5, 2020 at 3:52 PM ang3lwitch ***@***.***> wrote:
Have a link or location for the new file?
On Sat, Dec 5, 2020, 4:48 PM spauldingportraits ***@***.***>
wrote:
> I know I ended up having to download the latest twillio config file to
get
> mine to work properly, but everything else worked perfectly once I got
that
> up and going.
>
> On Sat, Dec 5, 2020 at 9:47 AM ang3lwitch ***@***.***>
> wrote:
>
> > ok, thanks for that
> > Enjoy the weekend
> >
> > —
> > You are receiving this because you authored the thread.
> > Reply to this email directly, view it on GitHub
> > <
>
#1 (comment)
> >,
> > or unsubscribe
> > <
>
https://github.com/notifications/unsubscribe-auth/AHGNMN3RYZROU7DK4KZIIILSTJPZDANCNFSM4P76A7AA
> >
> > .
> >
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <
#1 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AF4T3VX6GCK27YFNDJMCD2LSTKTDRANCNFSM4P76A7AA
>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHGNMNYFWO7WKSOIFMWE7SDSTK2UPANCNFSM4P76A7AA>
.
|
Well, I do get alerts every time I manipulate a trigger. What I am failing to understand or do is to get the whole body of the zabbix alert, i.e. "host is down" or " diskspace is low on {HOST.NAME} etc... All i get is "Sent from your Twilio trial account: then nothing else. I would not think the trial account would limit my messages, they say it is fully functional. so my guess is either I am possibly missing an rpm package to assist (CentOS7) and zabbix 5.0.5. |
you need to setup your actions accordingly, this is handled in Zabbix with
plenty of documentation on it, the trial account will always send the "
sent from Twilio trial" before the text in the action that gets triggered.
…On Sun, Dec 6, 2020 at 6:42 AM ang3lwitch ***@***.***> wrote:
Well, I do get alerts every time I manipulate a trigger.
A message does come to my phone, that is good.
What I am failing to understand or do is to get the whole body of the
zabbix alert, i.e. "host is down" or " diskspace is low on {HOST.NAME}
etc...
All i get is "Sent from your Twilio trial account: then nothing else.
Is that by design or am i doing it wrong, lol?
I would not think the trial account would limit my messages, they say it
is fully functional.
so my guess is either I am possibly missing an rpm package to assist
(CentOS7) and zabbix 5.0.5.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHGNMN7XOR3GJHSYG4HEFNTSTOC4FANCNFSM4P76A7AA>
.
|
Yep. You just need to make sure you're using the right variables in your action based on the text message you want to see. |
what is the best way to filter our hosts from the SMS, for example I do not want to be altered if dev or testing servers have an event? |
Put the hosts in maintenance. Add a rule to your action for "Maintenance status not in maintenance" |
trying to implement this in my zabbix install.
using the script test command works correctly and sends SMS. Once I add it as a media type and try to test it, it fails with an error saying it can't find the configuration file.
The error I get is as follow's.
Details Media type test failed.
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[...]]]
I've provided the -c /usr/lib/zabbix/alertscripts/twilio-sms.conf both in the script name and as a parameter and it still fails to find the script.
The text was updated successfully, but these errors were encountered: