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. Templates and Performance graphs with multiple DCIs

Templates and Performance graphs with multiple DCIs

Scheduled Pinned Locked Moved Support
16 Posts 5 Posters 148.1k 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.
  • Z
    Z
    zshnet
    wrote on last edited by
    #7

    Ah, I found out my problem. It's for DCI's that are using instancing. That's a bit different I would bet. What I mean is, I'm able to have (say) a graph with in/out bits/second by using two instanced DCI's that fetch those numbers from every interface. However, if I put those DCI's on a template, I get that earlier invalid DCI ID error when I open it up on a node's data configuration.

    You were right about the regular graphs, though. I'm not sure what was wrong with that last attempt, but I got templated DCI's on the same performance graph, with my version, which is definitely nice.

    Are you able to graph with instanced DCI's? Or should I log a bug report and move on?

    Thanks,
    Zach

    1 Reply Last reply
    0
    • T
      T
      Tursiops
      wrote on last edited by
      #8

      I think this is likely directly related to my post here: https://www.netxms.org/forum/configuration/instance-discovery-performance-tab-and-attached-dcis/

      If you have two DCIs created from instance discovery, make sure that the first one created by instance discovery is the "primary", i.e. not attached to anything else.
      The other DCI which is created afterwards can then attach to said "primary" and it should all work.
      The order of your DCIs for this is important.

      Cheers

      1 Reply Last reply
      0
      • Z
        Z
        zshnet
        wrote on last edited by
        #9

        Of course! That makes sense. I was wondering why it worked sometimes...

        Thanks for clearing it up!

        1 Reply Last reply
        0
        • K
          K
          Kevo
          wrote on last edited by
          #10

          I'm trying to set this up now. I have interfaces setup in my template to pull the traffic from all the interfaces (bits/sec). I have the DCIs getting created properly and showing proper last values in nodes that have the template bound to them.

          However, I can't seem to get a graph working for these. Is anyone able to explain to me how to set up the performance tab to get a combined graph of these values.

          The best I've been able to do is get one graph per interface DCI which creates a bunch of graphs and it's not that helpful.

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

            Hi,

            assuming you are using version 2.1.x you can put proper group name in DCI configuration. You can use macro {instance} there, so for example you can set group name for both Tx and Rx DCI as IfTraffic_{instance} - then server will create unique group name for each Tx/Rx DCI pair, and you'll have one graph per interface.

            Best regards,
            Victor

            1 Reply Last reply
            0
            • K
              K
              Kevo
              wrote on last edited by
              #12

              Thanks Victor. I have it working now. I am a little confused by the macro substitutions though. In the General section for description I have {instance-name} to put the interface name into the description column when looking at last values. For the parameter I have {instance} at the end of the oid to be able to grab the data from SNMP.

              Just now when I tried your suggestion on the performance tab, {instance} works to pull the same value as {instance-name} does on the general tab, but {instance-name} didn't substitute anything.

              Are the substitutions tab specific, or is there some rules for this that I am not understanding?

              Also, is there anyway to filter out the unconnected interfaces on the performance tab? I don't want to filter them out of the node entirely as it would be good to know if something is plugged into a port it shouldn't be, but I don't want to see the traffic graphs for interfaces which don't have any if I can avoid it.

              Thanks again.

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

                {instance-name} substitution is not implemented for group field (which I agree is counter-intuitive). We just need to clean it up a bit and make sure that both macros are substituted.
                Currently there is no instance filtering for performance tabs.

                Best regards,
                Victor

                1 Reply Last reply
                0
                • K
                  K
                  Kevo
                  wrote on last edited by
                  #14

                  A few things I think would be really nice to have in the template

                  1. Filtering on the performance tab
                  2. A way to order the graphs on the tab
                  3. The invert values option in the performance tab. I'd like to be able to do the TX/RX as positive and negative values.

                  And having some consistency in the macros would be great. It feels kind of like whack a mole trying to configure things to match up what we have on our other nms right now. I think we will be able to get all the functionality we need and then some, but it's a bit of a steep curve getting to speed.

                  Thanks again for the help.

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

                    Hi,

                    regarding #2 - there is "order" option. Graphs with lower value will go up.

                    Best regards,
                    Victor

                    1 Reply Last reply
                    0
                    • K
                      K
                      Kevo
                      wrote on last edited by
                      #16

                      I'd like to be able to order the macro generated dci graphs as well. Is there any macros that work in the order field?

                      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