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. netxms grafana module configuration

netxms grafana module configuration

Scheduled Pinned Locked Moved Support
6 Posts 3 Posters 49.6k 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.
  • H
    H
    Hanfelt
    wrote on last edited by
    #1

    What are the requirements on the netxms side to get the grafana netxms module to work?
    https://github.com/netxms/grafana

    I have installed the netxms webui just in case 😉

    I dont know what to enter in the API base url section?


    Skärmklipp.PNG

    1 Reply Last reply
    0
    • S
      S
      Ēriks Jenkēvics
      wrote on last edited by
      #2

      Hi!

      The Grafana plugin works on a WebAPI that is currently still in very early development and is completely separate to that of the NetXMS WebUI. There will soon be instructions in the Wiki on the setup of the NetXMS WebAPI, its functionality and the Grafana datasource, but for now, let me try to explain how you can deploy it on your machine and configure the Grafana datasource:

      **REQUIREMENTS**
      maven package
      git package
      NetXMS server running on the same machine (localhost) as where you are going to deploy the WebAPI

      1. You need to clone the NetXMS Git repository (git://git.netxms.org/public/netxms.git) to a location on your PC
      2. Navigate to the location NETXMS_GIT/src/server/nxapisrv/java
      3. Now you have two options, you can, either, run the command mvn install, which will create a .war file that you can move over to your WebServer, or you can use the jetty plugin, by running mvn jetty:run which will automatically deploy the API and will be available on port 8000.
      4. Now you can add the NetXMS datasource in Grafana by providing the link to the WebAPI and your NetXMS user credentials

      Hope this makes sense! If not, the Wiki page explaining this functionality should be done soon and it will include detailed explanations on how to get the NetXMS WebAPI working.

      Thanks!

      1 Reply Last reply
      0
      • H
        H
        Hanfelt
        wrote on last edited by
        #3

        Thank you so much for the information i will try this out tomorrow.

        1 Reply Last reply
        0
        • ?
          ?
          der_teufel
          wrote on last edited by
          #4

          I try all config, same problem, I put war file in: C:\WebXMS\WebUI\nxmc

          any solution?

          Regards,


          prob.jpg

          1 Reply Last reply
          0
          • S
            S
            Ēriks Jenkēvics
            wrote on last edited by
            #5

            The WebUI which is the Web Management Console and the WebAPI (used for Grafana etc...) are two different things.

            The instructions on how to set up the Grafana data source are now on the Wiki - https://wiki.netxms.org/wiki/NetXMS_Grafana_datasource_setup
            Also the instructions on how to set up the WebAPI have been posted on the Wiki - https://wiki.netxms.org/wiki/NetXMS_WebAPI

            Regards,
            Erik

            1 Reply Last reply
            0
            • H
              H
              Hanfelt
              wrote on last edited by
              #6

              Thank you very much for the instructions.

              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