diff options
author | SS Salehi <salehi@users.noreply.github.com> | 2018-12-17 22:26:56 +0330 |
---|---|---|
committer | Chris Akritidis <43294513+cakrit@users.noreply.github.com> | 2018-12-17 19:56:56 +0100 |
commit | ba597661f84b5d1fc1e164a4c825752833237d02 (patch) | |
tree | 7b54a818d8f5e855b0ac6e1b681682d40ed1ace2 /health | |
parent | da9ddfedcb04ea8b30f0090c066aff6a1b1f63f5 (diff) |
Kavenegar returns 200 (#5020)
<!--
Describe the change in summary section, including rationale and degin decisions.
Include "Fixes #nnn" if you are fixing an existing issue.
In "Component Name" section write which component is changed in this PR. This
will help us review your PR quicker.
If you have more information you want to add, write them in "Additional
Information" section. This is usually used to help others understand your
motivation behind this change. A step-by-step reproduction of the problem is
helpful if there is no related issue.
-->
##### Kavenegar returns 200 when the request has been successful.
##### Kavenegar Notification
Diffstat (limited to 'health')
-rwxr-xr-x | health/notifications/alarm-notify.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/health/notifications/alarm-notify.sh.in b/health/notifications/alarm-notify.sh.in index 2c1cbbd500..9bc4bd0282 100755 --- a/health/notifications/alarm-notify.sh.in +++ b/health/notifications/alarm-notify.sh.in @@ -1123,7 +1123,7 @@ send_kavenegar() { --data-urlencode "receptor=${user}" \ --data-urlencode "message=${title} ${message}") - if [ "${httpcode}" = "201" ] + if [ "${httpcode}" = "200" ] then info "sent Kavenegar SMS for: ${host} ${chart}.${name} is ${status} to '${user}'" sent=$((sent + 1)) |