<?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[ServiceCheck.HTTP]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I read through the entire forum, but did not find anything to my problem, so I came here.<br />
I tried to configure ServiceCheck.HTTP, but all the time I'm getting status 3 - bad server's response.<br />
Here is my check:<br />
ServiceCheck.HTTP(192.168.0.150,80,/index.html,<a href="http://www.domain.lv" rel="nofollow ugc">www.domain.lv</a>,"^HTTP/1\.[01] 200 .*")<br />
Actually I can't successfully check any web, maybe I don't realy know how.<br />
Subagent is loaded successfully and other service checks are working.<br />
Where is my configuration mistake?</p>
<p dir="auto">Thanks in advance,<br />
Nikk</p>
]]></description><link>https://forum.netxms.org/topic/2780/servicecheck.http</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 14:00:42 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2780.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 09 Dec 2013 14:38:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ServiceCheck.HTTP on Mon, 20 Jan 2014 20:57:03 GMT]]></title><description><![CDATA[<p dir="auto">No rush on my part. I'll wait until you have the pacakges ready Victor. Thanks.</p>
]]></description><link>https://forum.netxms.org/post/12515</link><guid isPermaLink="true">https://forum.netxms.org/post/12515</guid><dc:creator><![CDATA[raypetter]]></dc:creator><pubDate>Mon, 20 Jan 2014 20:57:03 GMT</pubDate></item><item><title><![CDATA[Reply to ServiceCheck.HTTP on Mon, 20 Jan 2014 10:29:08 GMT]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">I didn't know that (is it somewhere documented?) but compiled with libcurl-devel and activation of netsvc subagent in agent config I can see the new DCI. Now I have to explore the functionality of this subagent. thanks</p>
<p dir="auto">Dani</p>
]]></description><link>https://forum.netxms.org/post/12509</link><guid isPermaLink="true">https://forum.netxms.org/post/12509</guid><dc:creator><![CDATA[user54119]]></dc:creator><pubDate>Mon, 20 Jan 2014 10:29:08 GMT</pubDate></item><item><title><![CDATA[Reply to ServiceCheck.HTTP on Mon, 20 Jan 2014 09:08:17 GMT]]></title><description><![CDATA[<p dir="auto">netsvc subagent need libcurl, and so it will only built if libcurl development package is installed. Try to install libcurl-devel package and run configure and make again.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/12505</link><guid isPermaLink="true">https://forum.netxms.org/post/12505</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 20 Jan 2014 09:08:17 GMT</pubDate></item><item><title><![CDATA[Reply to ServiceCheck.HTTP on Mon, 20 Jan 2014 08:53:59 GMT]]></title><description><![CDATA[<p dir="auto">Should netsvc be an external modul like the other subagents? We compiled on linux from sources, but there is no such subagent too</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000001559-subagents.png" alt="subagents.png" class="img-markdown  img-fluid" width="465" height="205" /></p>
]]></description><link>https://forum.netxms.org/post/12503</link><guid isPermaLink="true">https://forum.netxms.org/post/12503</guid><dc:creator><![CDATA[user54119]]></dc:creator><pubDate>Mon, 20 Jan 2014 08:53:59 GMT</pubDate></item><item><title><![CDATA[Reply to ServiceCheck.HTTP on Mon, 20 Jan 2014 08:45:51 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Seems that both Windows and Debian packages was built with netsvc subagent omitted. I'll build both versions a bit later and post a download link.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/12500</link><guid isPermaLink="true">https://forum.netxms.org/post/12500</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 20 Jan 2014 08:45:51 GMT</pubDate></item><item><title><![CDATA[Reply to ServiceCheck.HTTP on Sat, 18 Jan 2014 10:08:11 GMT]]></title><description><![CDATA[<p dir="auto">I'm also interested in using netsvc, but I can't find it. I've used the deb packages.</p>
]]></description><link>https://forum.netxms.org/post/12493</link><guid isPermaLink="true">https://forum.netxms.org/post/12493</guid><dc:creator><![CDATA[raypetter]]></dc:creator><pubDate>Sat, 18 Jan 2014 10:08:11 GMT</pubDate></item><item><title><![CDATA[Reply to ServiceCheck.HTTP on Thu, 12 Dec 2013 12:48:40 GMT]]></title><description><![CDATA[<p dir="auto">Looks nice!<br />
How do I enable this subagent? I tried SubAgent = netsvc.nsm on windows machine, but received: Error loading subagent module "netsvc.nsm": The specified module could not be found.<br />
Should I rebuild server to acquire this module?</p>
<p dir="auto">Nikk</p>
]]></description><link>https://forum.netxms.org/post/12145</link><guid isPermaLink="true">https://forum.netxms.org/post/12145</guid><dc:creator><![CDATA[Nikk]]></dc:creator><pubDate>Thu, 12 Dec 2013 12:48:40 GMT</pubDate></item><item><title><![CDATA[Reply to ServiceCheck.HTTP on Thu, 12 Dec 2013 12:22:50 GMT]]></title><description><![CDATA[<p dir="auto">I suggest you to switch to new "netsvc" subagent. Right now it's quite basic, but usually works better than old portcheck.</p>
<p dir="auto">netsvc provide single DCI: Service.Check(URL, regexp)</p>
<p dir="auto">If second parameter is omitted, default "^HTTP/1.[01] 200 .*" will be used.</p>
<p dir="auto">Some samples:</p>
<p dir="auto">Service.Check(<a href="https://netxms.org/" rel="nofollow ugc">https://netxms.org/</a>)<br />
Service.Check(<a href="https://netxms.org/" rel="nofollow ugc">https://netxms.org/</a>, text)<br />
Service.Check(<a href="http://user:password@netxms.org/" rel="nofollow ugc">http://user:password@netxms.org/</a>)<br />
Service.Check(<a href="ftp://user:password@ftp.netxms.org/file" rel="nofollow ugc">ftp://user:password@ftp.netxms.org/file</a>, text)<br />
Service.Check(sftp://user:password@netxms.org/another.file, text)</p>
<p dir="auto">Check <a href="http://curl.haxx.se/docs/manpage.html#URL" rel="nofollow ugc">http://curl.haxx.se/docs/manpage.html#URL</a> for details<br />
Some protocol can be disabled in your particular build, to list them start agent with debug level 3 or higher and look for following lines:</p>
<pre><code>[12-Dec-2013 14:17:18.578] [DEBUG] cURL version: libcurl/7.30.0 SecureTransport zlib/1.2.5
[12-Dec-2013 14:17:18.578] [DEBUG] Supported protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
[12-Dec-2013 14:17:18.578] [INFO ] Subagent "netsvc.nsm" loaded successfully
</code></pre>
]]></description><link>https://forum.netxms.org/post/12143</link><guid isPermaLink="true">https://forum.netxms.org/post/12143</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Thu, 12 Dec 2013 12:22:50 GMT</pubDate></item></channel></rss>