Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Watching Services or Processes

Watching Services or Processes

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 12.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    R
    robertkjr3d
    wrote on last edited by
    #1

    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.

    I believe I need to create a DCI.... and set a threshold.

    So I tried clicking on 'my pc' underneath a IP.  I clicked 'Data Collection':

    System.ServiceState("Nero BackItUp Scheduler 4.0") -- Does the service name go in there?
    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.

    Thankx,

    Robert

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hi!

      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:

      0 - service running;
      1 - service paused;
      2 - service starting (start pending);
      3 - service pausing (pause pending);
      4 - service starting after pause (continue pending);
      5 - service stopping (stop pending);
      6 - service stopped;
      255 - unable to get current service state.

      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:
      https://www.netxms.org/forum/index.php/topic,166.0.html

      Best regards,
      Victor

      1 Reply Last reply
      0
      • R
        R
        robertkjr3d
        wrote on last edited by
        #3

        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.  ???

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        Powered by NodeBB Contributors
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups