<?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[Business Services doesn't do anything]]></title><description><![CDATA[<p dir="auto">I'm trying to get Business Services to work but I can't seem te get it working.<br />
Here's what I've done so far.</p>
<p dir="auto">Right click on Business Services -&gt; Create Node Link -&gt; select node (one that's up at the moment) -&gt; OK<br />
Right click freshly created node link -&gt; Create service check -&gt; name it -&gt; OK<br />
Right click freshly created service check -&gt; properties -&gt; script -&gt; add example script from NetXMS wiki -&gt; OK</p>
<p dir="auto">Nothing.<br />
Even adding just "return OK;" to the script still does nothing.<br />
There's a question mark near all objects even 'business services' itself and that doesn't change.<br />
As soon as I change the script the question mark changes for half a second into something that looks like it's checking a status and then changes back to a question mark again.</p>
<p dir="auto">Any suggestions on what I'm doing wrong here?</p>
<p dir="auto">Here's the script I used..</p>
<blockquote>
<p dir="auto">if ($node-&gt;status != 0)<br />
{<br />
    $reason = "*** Check failed ***";<br />
    return FAIL;<br />
}<br />
return OK;</p>
</blockquote>
]]></description><link>https://forum.netxms.org/topic/2906/business-services-doesn-t-do-anything</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 19:33:45 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2906.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 06 Feb 2014 12:33:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Business Services doesn't do anything on Mon, 17 Feb 2014 15:40:05 GMT]]></title><description><![CDATA[<p dir="auto"><strong>mysql&gt; select * from slm_checks;</strong><br />
+-----+------+--------------------------------------------------------------------------------------------------+--------------+----------------------+-------------+-------------+----------------+<br />
| id  | type | content                                                                                          | threshold_id | reason               | is_template | template_id | current_ticket |<br />
+-----+------+--------------------------------------------------------------------------------------------------+--------------+----------------------+-------------+-------------+----------------+<br />
| 297 |    1 | if ($node-&gt;status != 0)<br />
{<br />
   $reason = "*** Check failed ***";<br />
   return FAIL;<br />
}<br />
return OK; |            0 | *** Check failed *** |           0 |           0 |              0 |<br />
| 300 |    1 | if ($node-&gt;status != 0)<br />
{<br />
   $reason = "*** Check failed ***";<br />
   return FAIL;<br />
}<br />
return OK; |            0 |                      |           0 |           0 |              0 |<br />
| 304 |    1 | if ($node-&gt;status != 0)<br />
{<br />
   $reason = "*** Check failed ***";<br />
   return FAIL;<br />
}<br />
return OK; |            0 | *** Check failed *** |           0 |           0 |             16 |<br />
| 306 |    1 | if ($node-&gt;status != 0)<br />
{<br />
   $reason = "*** Check failed ***";<br />
   return FAIL;<br />
}<br />
return OK; |            0 | *** Check failed *** |           0 |           0 |              0 |<br />
| 316 |    1 | if ($node-&gt;status != 0)<br />
{<br />
   $reason = "*** Check failed ***";<br />
   return FAIL;<br />
}<br />
return OK; |            0 | *** Check failed *** |           0 |           0 |              0 |<br />
+-----+------+--------------------------------------------------------------------------------------------------+--------------+----------------------+-------------+-------------+----------------+<br />
5 rows in set (0.00 sec)</p>
<p dir="auto"><strong>mysql&gt; select * from slm_tickets;</strong><br />
+-----------+------------+----------+------------------+-----------------+----------------------+<br />
| ticket_id | service_id | check_id | create_timestamp | close_timestamp | reason               |<br />
+-----------+------------+----------+------------------+-----------------+----------------------+<br />
|         1 |        301 |      304 |       1392127489 |      1392142854 | *** Check failed *** |<br />
|         2 |        305 |      306 |       1392127749 |      1392127814 | *** Check failed *** |<br />
|         3 |        301 |      304 |       1392157273 |      1392225199 | *** Check failed *** |<br />
|         4 |        302 |      303 |       1392195537 |               0 | *** Check failed *** |<br />
|         5 |        296 |      297 |       1392195732 |      1392195797 | *** Check failed *** |<br />
|         6 |        301 |      304 |       1392244293 |      1392311920 | *** Check failed *** |<br />
|         7 |        302 |      316 |       1392279906 |      1392280036 | *** Check failed *** |<br />
|         8 |        301 |      304 |       1392311985 |      1392312050 | *** Check failed *** |<br />
|         9 |        301 |      304 |       1392312115 |      1392312180 | *** Check failed *** |<br />
|        10 |        301 |      304 |       1392329584 |      1392414865 | *** Check failed *** |<br />
|        11 |        301 |      304 |       1392415060 |      1392415125 | *** Check failed *** |<br />
|        12 |        301 |      304 |       1392430208 |      1392474364 | *** Check failed *** |<br />
|        13 |        301 |      304 |       1392511094 |      1392553499 | *** Check failed *** |<br />
|        14 |        301 |      304 |       1392559666 |      1392559731 | *** Check failed *** |<br />
|        15 |        301 |      304 |       1392559796 |      1392559861 | *** Check failed *** |<br />
|        16 |        301 |      304 |       1392590074 |               0 | *** Check failed *** |<br />
|        17 |        296 |      297 |       1392635601 |      1392640587 | *** Check failed *** |<br />
+-----------+------------+----------+------------------+-----------------+----------------------+<br />
17 rows in set (0.00 sec)</p>
<p dir="auto">Sory about the layout of the first table.. I couldn't get it more readable <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
]]></description><link>https://forum.netxms.org/post/12821</link><guid isPermaLink="true">https://forum.netxms.org/post/12821</guid><dc:creator><![CDATA[possamai]]></dc:creator><pubDate>Mon, 17 Feb 2014 15:40:05 GMT</pubDate></item><item><title><![CDATA[Reply to Business Services doesn't do anything on Mon, 17 Feb 2014 15:08:04 GMT]]></title><description><![CDATA[<p dir="auto">Can you please show content of slm_checks and slm_tickets tables in database?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/12815</link><guid isPermaLink="true">https://forum.netxms.org/post/12815</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 17 Feb 2014 15:08:04 GMT</pubDate></item><item><title><![CDATA[Reply to Business Services doesn't do anything on Mon, 17 Feb 2014 14:50:17 GMT]]></title><description><![CDATA[<p dir="auto">no change in the version 1.2.12.. Business services are all still 100% up while some should be at least 90% down</p>
]]></description><link>https://forum.netxms.org/post/12812</link><guid isPermaLink="true">https://forum.netxms.org/post/12812</guid><dc:creator><![CDATA[possamai]]></dc:creator><pubDate>Mon, 17 Feb 2014 14:50:17 GMT</pubDate></item><item><title><![CDATA[Reply to Business Services doesn't do anything on Wed, 12 Feb 2014 14:08:55 GMT]]></title><description><![CDATA[<p dir="auto">Something totally off-topic but you do know support for Windows XP ends April 8th this year? Any security hole discovered after that date will not be fixed.<br />
Just so you know..</p>
]]></description><link>https://forum.netxms.org/post/12766</link><guid isPermaLink="true">https://forum.netxms.org/post/12766</guid><dc:creator><![CDATA[possamai]]></dc:creator><pubDate>Wed, 12 Feb 2014 14:08:55 GMT</pubDate></item><item><title><![CDATA[Reply to Business Services doesn't do anything on Tue, 11 Feb 2014 16:40:28 GMT]]></title><description><![CDATA[<p dir="auto">I have similar problem with Availability Chart.<br />
When monitored printer is off, chart shows real values.<br />
When printer is on, uptime value is 100% on every pie (today, week, month).<br />
See attached screenshots.<br />
NetXMS 1.2.11, SQLite, WinXP</p>
<p dir="auto">Regards, Grzegorz.</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000001596-printer_off.PNG" alt="printer_off.PNG" class="img-markdown  img-fluid" width="1291" height="868" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000001598-printer_on.PNG" alt="printer_on.PNG" class="img-markdown  img-fluid" width="1261" height="771" /></p>
]]></description><link>https://forum.netxms.org/post/12762</link><guid isPermaLink="true">https://forum.netxms.org/post/12762</guid><dc:creator><![CDATA[ditonet]]></dc:creator><pubDate>Tue, 11 Feb 2014 16:40:28 GMT</pubDate></item><item><title><![CDATA[Reply to Business Services doesn't do anything on Tue, 11 Feb 2014 15:06:29 GMT]]></title><description><![CDATA[<p dir="auto">The service availability reports don't really work I think...<br />
Having an uptime of 100% for a machine that hasn't even been on is a bit odd.....</p>
]]></description><link>https://forum.netxms.org/post/12759</link><guid isPermaLink="true">https://forum.netxms.org/post/12759</guid><dc:creator><![CDATA[possamai]]></dc:creator><pubDate>Tue, 11 Feb 2014 15:06:29 GMT</pubDate></item><item><title><![CDATA[Reply to Business Services doesn't do anything on Tue, 11 Feb 2014 13:50:17 GMT]]></title><description><![CDATA[<p dir="auto">Nothing,<br />
Until I added a Business service inside the 'business services' and added the node and service-check in there.<br />
Then it started to show in the logfile and then it worked.</p>
<p dir="auto">Might want to add that to the manual though or even popup an error message when tryin to add a node directly under "Business services" <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
]]></description><link>https://forum.netxms.org/post/12757</link><guid isPermaLink="true">https://forum.netxms.org/post/12757</guid><dc:creator><![CDATA[possamai]]></dc:creator><pubDate>Tue, 11 Feb 2014 13:50:17 GMT</pubDate></item><item><title><![CDATA[Reply to Business Services doesn't do anything on Tue, 11 Feb 2014 00:09:58 GMT]]></title><description><![CDATA[<p dir="auto">Everything seems correct. Can you set debug level to 6 and check server log? There should be messages about business service polling.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/12749</link><guid isPermaLink="true">https://forum.netxms.org/post/12749</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 11 Feb 2014 00:09:58 GMT</pubDate></item></channel></rss>