New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

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

 

Top Tags


View all Tags


What is the XML Schema for EXEXML sensor?

Votes:

0

Your Vote:

Up

Down

I'd like to create a custom sensor that uses multiple channels.

Sample that I've found echoes some XML data that is correctly inserted into sensor history.

My question: What is the exact XML Schema of this output?

Thanks.

custom-exe custom-sensor exexml prtg

Created on Mar 19, 2012 12:37:06 PM by  mirezko (0) 1



3 Replies

Accepted Answer

Votes:

0

Your Vote:

Up

Down

Hi,
I'm afraid there is no Schema to validate (This would require havein a XML Header and more).
Please see yourPRTGInstallation/api.htm#Tab7 for details on the EXEXML Sensor. Please fin also below a example of the output XML:

<prtg>
  <result>
    <channel>First channel</channel>
    <value>10</value>
  </result>
  <result>
    <channel>Second channel</channel>
    <value>20</value>
  </result>
</prtg>

Best regards

Created on Mar 19, 2012 12:49:45 PM by  Konstantin Wolff [Paessler Support]

Last change on May 10, 2012 12:12:29 PM by  Manischa Mittal [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Thanks, I've also found this example.

<prtg>
   <result>
       <channel>Demo Minimum Example</channel>
       <value>3</value>
   </result>
   <result>
       <channel>Demo Disk Free</channel>
       <unit>Percent</unit>
       <mode>Absolute</mode>
       <showChart>1</showChart>
       <showTable>1</showTable>
       <warning>0</warning>
       <float>1</float>
       <value>38.4487</value>
   </result>
   <result>
       <channel>Demo Network Speed</channel>
       <unit>SpeedNet</unit>
       <volumeSize>MegaBit</volumeSize>
       <mode>Absolute</mode>
       <showChart>1</showChart>
       <showTable>1</showTable>
       <warning>0</warning>
       <float>0</float>
       <value>124487000</value>
   </result>
   <result>
       <channel>Demo Custom</channel>
       <unit>Custom</unit>
       <customUnit>Pieces</customUnit>
       <mode>Absolute</mode>
       <showChart>1</showChart>
       <showTable>1</showTable>
       <warning>0</warning>
       <float>0</float>
       <value>855</value>
   </result>
   <text>Demo values. OS: Windows_NT</text>
</prtg>

Is there any help for these extra fields? Like showChart, showTable, units and stuff?

Created on Mar 19, 2012 12:58:05 PM by  mirezko (0) 1



Votes:

0

Your Vote:

Up

Down

Oh never mind, these fields are indeed described in the "Advanced EXE/Script Sensor" section.

Thanks

Created on Mar 19, 2012 1:04:27 PM by  mirezko (0) 1



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.