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. Web Service DCI not working

Web Service DCI not working

Scheduled Pinned Locked Moved Support
2 Posts 2 Posters 10.4k 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.
  • G
    G
    GiHe
    wrote on last edited by
    #1

    This works from the NetXMS server console:

    >nxwsget 127.0.0.1 http://10.9.8.7/metrics /started
    /started = 1760481688751

    Neither /started nor $.started work (with 'metrics' as the WS Name and using the URL above):

    >nxget -D 6 127.0.0.1 'metrics:/started'
    [crypto            ] Validating ciphers
    [crypto            ]    AES-256 enabled
    [crypto            ]    Blowfish-256 disabled (validation failed)
    [crypto            ]    IDEA disabled (config)
    [crypto            ]    3DES enabled
    [crypto            ]    AES-128 enabled
    [crypto            ]    Blowfish-128 disabled (validation failed)
    [crypto            ] Crypto library initialized (OpenSSL 3.0.13 30 Jan 2024)
    [agent.conn.1      ] New connection created (address=127.0.0.1 port=4700 compression=allowed)
    [agent.conn.1      ] Using NXCP version 5
    [agent.conn.1      ] Sending message CMD_REQUEST_SESSION_KEY (1) to agent at 127.0.0.1
    [agent.conn.1      ] Received message CMD_SESSION_KEY (1) from agent at 127.0.0.1
    [agent.conn.1      ] Sending message CMD_SET_SERVER_CAPABILITIES (2) to agent at 127.0.0.1
    [agent.conn.1      ] Received message CMD_REQUEST_COMPLETED (2) from agent at 127.0.0.1
    [agent.conn.1      ] Sending message CMD_GET_PARAMETER (3) to agent at 127.0.0.1
    [agent.conn.1      ] Received message CMD_REQUEST_COMPLETED (3) from agent at 127.0.0.1
    [agent.conn.1      ] Sending message CMD_GET_TABLE (4) to agent at 127.0.0.1
    [agent.conn.1      ] Received message CMD_REQUEST_COMPLETED (4) from agent at 127.0.0.1
    [agent.conn.1      ] Sending message CMD_GET_LIST (5) to agent at 127.0.0.1
    [agent.conn.1      ] Received message CMD_REQUEST_COMPLETED (5) from agent at 127.0.0.1
    404: Unknown metric
    [agent.conn.1      ] Receiver loop terminated
    [agent.conn.1      ] Receiver cleanup completed

    What am I doing wrong?

    1 Reply Last reply
    0
    • F
      F
      Filipp Sudanov
      wrote on last edited by
      #2

      nxget is not supposed to work with web services.

      Do you have issues with configuring metrics from NetXMS server or what exactly you are trying to achieve?

      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