Имя пользователя:
Пароль:
 

Показать сообщение отдельно

Забанен


Сообщения: 6345
Благодарности: 1436

Профиль | Цитировать


То есть, с точки зрения заббикса всё гладко?

Попробуйте получить дамп респонс хедеров, может там будет что-то.
Код: Выделить весь код
curl --dump-header /tmp/dump.txt -s --header 'Content-Type: application/json' --request 'POST' --data "{\"chat_id\":\"${CHAT_ID}\",\"text\":\"${SUBJECT}\n${MESSAGE}\"}" "https://api.telegram.org/bot${TOKEN}/sendMessage" | $
Цитата:
-D, --dump-header <file>
Write the protocol headers to the specified file.

This option is handy to use when you want to store the headers that an HTTP site sends to you. Cookies from the headers could then be read in a second curl invocation by
using the -b, --cookie option! The -c, --cookie-jar option is a better way to store cookies.

When used in FTP, the FTP server response lines are considered being "headers" and thus are saved there.

If this option is used several times, the last one will be used.
Это сообщение посчитали полезным следующие участники:

Отправлено: 16:06, 13-06-2017 | #4