Hello,

I updated the wiki.
FYI, the password is the Homepage of the wiki.

Best Regards.


2017-11-03 13:49 GMT+01:00 Marcus Mülbüsch <[email protected]>:

> Hello,
>
>     after I upgraded curl to version 7.56.1 I noticed, that my pushover
> messages were cut off at the first comma. Whether that is intentional or a
> bug I do not know (and I do not care), but I wanted to let you know that
> using "--form-string" instead of "--form" or "-F" solved the problem.
>
>    So instead of:
>
>  curl -s \
>>    -F "token=your_mmonit_or_monit_app_token" \
>>    -F "user=your_pushover_net_user_token" \
>>    -F "message=[$MONIT_HOST] $MONIT_SERVICE - $MONIT_DESCRIPTION" \
>>    https://api.pushover.net/1/messages.json
>>
>
> you simply use:
>
>  curl -s \
>>    -F "token=your_mmonit_or_monit_app_token" \
>>    -F "user=your_pushover_net_user_token" \
>>    --form_string "message=[$MONIT_HOST] $MONIT_SERVICE -
>> $MONIT_DESCRIPTION" \
>>    https://api.pushover.net/1/messages.json
>>
>
> and everything will be back as normal, allowing you to send messages that
> contain a comma.
>
>    Could someone with access to the wiki please update the example-sript
> at:
>
> https://mmonit.com/wiki/MMonit/PushoverNotification
>
>    Thanks,
>
> Marcus
>
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
>



-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d(+) s++:- a C++$ ULC(+)>+++$ !P--- L+>$ !E---? W+++$ !N* !o-- K--?
w(+) !O---? !M- !V--? PS+? !PE Y+ PGP++>+++ !t-- !5 !X- R(+)>++* tv-? b(-)
DI !D- G(+)>+ e+++ h--() r->$ y?*
------END GEEK CODE BLOCK------
-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to