What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Response not well-formed: "86 " (code: PE132) Error in SSH Script sensor with and wthout CR LF

Votes:

0

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]$

centos7 pe132 response-not-well-formed ssh ssh-script

Created on Dec 11, 2020 11:45:07 AM



1 Reply

Votes:

1

Hi there,

Do you use the EXE/Script Sensor? If so, please note that the Sensor needs the output like:

value:message (https://www.paessler.com/manuals/prtg/custom_sensors#exe_script)

Created on Dec 14, 2020 9:26:05 AM by  Moritz Heller [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.