I am running Python script on CentOS Linux 7.8.2003 server
I get
Response not well-formed: "87 " (code: PE132) Error
in both variants: when i have newline in a python script output
C:\tools\Cmder λ ssh [email protected] python3 /var/prtg/scripts/smtp_check-wrapper-cert-notAfter.py -H mail.example.com [email protected]'s password: 86 C:\tools\Cmder
[prtg@AI70-VT026 root]$ python3 /var/prtg/scripts/smtp_check-wrapper-cert-notAfter.py -H mail.example.com 87 [prtg@AI70-VT026 root]$
and when i have NOT
C:\tools\Cmder λ ssh [email protected] /var/prtg/scripts/smtp_check-wrapper-cert-notAfter.py -H mail.example.com [email protected]'s password: 86 C:\tools\Cmder
[prtg@AI70-VT026 root]$ /var/prtg/scripts/smtp_check-wrapper-cert-notAfter.py -H mail.example.com 86[prtg@AI70-VT026 root]$
Add comment