Monit não pode analisar %40
to @
Mas suporta cabeçalhos HTTP
Por exemplo: https://[email protected]:[email protected]
== > Deve ser convertido em Authorization: Basic dXNlckBtYWlsLmNvbTpwYXNzd29yZA==
check host BasicAuth with address monit.test.basic
if failed
port 443
with protocol https method GET
with http headers [Authorization: Basic dXNlckBtYWlsLmNvbTpwYXNzd29yZA==]
then alert
else if succeeded then alert
Documento: link