Hello, I want to create Sensors to get the result from Batch files. I get the error Response not wellformed (code:PE132)

Here is my Batch file

@echo off

REM Sample Exe/Script Advanced sensor                              
REM Returns four sensor channels with static values to standard OUT
REM Predefines limits for one channel
REM < and > must be escaped in command line scripts

echo ^<?xml version="1.0" encoding="Windows-1252" ?^>

echo ^<prtg^>

echo        ^<channel^>BDP1-VIF0011^</channel^>
echo        ^<unit^>Custom^</unit^>
echo        ^<mode^>Absolute^</mode^>
echo        ^<showChart^>1^</showChart^>
echo        ^<showTable^>1^</showTable^>
echo        ^<warning^>0^</warning^>
echo        ^<float^>0^</float^>
echo        ^<value^>0^</value^>
echo        ^<LimitMaxError^>80^</LimitMaxError^>
echo        ^<LimitMaxWarning^>37^</LimitMaxWarning^>
echo        ^<LimitWarningMsg^>My custom note for warnings^</LimitWarningMsg^>
echo        ^<LimitErrorMsg^>My custom note for errors^</LimitErrorMsg^>
echo        ^<LimitMode^>1^</LimitMode^>
echo    ^</result^>

echo    ^<result^>
echo        ^<channel^>BDP1-VIF0012^</channel^>
echo        ^<unit^>Custom^</unit^>
echo        ^<mode^>Absolute^</mode^>
echo        ^<showChart^>1^</showChart^>
echo        ^<showTable^>1^</showTable^>
echo        ^<warning^>0^</warning^>
echo        ^<float^>0^</float^>
echo        ^<value^>0^</value^>
echo        ^<LimitMaxError^>80^</LimitMaxError^>
echo        ^<LimitMaxWarning^>37^</LimitMaxWarning^>
echo        ^<LimitWarningMsg^>My custom note for warnings^</LimitWarningMsg^>
echo        ^<LimitErrorMsg^>My custom note for errors^</LimitErrorMsg^>
echo        ^<LimitMode^>1^</LimitMode^>
echo    ^</result^>

echo    ^<result^>
echo        ^<channel^>BDP1-VIF0013^</channel^>
echo        ^<unit^>Custom^</unit^>
echo        ^<mode^>Absolute^</mode^>
echo        ^<showChart^>1^</showChart^>
echo        ^<showTable^>1^</showTable^>
echo        ^<warning^>0^</warning^>
echo        ^<float^>0^</float^>
echo        ^<value^>0^</value^>
echo        ^<LimitMaxError^>80^</LimitMaxError^>
echo        ^<LimitMaxWarning^>37^</LimitMaxWarning^>
echo        ^<LimitWarningMsg^>My custom note for warnings^</LimitWarningMsg^>
echo        ^<LimitErrorMsg^>My custom note for errors^</LimitErrorMsg^>
echo        ^<LimitMode^>1^</LimitMode^>
echo    ^</result^>

echo    ^<result^>
echo        ^<channel^>BDP1-VIF0014^</channel^>
echo        ^<unit^>Custom^</unit^>
echo        ^<mode^>Absolute^</mode^>
echo        ^<showChart^>1^</showChart^>
echo        ^<showTable^>1^</showTable^>
echo        ^<warning^>0^</warning^>
echo        ^<float^>0^</float^>
echo        ^<value^>0^</value^>
echo        ^<LimitMaxError^>80^</LimitMaxError^>
echo        ^<LimitMaxWarning^>37^</LimitMaxWarning^>
echo        ^<LimitWarningMsg^>My custom note for warnings^</LimitWarningMsg^>
echo        ^<LimitErrorMsg^>My custom note for errors^</LimitErrorMsg^>
echo        ^<LimitMode^>1^</LimitMode^>
echo    ^</result^>

echo    ^<result^>
echo        ^<channel^>BDP1-VIF0021^</channel^>
echo        ^<unit^>Custom^</unit^>
echo        ^<mode^>Absolute^</mode^>
echo        ^<showChart^>1^</showChart^>
echo        ^<showTable^>1^</showTable^>
echo        ^<warning^>0^</warning^>
echo        ^<float^>0^</float^>
echo        ^<value^>WARN:TPG^</value^>
echo        ^<LimitMaxError^>80^</LimitMaxError^>
echo        ^<LimitMaxWarning^>37^</LimitMaxWarning^>
echo        ^<LimitWarningMsg^>My custom note for warnings^</LimitWarningMsg^>
echo        ^<LimitErrorMsg^>My custom note for errors^</LimitErrorMsg^>
echo        ^<LimitMode^>1^</LimitMode^>
echo    ^</result^>

echo    ^<result^>
echo        ^<channel^>BDP1-VIF0022^</channel^>
echo        ^<unit^>Custom^</unit^>
echo        ^<mode^>Absolute^</mode^>
echo        ^<showChart^>1^</showChart^>
echo        ^<showTable^>1^</showTable^>
echo        ^<warning^>0^</warning^>
echo        ^<float^>0^</float^>
echo        ^<value^>0^</value^>
echo        ^<LimitMaxError^>80^</LimitMaxError^>
echo        ^<LimitMaxWarning^>37^</LimitMaxWarning^>
echo        ^<LimitWarningMsg^>My custom note for warnings^</LimitWarningMsg^>
echo        ^<LimitErrorMsg^>My custom note for errors^</LimitErrorMsg^>
echo        ^<LimitMode^>1^</LimitMode^>
echo    ^</result^>

echo    ^<result^>
echo        ^<channel^>

Article Comments

Hello there, thank you for your reply.

What's the actual output of the script? Please run it interactively and pipe the output to a text file. mybat.bat > file.txt

Please share file.txt

Best Regards,
Luciano Lingnau [Paessler Support]


Jul, 2017 - Permalink

Sorry I used the wrong document. Here is the real file.txt

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo <?xml version="1.0" encoding="Windows-1252" ?> 
<?xml version="1.0" encoding="Windows-1252" ?>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo <prtg> 
<prtg>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo    <result> 
   <result>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <channel>BDP1-VIF0011 INPUT_1_SDI_ERRCNT</channel> 
       <channel>BDP1-VIF0011 INPUT_1_SDI_ERRCNT</channel>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <unit>Percent</unit> 
       <unit>Percent</unit>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <mode>Absolute</mode> 
       <mode>Absolute</mode>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <showChart>1</showChart> 
       <showChart>1</showChart>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <showTable>1</showTable> 
       <showTable>1</showTable>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <warning>0</warning> 
       <warning>0</warning>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <float>0</float> 
       <float>0</float>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <value>170</value> 
       <value>170</value>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitMaxError>80</LimitMaxError> 
       <LimitMaxError>80</LimitMaxError>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitMaxWarning>37</LimitMaxWarning> 
       <LimitMaxWarning>37</LimitMaxWarning>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitWarningMsg>My custom note for warnings</LimitWarningMsg> 
       <LimitWarningMsg>My custom note for warnings</LimitWarningMsg>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitErrorMsg>My custom note for errors</LimitErrorMsg> 
       <LimitErrorMsg>My custom note for errors</LimitErrorMsg>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitMode>1</LimitMode> 
       <LimitMode>1</LimitMode>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo    </result> 
   </result>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo    <result> 
   <result>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <channel>BDP1-VIF0012 INPUT_1_SDI_ERRCNT</channel> 
       <channel>BDP1-VIF0012 INPUT_1_SDI_ERRCNT</channel>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <unit>Percent</unit> 
       <unit>Percent</unit>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <mode>Absolute</mode> 
       <mode>Absolute</mode>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <showChart>1</showChart> 
       <showChart>1</showChart>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <showTable>1</showTable> 
       <showTable>1</showTable>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <warning>0</warning> 
       <warning>0</warning>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <float>0</float> 
       <float>0</float>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <value>135</value> 
       <value>135</value>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitMaxError>80</LimitMaxError> 
       <LimitMaxError>80</LimitMaxError>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitMaxWarning>37</LimitMaxWarning> 
       <LimitMaxWarning>37</LimitMaxWarning>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitWarningMsg>My custom note for warnings</LimitWarningMsg> 
       <LimitWarningMsg>My custom note for warnings</LimitWarningMsg>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitErrorMsg>My custom note for errors</LimitErrorMsg> 
       <LimitErrorMsg>My custom note for errors</LimitErrorMsg>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitMode>1</LimitMode> 
       <LimitMode>1</LimitMode>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo    </result> 
   </result>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo    <result> 
   <result>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <channel>BDP1-VIF0013 INPUT_1_SDI_ERRCNT</channel> 
       <channel>BDP1-VIF0013 INPUT_1_SDI_ERRCNT</channel>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <unit>Percent</unit> 
       <unit>Percent</unit>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <mode>Absolute</mode> 
       <mode>Absolute</mode>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <showChart>1</showChart> 
       <showChart>1</showChart>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <showTable>1</showTable> 
       <showTable>1</showTable>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <warning>0</warning> 
       <warning>0</warning>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <float>0</float> 
       <float>0</float>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <value>895</value> 
       <value>895</value>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitMaxError>80</LimitMaxError> 
       <LimitMaxError>80</LimitMaxError>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitMaxWarning>37</LimitMaxWarning> 
       <LimitMaxWarning>37</LimitMaxWarning>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitWarningMsg>My custom note for warnings</LimitWarningMsg> 
       <LimitWarningMsg>My custom note for warnings</LimitWarningMsg>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitErrorMsg>My custom note for errors</LimitErrorMsg> 
       <LimitErrorMsg>My custom note for errors</LimitErrorMsg>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitMode>1</LimitMode> 
       <LimitMode>1</LimitMode>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo    </result> 
   </result>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo    <result> 
   <result>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <channel>BDP1-VIF0014 INPUT_1_SDI_ERRCNT</channel> 
       <channel>BDP1-VIF0014 INPUT_1_SDI_ERRCNT</channel>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <unit>Percent</unit> 
       <unit>Percent</unit>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <mode>Absolute</mode> 
       <mode>Absolute</mode>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <showChart>1</showChart> 
       <showChart>1</showChart>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <showTable>1</showTable> 
       <showTable>1</showTable>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <warning>0</warning> 
       <warning>0</warning>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <float>0</float> 
       <float>0</float>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <value>91</value> 
       <value>91</value>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitMaxError>80</LimitMaxError> 
       <LimitMaxError>80</LimitMaxError>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitMaxWarning>37</LimitMaxWarning> 
       <LimitMaxWarning>37</LimitMaxWarning>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitWarningMsg>My custom note for warnings</LimitWarningMsg> 
       <LimitWarningMsg>My custom note for warnings</LimitWarningMsg>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitErrorMsg>My custom note for errors</LimitErrorMsg> 
       <LimitErrorMsg>My custom note for errors</LimitErrorMsg>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitMode>1</LimitMode> 
       <LimitMode>1</LimitMode>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo    </result> 
   </result>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo    <result> 
   <result>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <channel>BDP1-VIF0021 INPUT_1_SDI_ERRCNT</channel> 
       <channel>BDP1-VIF0021 INPUT_1_SDI_ERRCNT</channel>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <unit>Percent</unit> 
       <unit>Percent</unit>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <mode>Absolute</mode> 
       <mode>Absolute</mode>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <showChart>1</showChart> 
       <showChart>1</showChart>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <showTable>1</showTable> 
       <showTable>1</showTable>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <warning>0</warning> 
       <warning>0</warning>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <float>0</float> 
       <float>0</float>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <value>185</value> 
       <value>185</value>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitMaxError>80</LimitMaxError> 
       <LimitMaxError>80</LimitMaxError>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitMaxWarning>37</LimitMaxWarning> 
       <LimitMaxWarning>37</LimitMaxWarning>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitWarningMsg>My custom note for warnings</LimitWarningMsg> 
       <LimitWarningMsg>My custom note for warnings</LimitWarningMsg>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitErrorMsg>My custom note for errors</LimitErrorMsg> 
       <LimitErrorMsg>My custom note for errors</LimitErrorMsg>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitMode>1</LimitMode> 
       <LimitMode>1</LimitMode>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo    </result> 
   </result>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo    <result> 
   <result>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <channel>BDP1-VIF0022 INPUT_1_SDI_ERRCNT</channel> 
       <channel>BDP1-VIF0022 INPUT_1_SDI_ERRCNT</channel>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <unit>Percent</unit> 
       <unit>Percent</unit>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <mode>Absolute</mode> 
       <mode>Absolute</mode>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <showChart>1</showChart> 
       <showChart>1</showChart>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <showTable>1</showTable> 
       <showTable>1</showTable>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <warning>0</warning> 
       <warning>0</warning>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <float>0</float> 
       <float>0</float>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <value>59</value> 
       <value>59</value>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitMaxError>80</LimitMaxError> 
       <LimitMaxError>80</LimitMaxError>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitMaxWarning>37</LimitMaxWarning> 
       <LimitMaxWarning>37</LimitMaxWarning>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitWarningMsg>My custom note for warnings</LimitWarningMsg> 
       <LimitWarningMsg>My custom note for warnings</LimitWarningMsg>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitErrorMsg>My custom note for errors</LimitErrorMsg> 
       <LimitErrorMsg>My custom note for errors</LimitErrorMsg>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo        <LimitMode>1</LimitMode> 
       <LimitMode>1</LimitMode>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo    </result> 
   </result>

C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE>echo </prtg> 
</prtg>

Jul, 2017 - Permalink

Hello and thank you for your reply. I'm afraid that that doesn't look very much like the expected output. There's a lot of additional text in the file. It needs to look like this:

<?xml version="1.0" encoding="utf-8" ?>
<prtg>
<result>
<channel>Channel 1 (float)</channel>
<value>12.3456</value>
<float>1</float>
<unit>custom</unit>
<customunit>celsius</customunit>
</result>
<result>
<channel>Channel 2 (integer)</channel>
<value>42</value>
<limitmode>1</limitmode>
<limitmaxwarning>50</limitmaxwarning>
<limitmaxerror>60</limitmaxerror>
</result>
<result>
<channel>Channel 3 (lookup)</channel>
<value>1</value>
<valuelookup>prtg.standardlookups.exchangedag.yesno.stateyesok</valuelookup>
</result>
<result>
<channel>Channel 4 (delta)</channel>
<value>123456</value>
<mode>difference</mode>
<unit>bytesbandwidth</unit>
</result>
<text>The sensor's message</text>
</prtg>

As described here.

I encourage you to take a look into some previous KB-Posts for examples and working sensors:

Best Regards,
Luciano Lingnau [Paessler Support]


Jul, 2017 - Permalink

I disabled the echo now it gives me the following:

<?xml version="1.0" encoding="Windows-1252" ?>
<prtg>
   <result>
       <channel>BDP1-VIF0011 INPUT_1_SDI_ERRCNT</channel>
       <unit>Percent</unit>
       <mode>Absolute</mode>
       <showChart>1</showChart>
       <showTable>1</showTable>
       <warning>0</warning>
       <float>0</float>
       <value>134217727</value>
       <LimitMaxError>80</LimitMaxError>
       <LimitMaxWarning>37</LimitMaxWarning>
       <LimitWarningMsg>My custom note for warnings</LimitWarningMsg>
       <LimitErrorMsg>My custom note for errors</LimitErrorMsg>
       <LimitMode>1</LimitMode>
   </result>
   <result>
       <channel>BDP1-VIF0012 INPUT_1_SDI_ERRCNT</channel>
       <unit>Percent</unit>
       <mode>Absolute</mode>
       <showChart>1</showChart>
       <showTable>1</showTable>
       <warning>0</warning>
       <float>0</float>
       <value>2714</value>
       <LimitMaxError>80</LimitMaxError>
       <LimitMaxWarning>37</LimitMaxWarning>
       <LimitWarningMsg>My custom note for warnings</LimitWarningMsg>
       <LimitErrorMsg>My custom note for errors</LimitErrorMsg>
       <LimitMode>1</LimitMode>
   </result>
   <result>
       <channel>BDP1-VIF0013 INPUT_1_SDI_ERRCNT</channel>
       <unit>Percent</unit>
       <mode>Absolute</mode>
       <showChart>1</showChart>
       <showTable>1</showTable>
       <warning>0</warning>
       <float>0</float>
       <value>4604</value>
       <LimitMaxError>80</LimitMaxError>
       <LimitMaxWarning>37</LimitMaxWarning>
       <LimitWarningMsg>My custom note for warnings</LimitWarningMsg>
       <LimitErrorMsg>My custom note for errors</LimitErrorMsg>
       <LimitMode>1</LimitMode>
   </result>
   <result>
       <channel>BDP1-VIF0014 INPUT_1_SDI_ERRCNT</channel>
       <unit>Percent</unit>
       <mode>Absolute</mode>
       <showChart>1</showChart>
       <showTable>1</showTable>
       <warning>0</warning>
       <float>0</float>
       <value>2080</value>
       <LimitMaxError>80</LimitMaxError>
       <LimitMaxWarning>37</LimitMaxWarning>
       <LimitWarningMsg>My custom note for warnings</LimitWarningMsg>
       <LimitErrorMsg>My custom note for errors</LimitErrorMsg>
       <LimitMode>1</LimitMode>
   </result>
   <result>
       <channel>BDP1-VIF0021 INPUT_1_SDI_ERRCNT</channel>
       <unit>Percent</unit>
       <mode>Absolute</mode>
       <showChart>1</showChart>
       <showTable>1</showTable>
       <warning>0</warning>
       <float>0</float>
       <value>3237</value>
       <LimitMaxError>80</LimitMaxError>
       <LimitMaxWarning>37</LimitMaxWarning>
       <LimitWarningMsg>My custom note for warnings</LimitWarningMsg>
       <LimitErrorMsg>My custom note for errors</LimitErrorMsg>
       <LimitMode>1</LimitMode>
   </result>
   <result>
       <channel>BDP1-VIF0022 INPUT_1_SDI_ERRCNT</channel>
       <unit>Percent</unit>
       <mode>Absolute</mode>
       <showChart>1</showChart>
       <showTable>1</showTable>
       <warning>0</warning>
       <float>0</float>
       <value>1453</value>
       <LimitMaxError>80</LimitMaxError>
       <LimitMaxWarning>37</LimitMaxWarning>
       <LimitWarningMsg>My custom note for warnings</LimitWarningMsg>
       <LimitErrorMsg>My custom note for errors</LimitErrorMsg>
       <LimitMode>1</LimitMode>
   </result>
</prtg>

Jul, 2017 - Permalink

Hello MolFr,
thank you for your reply.

That's more like it. The output is valid now. If the bat produces that output the sensor in PRTG will pick it up and work.

Best Regards,
Luciano Lingnau [Paessler Support]


Jul, 2017 - Permalink