<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Monitor Webservice - Can't get it working]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I'm trying to monitor a webservice running on one of my already monitored servers. (replaced by &lt;SERVERNAME&gt; in the following)</p>
<p dir="auto">The address the service can be reached in a browser is: http://&lt;SERVERNAME&gt;:8683/BasicDataService/help</p>
<p dir="auto">I created a Network Service below the monitored servers node with the following parameters:</p>
<p dir="auto">Service Type: HTTP<br />
Port: 8683<br />
IP Address: tried empty and servers ip address<br />
Request: &lt;SERVERNAME&gt;:/BasicDataService/help<br />
Response: ^HTTP/1\.[01] 200.*<br />
Poller Node: default</p>
<p dir="auto">The agents configuration file on &lt;SERVERNAME&gt; looks like this:</p>
<p dir="auto">#<br />
# NetXMS agent configuration file<br />
# Created by agent installer at Thu Mar  5 10:38:03 2020<br />
#</p>
<p dir="auto">MasterServers = &lt;NETXMSMASTERSERVER&gt;<br />
ConfigIncludeDir = D:\Program Files\NetXMSAgent\etc\nxagentd.conf.d<br />
LogFile = D:\Program Files\NetXMSAgent\log\agent.log<br />
DebugLevel = 6<br />
FileStore = D:\Program Files\NetXMSAgent\var<br />
SubAgent = filemgr.nsm<br />
SubAgent = ping.nsm<br />
SubAgent = logwatch.nsm<br />
SubAgent = winperf.nsm<br />
SubAgent = wmi.nsm<br />
SubAgent = portcheck.nsm</p>
<p dir="auto">The service is always reported as "Not Responding"</p>
<p dir="auto">What am I doing wrong?</p>
<p dir="auto">Regards</p>
<p dir="auto">Stefan</p>
]]></description><link>https://forum.netxms.org/topic/6452/monitor-webservice-can-t-get-it-working</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 19:41:21 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6452.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 18 Mar 2020 06:59:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Monitor Webservice - Can't get it working on Mon, 11 May 2020 14:03:23 GMT]]></title><description><![CDATA[<p dir="auto">OK, I will try this. Thanks</p>
]]></description><link>https://forum.netxms.org/post/27865</link><guid isPermaLink="true">https://forum.netxms.org/post/27865</guid><dc:creator><![CDATA[stoffmann]]></dc:creator><pubDate>Mon, 11 May 2020 14:03:23 GMT</pubDate></item><item><title><![CDATA[Reply to Monitor Webservice - Can't get it working on Mon, 30 Mar 2020 13:49:50 GMT]]></title><description><![CDATA[<p dir="auto">Portcheck subagent does not support authentication. There's another subagent - netsvc - that is based on libcurl and supports authentication by specifying address like: proto://user:pass@host<br />
The difference is that it's not possible to use netsvc as data source for "Network service". The only way to access netsvc is to create a DCI.</p>
]]></description><link>https://forum.netxms.org/post/27664</link><guid isPermaLink="true">https://forum.netxms.org/post/27664</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 30 Mar 2020 13:49:50 GMT</pubDate></item><item><title><![CDATA[Reply to Monitor Webservice - Can't get it working on Wed, 25 Mar 2020 06:50:23 GMT]]></title><description><![CDATA[<p dir="auto">I investigated further and found out the when I use Powershell to test the service like this:</p>
<p dir="auto">Invoke-WebRequest -uri <a href="http://myserver.net:8683/BasicDataService/help/operations/GetDatabases" rel="nofollow ugc">http://myserver.net:8683/BasicDataService/help/operations/GetDatabases</a> <strong>-UseDefaultCredentials</strong></p>
<p dir="auto">I have to use the -UseDefaultCredentials, otherwise I alo get error 401 Unauthorized. So ist mußt have to do with authentication.<br />
Howx can I change authentication for NetXMS Webservice monitoring?</p>
]]></description><link>https://forum.netxms.org/post/27628</link><guid isPermaLink="true">https://forum.netxms.org/post/27628</guid><dc:creator><![CDATA[stoffmann]]></dc:creator><pubDate>Wed, 25 Mar 2020 06:50:23 GMT</pubDate></item><item><title><![CDATA[Reply to Monitor Webservice - Can't get it working on Mon, 23 Mar 2020 11:26:14 GMT]]></title><description><![CDATA[<p dir="auto">Thank You for Your reply. I think I'm a step further know.<br />
The portcheck log tells me the following:</p>
<pre><code>HTTP/1.1 401 Unauthorized
Content-Length: 0
Server: Microsoft-HTTPAPI/2.0
WWW-Authenticate: NTLM
Date: Mon, 23 Mar 2020 10:51:21 GMT
Connection: close
</code></pre>
<p dir="auto">So it looks like an authentication problem. Which credentials is NetXMS using? Can I change them somwhere?<br />
I have to use NTLM for authentication.</p>
<p dir="auto">Thanks in advance</p>
]]></description><link>https://forum.netxms.org/post/27613</link><guid isPermaLink="true">https://forum.netxms.org/post/27613</guid><dc:creator><![CDATA[stoffmann]]></dc:creator><pubDate>Mon, 23 Mar 2020 11:26:14 GMT</pubDate></item><item><title><![CDATA[Reply to Monitor Webservice - Can't get it working on Wed, 18 Mar 2020 17:49:15 GMT]]></title><description><![CDATA[<p dir="auto">Network service is using portcheck subagent. This subagent provides a number or parameters that we can directly request for debugging purposes (<a href="https://www.netxms.org/documentation/adminguide/service-monitoring.html#portcheck-configuration" rel="nofollow ugc">https://www.netxms.org/documentation/adminguide/service-monitoring.html#portcheck-configuration</a>).</p>
<p dir="auto">So you can try on the server:</p>
<pre><code>nxget &lt;agent_ip_address&gt; 'ServiceCheck.HTTP(www.google.com,80,/)'
</code></pre>
<p dir="auto">The possible responses are:<br />
0 Success, connection to target was established and expected response was received.<br />
1 Invalid arguments were passed.<br />
2 Cannot connect to target.<br />
3 Invalid / Unexpected response from target</p>
<p dir="auto">For response = 3 Portcheck can save HTTP server reply in a file that can be inspected to understand if the regex is wrong. For this to happen the following should be specified in agent config:</p>
<pre><code>[portcheck]
FailedDirectory=/tmp/
</code></pre>
]]></description><link>https://forum.netxms.org/post/27594</link><guid isPermaLink="true">https://forum.netxms.org/post/27594</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Wed, 18 Mar 2020 17:49:15 GMT</pubDate></item></channel></rss>