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

Custom EXE/Script Sensor Creation

Votes:

0

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^>

batch custom-sensor prtg

Created on Jul 4, 2017 10:38:45 AM

Last change on Jul 4, 2017 11:21:07 AM by  Sven Roggenhofer [Paessler Technical Support]



5 Replies

Votes:

0

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]

Created on Jul 4, 2017 11:30:29 AM by  Luciano Lingnau [Paessler]



Votes:

0

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>

Created on Jul 4, 2017 12:15:19 PM

Last change on Jul 4, 2017 12:42:25 PM by  Luciano Lingnau [Paessler]



Votes:

0

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]

Created on Jul 4, 2017 12:44:15 PM by  Luciano Lingnau [Paessler]



Votes:

0

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>

Created on Jul 4, 2017 1:20:05 PM

Last change on Jul 5, 2017 6:12:02 AM by  Luciano Lingnau [Paessler]



Votes:

0

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]

Created on Jul 5, 2017 6:16:11 AM by  Luciano Lingnau [Paessler]




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.