Open empangilinan opened 1 year ago
If you got 9 instead of one I would double check your media setup. What do the action logs show in Zabbix?
From: empangilinan @.> Sent: Thursday, December 1, 2022 8:37 AM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Subscribed @.***> Subject: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
The sms were able to sent. However, we are receiving a multiple SMSES. For example the alert is only 1. Problem started(Operation) and Problem Resolved (Recovery). When the SMS sent. we got about 9 Problem Started and 9 Problem Resolved. Something like that.
What do you think is the issue? Thanks!
- Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fericallenpaul%2FZabbix-Twilio.sh%2Fissues%2F5&data=05%7C01%7C%7Cf8e83311e0a145bfe78708dad3a12d86%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638054986445089135%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=E1DquudgoJjF%2FQEQryipfGVjQvU1Dot%2FQccSDHQBSwo%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAGO5APDMGV43ERDUUGGHDDWLCSZFANCNFSM6AAAAAASQZOUAY&data=05%7C01%7C%7Cf8e83311e0a145bfe78708dad3a12d86%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638054986445089135%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=tzGQF%2FbNrc2KeSXn03As851HTA9Aa1kNHiyYQo%2FhLYQ%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>
Hello, thanks for replying me. Where can i see the action log on zabbix server? Thanks!
I think it's under reports
Sent from my Galaxy
-------- Original message -------- From: empangilinan @.> Date: 12/1/22 4:48 PM (GMT-08:00) To: "ericallenpaul/Zabbix-Twilio.sh" @.> Cc: Eric Paul @.>, Comment @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Hello, thanks for replying me. Where can i see the action log on zabbix server? Thanks!
— Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fericallenpaul%2FZabbix-Twilio.sh%2Fissues%2F5%23issuecomment-1334627704&data=05%7C01%7C%7C7f38e04c22254d2cbcd608dad3fede62%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638055388846441181%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=RWM0X2k282VnJEFjhM30SygPpXRdENv1hOrhtB7WAjs%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAGO5AKR6FG2LEAJNVB5UODWLFBMFANCNFSM6AAAAAASQZOUAY&data=05%7C01%7C%7C7f38e04c22254d2cbcd608dad3fede62%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638055388846441181%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=S9uqCJVX1KVz3I9XLrKNqAATU31r0P2D%2FXpqjPN%2Fc0Q%3D&reserved=0. You are receiving this because you commented.Message ID: @.***>
Do i need to put a phone number also on Users - Media?
i think i got the issue now. however, is it possible to send to multiple different phone number?
You would have to alter the script to make that work.
From: empangilinan @.> Sent: Friday, December 2, 2022 8:02 AM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Comment @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
i think i got the issue now. however, is it possible to send to multiple different phone number?
- Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fericallenpaul%2FZabbix-Twilio.sh%2Fissues%2F5%23issuecomment-1335194676&data=05%7C01%7C%7Ce0fdb3d67a7c4baf151508dad46568b1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638055829251732749%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2F%2FbhzTE98l7T%2BRtR5jMU6lzE809vY09gbMx9n0PDCGM%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAGO5ALZ73LALU7EFINQZBLWLHXMXANCNFSM6AAAAAASQZOUAY&data=05%7C01%7C%7Ce0fdb3d67a7c4baf151508dad46568b1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638055829251888929%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=BUbayMMPgcGDhBIkcoJ9s8Q72q8SmIXLVgQ1FUrjfzk%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>
How to alter the script?
Do you any sample for multiple phone numbers please?
One more thing, even though the action log was sent. The SMS didn't receive.
![Uploading image.png…]()
Here is the version of my zabbix
root@zabbix alertscripts]# zabbix_server --version zabbix_server (Zabbix) 4.4.6 Revision 8cc702429d 21 February 2020, compilation time: Feb 21 2020 09:32:24
Copyright (C) 2020 Zabbix SIA License GPLv2+: GNU GPL version 2 or later http://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it according to the license. There is NO WARRANTY, to the extent permitted by law.
This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/).
Compiled with OpenSSL 1.0.1e-fips 11 Feb 2013 Running with OpenSSL 1.0.1e-fips 11 Feb 2013
Here is the few Audit logs from zabbix, do you see any issues?
Also, is it ok to use the twilio messaging sid on CALLERID = "messaging sid"? Thank you
From the audit log it looks like Zabbix is being triggered twice
The sms were able to sent. However, we are receiving a multiple SMSES. For example the alert is only 1. Problem started(Operation) and Problem Resolved (Recovery). When the SMS sent. we got about 9 Problem Started and 9 Problem Resolved. Something like that.
What do you think is the issue? or should i use twilio-alert.sh instead of twilio-alert-escalate.sh? Thanks!
Here is the media types
I woukld remove the "send to group" and just make it focus on sending the twillio message.
I can't explain that. Twillio has been mostly dependable but it's possible that it didn't send the message?
From: empangilinan @.> Sent: Friday, December 2, 2022 10:50 PM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Comment @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
One more thing, even though the action log was sent. The SMS didn't receive.
- Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
I don't have any samples for that. You would have to change the code to wrap a "for" statement around the command that sends the sms.
So this:
if [ "$UseWeeklySchedule" -eq 1 ]; then PHONENUMBER=$(cat $PHONEFILE) else PHONENUMBER="$OnCallNumber" fi
Would have to create an array of numbers. An this would have to be wrapped in a for statement:
echo "$1" | $DIRECTORY/twilio-sms.sh -c $DIRECTORY/twilio-sms.conf $PHONENUMBER
Its kind of a breaking change to the way it was designed to work. You might be better off making multiple copies of the scripts and then adding multiple media types and actions.
From: empangilinan @.> Sent: Friday, December 2, 2022 7:29 PM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Comment @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Do you any sample for multiple phone numbers please?
- Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fericallenpaul%2FZabbix-Twilio.sh%2Fissues%2F5%23issuecomment-1335985157&data=05%7C01%7C%7C104e252d821e48d1ad8408dad4c564d6%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638056241514810492%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=XnkvUWsJDpYVGGb%2F%2F4Udz2fhABa0VFQqx5Sy7N0I8ZE%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAGO5AOE64XZYWGAXRIZLOTWLKH5JANCNFSM6AAAAAASQZOUAY&data=05%7C01%7C%7C104e252d821e48d1ad8408dad4c564d6%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638056241514810492%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=9r5%2FpuA8hz2hvSloksRO4exS4O9LMokXSwMnhfdvDGs%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>
Hello, i think your sample is same with my script. here is my current config.
-rwxr-xr-x 1 zabbix zabbix 1.1K Dec 3 04:44 twilio-alert.sh [root@zabbix alertscripts]# more twilio-alert.sh
weeknumber=date +%V
function usage { if [ -n "$1" ]; then echo $1; fi echo "Usage: twilio-alert.sh [-v] [-c configfile]" exit 1 }
VERBOSE=0
DIRECTORY=$(cd dirname $0
&& pwd)
CONFIGFILE="$DIRECTORY/twilio-alert.conf"
PHONEFILE="$DIRECTORY/Schedule/${weeknumber}"
while getopts ":c:v" opt; do case "$opt" in c) CONFIGFILE=$OPTARG ;; v) VERBOSE=1 ;; *) echo "Unknown param: $opt"; usage ;; esac done
if [ -n "$CONFIGFILE" -a ! -f "$CONFIGFILE" ]; then echo "Configfile not found: $CONFIGFILE"; usage; fi
if [ "$VERBOSE" -eq 1 ]; then echo "Reading twilio-alert.conf..."; fi if [ -n "$CONFIGFILE" ]; then . "$CONFIGFILE"; fi
if [ "$UseWeeklySchedule" -eq 1 ]; then PHONENUMBER=$(cat $PHONEFILE) else PHONENUMBER="$OnCallNumber" fi
echo "$1" | $DIRECTORY/twilio-sms.sh -c $DIRECTORY/twilio-sms.conf "+1st_phone_number" && echo "$1" | $DIRECTORY/twilio-sms.sh -c $DIRECTORY/twilio-sms.conf "+2nd_phone_number" echo ok
[root@zabbix alertscripts]#
What if i create a multiple media type? and the attached script is different number?
That might work
From: empangilinan @.> Sent: Thursday, December 15, 2022 6:21 AM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Comment @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
What if i create a multiple media type? and the attached script is different number?
- Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fericallenpaul%2FZabbix-Twilio.sh%2Fissues%2F5%23issuecomment-1352918178&data=05%7C01%7C%7C631cae2ea018455fa5de08dade8e8118%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638067000883284675%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=JuXCGwoXruahxiBM17gcGBUFItgxOfmvuJKRpoSkECE%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAGO5AIB5SRI3WXJ3MRTQQLWNL5LLANCNFSM6AAAAAASQZOUAY&data=05%7C01%7C%7C631cae2ea018455fa5de08dade8e8118%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638067000883284675%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=abOsWg2js8gQbNzUTCB5UboTWtmgFSFb3kMQ6INQYCM%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>
Okay, i've created multiple media type but 1 action only. since, the current action is setup to all media. but whenever we have a new alerts, we were able to received email alerts, but not the SMS, even though on the action log was sent to SMSes as well.
2 scripts that attached to media types
My 2 scripts on Media types. whenever i tried to test it. they are sending SMSs
One more thing. how can we filter only critical alerts on SMS? is it thru media type?
here is my curent script parameters. We are receiving all alerts.
You should be able to add a rule that will only send critical. I think its under actions?
From: empangilinan @.> Sent: Tuesday, December 27, 2022 5:17 AM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Comment @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
One more thing. how can we filter only critical alerts on SMS? is it thru media type?
here is my curent script parameters. We are receiving all alerts.
- Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fericallenpaul%2FZabbix-Twilio.sh%2Fissues%2F5%23issuecomment-1365784194&data=05%7C01%7C%7Ce4ac1b6d25f948fe7d1e08dae7f372ef%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638077330044168121%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=n4%2BqKF41E%2BXB9D75%2Fu2p5Rb8wlk0cfbMfN1LZgkLYsE%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAGO5AOFZJNOBYN54PTS5K3WPK6YRANCNFSM6AAAAAASQZOUAY&data=05%7C01%7C%7Ce4ac1b6d25f948fe7d1e08dae7f372ef%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638077330044168121%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=O5vhILMHBgpG%2B232xg3Nj2eu3BGf7hJVKBzWLt6jnlQ%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>
How about this
Administration - Users - Media
There are filtering on the severity whenever the SMS sent to these number
That looks like it should work.
From: empangilinan @.> Sent: Monday, January 2, 2023 8:56 PM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Comment @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
How about this
Administration - Users - Media
There are filtering on the severity whenever the SMS sent to these number
— Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fericallenpaul%2FZabbix-Twilio.sh%2Fissues%2F5%23issuecomment-1369319464&data=05%7C01%7C%7C7582c64e938749ea9cdb08daed2dc68b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638083078100515526%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=HgQG29p9SPU6m8J4%2FPvwixpQ6LtUHmMfPD18%2FNpRyBQ%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAGO5AIH3VGIEVBQM3RKIFDWQOBOBANCNFSM6AAAAAASQZOUAY&data=05%7C01%7C%7C7582c64e938749ea9cdb08daed2dc68b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638083078100515526%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2FTbTALogSe0cupFtPYEGWP8eR6H81WqNmzef5kYb2Tk%3D&reserved=0. You are receiving this because you commented.Message ID: @.***>
Thanks!
what is the meaning of this error? when i tried to do the manual testing on server.
[root@zabbix alertscripts]# echo "TEST_along_baquiran" | /usr/lib/zabbix/alertscripts/twilio-sms.sh -c /usr/lib/zabbix/alertscripts/twilio-sms.conf twilio-alert.sh Sending SMS to twilio-alert.sh from MG9add5b8a5eb1661d95837597bc95c0ca...ok
Looks like Twilio did not understand the request so it returned a 400 message. Something about the request was wrong. This relies on Twilio's shell script (https://www.twilio.com/labs/bash/sms) which forms the http request. [https://www.twilio.com/packages/labs/img/structural/beaker.gif1zB]https://www.twilio.com/labs/bash/sms Twilio Labshttps://www.twilio.com/labs/bash/sms Send a Twilio SMS from the Shell. The twilio-sms bash script will send an SMS to one or more phone numbers provided on the command line, using content read from STDIN! It can practically be used as a drop-in replacement for mail in some instances. The script can read configuration parameters, such as your Twilio AccountSid, AuthToken and CallerID from the command line, or more preferably from ... www.twilio.com
From: empangilinan @.> Sent: Wednesday, January 4, 2023 8:54 PM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Comment @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Thanks!
what is the meaning of this error? when i tried to do the manual testing on server.
@.*** alertscripts]# echo "TEST_along_baquiran" | /usr/lib/zabbix/alertscripts/twilio-sms.sh -c /usr/lib/zabbix/alertscripts/twilio-sms.conf twilio-alert.sh Sending SMS to twilio-alert.sh from MG9add5b8a5eb1661d95837597bc95c0ca...ok
— Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fericallenpaul%2FZabbix-Twilio.sh%2Fissues%2F5%23issuecomment-1371649622&data=05%7C01%7C%7Ca097a92b9d434a7cfab708daeebfd990%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638084804994321432%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=uJc2TVSGv1QgDA1Rj5kiYT3TSf9FzOsFDdYkz%2FRZfus%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAGO5ANV5VFNWY4HZVRZLPDWQYSXFANCNFSM6AAAAAASQZOUAY&data=05%7C01%7C%7Ca097a92b9d434a7cfab708daeebfd990%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638084804994321432%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=fT5%2B8bj24GYcU1fXue76mT6i5Idki3GCwJMW%2F%2BsAItk%3D&reserved=0. You are receiving this because you commented.Message ID: @.***>
Hello @ericallenpaul - i am receiving this error , is this something from your config/package, or this should be check on twilio account? Thanks!
curl: (22) The requested URL returned error: 410 Gone curl: (22) The requested URL returned error: 410 Gone curl: (22) The requested URL returned error: 410 Gone curl: (22) The requested URL returned error: 410 Gone curl: (22) The requested URL returned error: 410 Gone curl: (22) The requested URL returned error: 410 Gone
@Epangilinangt: If you haven't updated the script lately, grab the latest version. Twilio's endpoint URL changed a while back. See this pull request for details: #7
Thanks! it's working now. but it is sending through Viber apps, is there a way to send it via SMS? Thanks @keithlammers @ericallenpaul
No idea why that would be happening, mine come via SMS. Maybe your Viber app is setup to act as the default SMS client on the phone?
Hello @ericallenpaul @keithlammers received this error again upon checking, just wanted to know if there is a recent changes on this repo/package? Thanks
Errorcode
<?xml version='1.0' encoding='UTF-8'?>
or should i check my twilio account?
Hello @ericallenpaul @keithlammers - i been receiving this errors during my testing. any idea? Thanks
rection>
Might want to check to see if Twillio has changed the url
From: Epangilinangt @.> Sent: Wednesday, January 24, 2024 12:26 AM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Hello @ericallenpaulhttps://github.com/ericallenpaul @keithlammershttps://github.com/keithlammers - i been receiving this errors during my testing. any idea? Thanks
image.png (view on web)https://github.com/ericallenpaul/Zabbix-Twilio.sh/assets/127465011/a1710bf6-b08d-443b-82a1-d4e3ca5dfcbb
rection>Tue, 09 Jan 2024 10:42:37 +0000/2010-04-01/Accounts/ACfd5c9815a45dbd660377d45abdd9d6c1/Messages/SM6b5dbe65203fd680ed0a3d67b8193f50ACfd5c9815a45dbd660377d45abdd9d6c10+639086217742Tue, 09 Jan 2024 10:42:37 +0000acceptedSM6b5dbe65203fd680ed0a3d67b8193f50MG9add5b8a5eb1661d95837597bc95c0ca2010-04-01/2010-04-01/Accounts/ACfd5c9815a45dbd660377d45abdd9d6c1/Messages/SM6b5dbe65203fd680ed0a3d67b8193f50/Media curl: (22) The requested URL returned error: 401 curl: (22) The requested URL returned error: 401 curl: (22) The requested URL returned error: 401 curl: (22) The requested URL returned error: 401 curl: (22) The requested URL returned error: 401 @.*** alertscripts]#
image.png (view on web)https://github.com/ericallenpaul/Zabbix-Twilio.sh/assets/127465011/5901147b-1949-42c2-9496-283e60d35d67
— Reply to this email directly, view it on GitHubhttps://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1907401824, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAGO5ANBFHRF22BO53ZNZALYQCLP3AVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBXGQYDCOBSGQ. You are receiving this because you were mentioned.Message ID: @.***>
Are you going yo check it by chance?
On Wed, Jan 24, 2024, 9:02 PM Eric Paul @.***> wrote:
Might want to check to see if Twillio has changed the url
From: Epangilinangt @.> Sent: Wednesday, January 24, 2024 12:26 AM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Hello @ericallenpaulhttps://github.com/ericallenpaul @keithlammers< https://github.com/keithlammers> - i been receiving this errors during my testing. any idea? Thanks
image.png (view on web)< https://github.com/ericallenpaul/Zabbix-Twilio.sh/assets/127465011/a1710bf6-b08d-443b-82a1-d4e3ca5dfcbb>
rection>Tue, 09 Jan 2024 10:42:37 +0000/2010-04-01/Accounts/ACfd5c9815a45dbd660377d45abdd9d6c1/Messages/SM6b5dbe65203fd680ed0a3d67b8193f50ACfd5c9815a45dbd660377d45abdd9d6c10+639086217742Tue, 09 Jan 2024 10:42:37 +0000acceptedSM6b5dbe65203fd680ed0a3d67b8193f50MG9add5b8a5eb1661d95837597bc95c0ca2010-04-01/2010-04-01/Accounts/ACfd5c9815a45dbd660377d45abdd9d6c1/Messages/SM6b5dbe65203fd680ed0a3d67b8193f50/Media
curl: (22) The requested URL returned error: 401 curl: (22) The requested URL returned error: 401 curl: (22) The requested URL returned error: 401 curl: (22) The requested URL returned error: 401 curl: (22) The requested URL returned error: 401 @.*** alertscripts]#
image.png (view on web)< https://github.com/ericallenpaul/Zabbix-Twilio.sh/assets/127465011/5901147b-1949-42c2-9496-283e60d35d67>
— Reply to this email directly, view it on GitHub< https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1907401824>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/AAGO5ANBFHRF22BO53ZNZALYQCLP3AVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBXGQYDCOBSGQ>.
You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1908080674, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZNFWGM2DSFTSBNSVUMXRVDYQEA7DAVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBYGA4DANRXGQ . You are receiving this because you authored the thread.Message ID: @.***>
Any thought here sir? Thanks
@ericallenpaul
The error message seems to indicate the URL used in the API is not authorized. That is typically what 401 means. I checked to see if the curl command in the twilio-sms.sh file is correct, and it is. It hasn't changed and is still shown in examples on their website: https://www.twilio.com/docs/messaging/tutorials/how-to-send-sms-messages-bash-command-line How to Use bash or zsh to Send an SMS from a New Twilio Numberhttps://www.twilio.com/docs/messaging/tutorials/how-to-send-sms-messages-bash-command-line We demonstrate using curl and sed in bash to find and purchase a Twilio number. We then use it to send a text message using only the command line. www.twilio.com
This project is really old and I really don't have any plans to update it. I probably should replace it with something better—if I get time.
From: Epangilinangt @.> Sent: Wednesday, January 24, 2024 11:01 PM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Any thought here sir? Thanks
— Reply to this email directly, view it on GitHubhttps://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1909305959, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAGO5AOJBSDXJWQISBXJSVTYQHKIZAVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBZGMYDKOJVHE. You are receiving this because you were mentioned.Message ID: @.***>
Hello eric,
It is working last 4days ago. Just wondering if should i check my twilio account or there is something changed on the repo.
Thanks
On Thu, Jan 25, 2024, 9:12 PM Eric Paul @.***> wrote:
The error message seems to indicate the URL used in the API is not authorized. That is typically what 401 means. I checked to see if the curl command in the twilio-sms.sh file is correct, and it is. It hasn't changed and is still shown in examples on their website:
https://www.twilio.com/docs/messaging/tutorials/how-to-send-sms-messages-bash-command-line How to Use bash or zsh to Send an SMS from a New Twilio Number< https://www.twilio.com/docs/messaging/tutorials/how-to-send-sms-messages-bash-command-line>
We demonstrate using curl and sed in bash to find and purchase a Twilio number. We then use it to send a text message using only the command line. www.twilio.com
This project is really old and I really don't have any plans to update it. I probably should replace it with something better—if I get time.
From: Epangilinangt @.> Sent: Wednesday, January 24, 2024 11:01 PM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Any thought here sir? Thanks
— Reply to this email directly, view it on GitHub< https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1909305959>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/AAGO5AOJBSDXJWQISBXJSVTYQHKIZAVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBZGMYDKOJVHE>.
You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910195419, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MPMM5UBXY6JABZ5JLN3B3YQJK2RAVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGE4TKNBRHE . You are receiving this because you were mentioned.Message ID: @.***>
Yeah definitely check your account.
From: Epangilinangt @.> Sent: Thursday, January 25, 2024 8:42 AM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Hello eric,
It is working last 4days ago. Just wondering if should i check my twilio account or there is something changed on the repo.
Thanks
On Thu, Jan 25, 2024, 9:12 PM Eric Paul @.***> wrote:
The error message seems to indicate the URL used in the API is not authorized. That is typically what 401 means. I checked to see if the curl command in the twilio-sms.sh file is correct, and it is. It hasn't changed and is still shown in examples on their website:
https://www.twilio.com/docs/messaging/tutorials/how-to-send-sms-messages-bash-command-line How to Use bash or zsh to Send an SMS from a New Twilio Number< https://www.twilio.com/docs/messaging/tutorials/how-to-send-sms-messages-bash-command-line>
We demonstrate using curl and sed in bash to find and purchase a Twilio number. We then use it to send a text message using only the command line. www.twilio.com
This project is really old and I really don't have any plans to update it. I probably should replace it with something better—if I get time.
From: Epangilinangt @.> Sent: Wednesday, January 24, 2024 11:01 PM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Any thought here sir? Thanks
— Reply to this email directly, view it on GitHub< https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1909305959>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/AAGO5AOJBSDXJWQISBXJSVTYQHKIZAVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBZGMYDKOJVHE>.
You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910195419, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MPMM5UBXY6JABZ5JLN3B3YQJK2RAVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGE4TKNBRHE . You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHubhttps://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910245857, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAGO5AN2I3KCPSUPFRHL4ODYQJOMRAVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGI2DKOBVG4. You are receiving this because you were mentioned.Message ID: @.***>
Thanks. So just to confirm, this repo is suppossedly still working?
On Thu, Jan 25, 2024, 9:55 PM Eric Paul @.***> wrote:
Yeah definitely check your account.
From: Epangilinangt @.> Sent: Thursday, January 25, 2024 8:42 AM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Hello eric,
It is working last 4days ago. Just wondering if should i check my twilio account or there is something changed on the repo.
Thanks
On Thu, Jan 25, 2024, 9:12 PM Eric Paul @.***> wrote:
The error message seems to indicate the URL used in the API is not authorized. That is typically what 401 means. I checked to see if the curl command in the twilio-sms.sh file is correct, and it is. It hasn't changed and is still shown in examples on their website:
https://www.twilio.com/docs/messaging/tutorials/how-to-send-sms-messages-bash-command-line How to Use bash or zsh to Send an SMS from a New Twilio Number<
https://www.twilio.com/docs/messaging/tutorials/how-to-send-sms-messages-bash-command-line>
We demonstrate using curl and sed in bash to find and purchase a Twilio number. We then use it to send a text message using only the command line. www.twilio.com
This project is really old and I really don't have any plans to update it. I probably should replace it with something better—if I get time.
From: Epangilinangt @.> Sent: Wednesday, January 24, 2024 11:01 PM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Any thought here sir? Thanks
— Reply to this email directly, view it on GitHub<
https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1909305959>,
or unsubscribe<
You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub < https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910195419>,
or unsubscribe < https://github.com/notifications/unsubscribe-auth/A6MPMM5UBXY6JABZ5JLN3B3YQJK2RAVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGE4TKNBRHE>
. You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub< https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910245857>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/AAGO5AN2I3KCPSUPFRHL4ODYQJOMRAVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGI2DKOBVG4>.
You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910267334, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MPMM4YOMOXYTEW4RBLIOTYQJP55AVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGI3DOMZTGQ . You are receiving this because you were mentioned.Message ID: @.***>
I haven't tested it recently. My company now uses pager duty which is a paid service to manage sms alerts.
From: Epangilinangt @.> Sent: Thursday, January 25, 2024 9:10 AM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Thanks. So just to confirm, this repo is suppossedly still working?
On Thu, Jan 25, 2024, 9:55 PM Eric Paul @.***> wrote:
Yeah definitely check your account.
From: Epangilinangt @.> Sent: Thursday, January 25, 2024 8:42 AM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Hello eric,
It is working last 4days ago. Just wondering if should i check my twilio account or there is something changed on the repo.
Thanks
On Thu, Jan 25, 2024, 9:12 PM Eric Paul @.***> wrote:
The error message seems to indicate the URL used in the API is not authorized. That is typically what 401 means. I checked to see if the curl command in the twilio-sms.sh file is correct, and it is. It hasn't changed and is still shown in examples on their website:
https://www.twilio.com/docs/messaging/tutorials/how-to-send-sms-messages-bash-command-line How to Use bash or zsh to Send an SMS from a New Twilio Number<
https://www.twilio.com/docs/messaging/tutorials/how-to-send-sms-messages-bash-command-line>
We demonstrate using curl and sed in bash to find and purchase a Twilio number. We then use it to send a text message using only the command line. www.twilio.com
This project is really old and I really don't have any plans to update it. I probably should replace it with something better—if I get time.
From: Epangilinangt @.> Sent: Wednesday, January 24, 2024 11:01 PM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Any thought here sir? Thanks
— Reply to this email directly, view it on GitHub<
https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1909305959>,
or unsubscribe<
You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub < https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910195419>,
or unsubscribe < https://github.com/notifications/unsubscribe-auth/A6MPMM5UBXY6JABZ5JLN3B3YQJK2RAVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGE4TKNBRHE>
. You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub< https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910245857>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/AAGO5AN2I3KCPSUPFRHL4ODYQJOMRAVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGI2DKOBVG4>.
You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910267334, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MPMM4YOMOXYTEW4RBLIOTYQJP55AVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGI3DOMZTGQ . You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHubhttps://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910291503, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAGO5AICFFPN7GVEDPLAENDYQJRUHAVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGI4TCNJQGM. You are receiving this because you were mentioned.Message ID: @.***>
Is it possible to use my zabbix monitoring on this pager duty sir?
On Thu, Jan 25, 2024, 10:17 PM Eric Paul @.***> wrote:
I haven't tested it recently. My company now uses pager duty which is a paid service to manage sms alerts.
From: Epangilinangt @.> Sent: Thursday, January 25, 2024 9:10 AM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Thanks. So just to confirm, this repo is suppossedly still working?
On Thu, Jan 25, 2024, 9:55 PM Eric Paul @.***> wrote:
Yeah definitely check your account.
From: Epangilinangt @.> Sent: Thursday, January 25, 2024 8:42 AM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Hello eric,
It is working last 4days ago. Just wondering if should i check my twilio account or there is something changed on the repo.
Thanks
On Thu, Jan 25, 2024, 9:12 PM Eric Paul @.***> wrote:
The error message seems to indicate the URL used in the API is not authorized. That is typically what 401 means. I checked to see if the curl command in the twilio-sms.sh file is correct, and it is. It hasn't changed and is still shown in examples on their website:
https://www.twilio.com/docs/messaging/tutorials/how-to-send-sms-messages-bash-command-line
How to Use bash or zsh to Send an SMS from a New Twilio Number<
https://www.twilio.com/docs/messaging/tutorials/how-to-send-sms-messages-bash-command-line>
We demonstrate using curl and sed in bash to find and purchase a Twilio number. We then use it to send a text message using only the command line. www.twilio.com
This project is really old and I really don't have any plans to update it. I probably should replace it with something better—if I get time.
From: Epangilinangt @.> Sent: Wednesday, January 24, 2024 11:01 PM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Any thought here sir? Thanks
— Reply to this email directly, view it on GitHub<
https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1909305959>,
or unsubscribe<
You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub <
https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910195419>,
or unsubscribe <
. You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub<
https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910245857>,
or unsubscribe<
You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub < https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910267334>,
or unsubscribe < https://github.com/notifications/unsubscribe-auth/A6MPMM4YOMOXYTEW4RBLIOTYQJP55AVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGI3DOMZTGQ>
. You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub< https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910291503>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/AAGO5AICFFPN7GVEDPLAENDYQJRUHAVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGI4TCNJQGM>.
You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910304892, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MPMM6DGFZILPYA6SFKWMTYQJSQXAVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGMYDIOBZGI . You are receiving this because you were mentioned.Message ID: @.***>
It's a paid service, but it does integrate with Zabbix.
From: Epangilinangt @.> Sent: Thursday, January 25, 2024 9:19 AM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Is it possible to use my zabbix monitoring on this pager duty sir?
On Thu, Jan 25, 2024, 10:17 PM Eric Paul @.***> wrote:
I haven't tested it recently. My company now uses pager duty which is a paid service to manage sms alerts.
From: Epangilinangt @.> Sent: Thursday, January 25, 2024 9:10 AM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Thanks. So just to confirm, this repo is suppossedly still working?
On Thu, Jan 25, 2024, 9:55 PM Eric Paul @.***> wrote:
Yeah definitely check your account.
From: Epangilinangt @.> Sent: Thursday, January 25, 2024 8:42 AM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Hello eric,
It is working last 4days ago. Just wondering if should i check my twilio account or there is something changed on the repo.
Thanks
On Thu, Jan 25, 2024, 9:12 PM Eric Paul @.***> wrote:
The error message seems to indicate the URL used in the API is not authorized. That is typically what 401 means. I checked to see if the curl command in the twilio-sms.sh file is correct, and it is. It hasn't changed and is still shown in examples on their website:
https://www.twilio.com/docs/messaging/tutorials/how-to-send-sms-messages-bash-command-line
How to Use bash or zsh to Send an SMS from a New Twilio Number<
https://www.twilio.com/docs/messaging/tutorials/how-to-send-sms-messages-bash-command-line>
We demonstrate using curl and sed in bash to find and purchase a Twilio number. We then use it to send a text message using only the command line. www.twilio.com
This project is really old and I really don't have any plans to update it. I probably should replace it with something better—if I get time.
From: Epangilinangt @.> Sent: Wednesday, January 24, 2024 11:01 PM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Any thought here sir? Thanks
— Reply to this email directly, view it on GitHub<
https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1909305959>,
or unsubscribe<
You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub <
https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910195419>,
or unsubscribe <
. You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub<
https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910245857>,
or unsubscribe<
You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub < https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910267334>,
or unsubscribe < https://github.com/notifications/unsubscribe-auth/A6MPMM4YOMOXYTEW4RBLIOTYQJP55AVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGI3DOMZTGQ>
. You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub< https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910291503>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/AAGO5AICFFPN7GVEDPLAENDYQJRUHAVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGI4TCNJQGM>.
You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910304892, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MPMM6DGFZILPYA6SFKWMTYQJSQXAVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGMYDIOBZGI . You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHubhttps://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910308529, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAGO5AMYZ2FQFMXXXDNFEKDYQJSYFAVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGMYDQNJSHE. You are receiving this because you were mentioned.Message ID: @.***>
Thank you sir. Hopefully i can still use this repo to send an Sms.
On Thu, Jan 25, 2024, 10:21 PM Eric Paul @.***> wrote:
It's a paid service, but it does integrate with Zabbix.
From: Epangilinangt @.> Sent: Thursday, January 25, 2024 9:19 AM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Is it possible to use my zabbix monitoring on this pager duty sir?
On Thu, Jan 25, 2024, 10:17 PM Eric Paul @.***> wrote:
I haven't tested it recently. My company now uses pager duty which is a paid service to manage sms alerts.
From: Epangilinangt @.> Sent: Thursday, January 25, 2024 9:10 AM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Thanks. So just to confirm, this repo is suppossedly still working?
On Thu, Jan 25, 2024, 9:55 PM Eric Paul @.***> wrote:
Yeah definitely check your account.
From: Epangilinangt @.> Sent: Thursday, January 25, 2024 8:42 AM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Hello eric,
It is working last 4days ago. Just wondering if should i check my twilio account or there is something changed on the repo.
Thanks
On Thu, Jan 25, 2024, 9:12 PM Eric Paul @.***> wrote:
The error message seems to indicate the URL used in the API is not authorized. That is typically what 401 means. I checked to see if the curl command in the twilio-sms.sh file is correct, and it is. It hasn't changed and is still shown in examples on their website:
https://www.twilio.com/docs/messaging/tutorials/how-to-send-sms-messages-bash-command-line
How to Use bash or zsh to Send an SMS from a New Twilio Number<
https://www.twilio.com/docs/messaging/tutorials/how-to-send-sms-messages-bash-command-line>
We demonstrate using curl and sed in bash to find and purchase a Twilio number. We then use it to send a text message using only the command line. www.twilio.com
This project is really old and I really don't have any plans to update it. I probably should replace it with something better—if I get time.
From: Epangilinangt @.> Sent: Wednesday, January 24, 2024 11:01 PM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
Any thought here sir? Thanks
— Reply to this email directly, view it on GitHub<
https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1909305959>,
or unsubscribe<
You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub <
https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910195419>,
or unsubscribe <
. You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub<
https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910245857>,
or unsubscribe<
You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub <
https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910267334>,
or unsubscribe <
. You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub<
https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910291503>,
or unsubscribe<
You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub < https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910304892>,
or unsubscribe < https://github.com/notifications/unsubscribe-auth/A6MPMM6DGFZILPYA6SFKWMTYQJSQXAVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGMYDIOBZGI>
. You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub< https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910308529>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/AAGO5AMYZ2FQFMXXXDNFEKDYQJSYFAVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGMYDQNJSHE>.
You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910311207, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MPMM6JN3F67G46LUU5B6TYQJS5ZAVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGMYTCMRQG4 . You are receiving this because you were mentioned.Message ID: @.***>
This script is still working for me as of today, so my guess would be that you've got an auth error with Twilio.
Thanks Keith
From: keithlammers @.> Sent: Thursday, January 25, 2024 9:24 AM To: ericallenpaul/Zabbix-Twilio.sh @.> Cc: Eric Paul @.>; Mention @.> Subject: Re: [ericallenpaul/Zabbix-Twilio.sh] Zabbix SMS (Issue #5)
This script is still working for me as of today, so my guess would be that you've got an auth error with Twilio.
— Reply to this email directly, view it on GitHubhttps://github.com/ericallenpaul/Zabbix-Twilio.sh/issues/5#issuecomment-1910316144, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAGO5ANT6APTGYWRSMQH4J3YQJTIDAVCNFSM6AAAAAASQZOUA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGMYTMMJUGQ. You are receiving this because you were mentioned.Message ID: @.***>
Hello @keithlammers , thanks for confirming. Probably i have an issue on my twilio account. The configuration still same on your side? no changes done? Thanks!
That's correct, haven't changed anything on my end since this change back in May last year: https://github.com/ericallenpaul/Zabbix-Twilio.sh/pull/7
If you've had your script setup since before May 2023, you should grab the latest version.
The sms were able to sent. However, we are receiving a multiple SMSES. For example the alert is only 1. Problem started(Operation) and Problem Resolved (Recovery). When the SMS sent. we got about 9 Problem Started and 9 Problem Resolved. Something like that.
What do you think is the issue? or should i use twilio-alert.sh instead of twilio-alert-escalate.sh? Thanks!
Here is the media types![image](https://user-images.githubusercontent.com/106584857/205066345-c18aceea-4299-42cc-9ed8-f21d744c0642.png)