What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

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

Your Vote:

Up

Down

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
[[email protected] root]$ python3 /var/prtg/scripts/smtp_check-wrapper-cert-notAfter.py -H mail.example.com
87
[[email protected] 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
[[email protected] root]$ /var/prtg/scripts/smtp_check-wrapper-cert-notAfter.py -H mail.example.com
86[[email protected] root]$

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

Created on Dec 11, 2020 11:45:07 AM by  izharskiy (0) 1



1 Reply

Votes:

1

Your Vote:

Up

Down

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]



Please log in or register to enter your reply.


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.