Hi,
I am currently working on creating a custom HTTP/XML sensor. I am getting an error "the URI scheme is not valid". Please find the parameters I have used to create this sensor
url : -u="http://xxxx.xxxx.com.xxxx/xxx/opu/odata/SAP/ZRFC_TEST_SRV/System_StatusSet?$filter=RfcName%20eq%20%27DMH100%27" node : -n="id" custom message : -cm="System is %1"
Can you please guide me what I am missing. I am pretty new to this and would appreciate if you can help me on this.
Regards, Anamika
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 Stephan,
Please find the xml file below which is getting generated from the URL above:
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xml:base="http://xxxx.xxxx.com/sap/opu/odata/SAP/ZRFC_TEST_SRV/">
<id>
http://xxxx.xxxx.com/sap/opu/odata/SAP/ZRFC_TEST_SRV/System_StatusSet
</id>
<title type="text">System_StatusSet</title>
<updated>2017-05-08T15:14:04Z</updated>
<author>
<name/>
</author>
<link href="System_StatusSet" rel="self" title="System_StatusSet"/>
<entry>
<id>
http://xxxx.xxxx.com/sap/opu/odata/SAP/ZRFC_TEST_SRV/System_StatusSet('xxx100')
</id>
<title type="text">System_StatusSet('XXX100')</title>
<updated>2017-05-08T15:14:04Z</updated>
<category term="ZRFC_TEST_SRV.System_Status" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
<link href="System_StatusSet('XXX100')" rel="self" title="System_Status"/>
<content type="application/xml">
<m:properties xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">
<d:RfcName>XXX100</d:RfcName>
<d:RfcStatus>1</d:RfcStatus>
<d:RfcStatus1/>
</m:properties>
</content>
I am trying to read node <d:RfcStatus> in the header. But when i goto overview page , i Just the host name and see the sensor is down. Is this information helpful ?
Regards, Anamika
May, 2017 - Permalink
Hi Anamika,
Could you post the complete URL by any chance? I won't publish it (i.e. only I can see it). Not sure what's exactly wrong with it, but I can't find anything wrong with the censored one you posted...
Kind regards,
Stephan Linke, Tech Support
May, 2017 - Permalink
Hi Anamika,
Okay - could you try to either omit the dollar sign or replace it with %24?
Kind regards,
Stephan Linke, Tech Support
May, 2017 - Permalink
Hi Stephan,
I tried replacing the dollar sign with %24 but even that didnt help.
The url is
<removed-by-moderator>
Is there a way i can check the logs? when i go through the logs or history i dont see much information. How can i debug this issue. If it is ok, can I have an online meeting with you where i can share my screen and show you what I am trying to do. let me know if that is feasible.
Regards, Anamika
May, 2017 - Permalink
In the previous reply i typed wrong url, please find the correct url below:
<removed-by-moderator>
May, 2017 - Permalink
There's not much to debug apart from the sensor message, as it does not have a debug log. You could modify the URL and make your way to the actual end of it :
- http://xxxx.xxxx.com.xxxx/xxx
- http://xxxx.xxxx.com.xxxx/xxx/opu/odata/SAP
- http://xxxx.xxxx.com.xxxx/xxx/opu/odata/SAP/ZRFC_TEST_SRV/
- http://xxxx.xxxx.com.xxxx/xxx/opu/odata/SAP/ZRFC_TEST_SRV/System_StatusSet
- http://xxxx.xxxx.com.xxxx/xxx/opu/odata/SAP/ZRFC_TEST_SRV/System_StatusSet?$filter=RfcName%20eq%20%27DMH100%27
This should help you to find out where the sensor actually gets stuck. Let me know where :)
Kind regards,
Stephan Linke, Tech Support
May, 2017 - Permalink
Hi Stephan,
I tried all the links. Neither of them worked.In the output it just returns the host name and sensor is still down.
Regards, Anamika
May, 2017 - Permalink
A dump of the XML file and the actual error message would sure be helpful for debugging :)
May, 2017 - Permalink