<?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[Watching Services or Processes]]></title><description><![CDATA[<p dir="auto">The documentation for one of your competing products seems easier.  I'm a laymen, and trying to figure out from your docs, or your software how to watch a service.</p>
<p dir="auto">I believe I need to create a DCI.... and set a threshold.</p>
<p dir="auto">So I tried clicking on 'my pc' underneath a IP.  I clicked 'Data Collection':</p>
<p dir="auto">System.ServiceState("Nero BackItUp Scheduler 4.0") -- Does the service name go in there?<br />
Then I'm entirely confused as to what to put for the 'Threshold screen'.  I just wanted to get a notice saying that this service went down... it went up.  This was just a test exercise of your product.</p>
<p dir="auto">Thankx,</p>
<p dir="auto">Robert</p>
]]></description><link>https://forum.netxms.org/topic/898/watching-services-or-processes</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:25:49 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/898.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Apr 2010 15:25:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Watching Services or Processes on Thu, 08 Apr 2010 14:28:31 GMT]]></title><description><![CDATA[<p dir="auto">Ok I think I get this...(I realize this is built for Network Engineers) Now I'm having to try to figure out how to create an alarm from this, and it is just not intuitive.   ???</p>
]]></description><link>https://forum.netxms.org/post/4147</link><guid isPermaLink="true">https://forum.netxms.org/post/4147</guid><dc:creator><![CDATA[robertkjr3d]]></dc:creator><pubDate>Thu, 08 Apr 2010 14:28:31 GMT</pubDate></item><item><title><![CDATA[Reply to Watching Services or Processes on Thu, 08 Apr 2010 07:03:21 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">For System.ServiceState parameter, you should specify service name - don't be confused with display name you see in "Services" in MMC. Service name can be seen in service properties. System.ServiceState returns service status code, which can be one of the following:</p>
<p dir="auto">0 - service running;<br />
1 - service paused;<br />
2 - service starting (start pending);<br />
3 - service pausing (pause pending);<br />
4 - service starting after pause (continue pending);<br />
5 - service stopping (stop pending);<br />
6 - service stopped;<br />
255 - unable to get current service state.</p>
<p dir="auto">So in threshold you have to check if status code not equal 0 and if it is, generate appropriate event. The following discussion could also be useful:<br />
<a href="https://www.netxms.org/forum/index.php/topic,166.0.html" rel="nofollow ugc">https://www.netxms.org/forum/index.php/topic,166.0.html</a></p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/4146</link><guid isPermaLink="true">https://forum.netxms.org/post/4146</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 08 Apr 2010 07:03:21 GMT</pubDate></item></channel></rss>