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

XML readout

Votes:

0

Is there a possibility to read out the attribute status value of the parent with a HTTP XML/REST Value sensor?

Here is an example:

<Status> <Call item="1" status="Synced" type="Vtlph" protocol="H323"> <CallRate item="1">768</CallRate> <RemoteNumber item="1">10.47.15.127</RemoteNumber> </Call> </Status>

I always get the following error back

Expression must evaluate to a node-set. My expression is the following

http sensors xml-rest

Created on Jul 10, 2014 12:59:21 PM



3 Replies

Votes:

0

Hi,
Could you post the XPATH expression you are using as well? :) Thank you!

Created on Jul 10, 2014 2:03:05 PM by  Konstantin Wolff [Paessler Support]



Votes:

0

oeps forgot to copy paste it into the orignal request

[@status='Synced']

tried multiple

call@status='Synced'

all without success.

Created on Jul 10, 2014 2:10:18 PM



Votes:

0

Hi,
try using

/*/Call/@status

Does that work?

Created on Jul 10, 2014 2:47:07 PM by  Konstantin Wolff [Paessler Support]




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.