#!/bin/bash echo hello world exit 0
I have been reading around on your forums and I am unable to get a clear instructions in how to get PRTG to interpret bash scripts properly. I keep getting the following error:
"Response not wellformed (PE132)" I want the status for the senser to return an ok status to PRTG when the script is done running.
Can you provide some insight on what I am doing wrong?
Article Comments
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Hi,
a detailed example of a SSH script running with the SSH Script Sensor can be found in this article. Basically the output format has to look like
which would make your script look like
Where 0 is the return code, 1 can be any float or integer value and "hello world" represents the message you want to give back.
Best regards
Apr, 2013 - Permalink