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 - multiple config questions

NetXMS - multiple config questions

Scheduled Pinned Locked Moved Support
14 Posts 7 Posters 95.3k 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.
  • T
    T
    tomaskir
    wrote on last edited by
    #5

    This assumes node has atleast snmp v2c+ and support IfXTable!
    This also assumes you are running atleast 2.0-M3!

    Create a new DCI

    In general tab
    
    Description - Traffic on {instance-name} - bits/s IN
    Parameter - .1.3.6.1.2.1.31.1.1.1.6.{instance}
    Origin - SNMP
    Data Type - Unsigned 64bit Int.
    
    In Transformation tab
    
    Delta calc
    Avg delta per second
    
    Transform script:
    return $1 * 8;
    
    Instance discovery tab
    
    Instance discovery method
    SNMP Walk - OIDs
    
    Base OID
    .1.3.6.1.2.1.31.1.1.1.1
    
    Performance Tab tab
    
    Check to show on perf tab
    Give it a title, color, etc.
    

    Then create a 2nd DCI for traffic OUT on that interface.
    Use .1.3.6.1.2.1.31.1.1.1.10.{instance}

    Also on Perf Tab, attach it to the previous DCI.
    This is so you get both IN/OUT traffic for each interface on the same graph.

    1 Reply Last reply
    0
    • N
      N
      name29
      wrote on last edited by
      #6

      Hi tomaskir,

      i tried to follow your instructions.

      But if i set the title of the Graph to "Traffic on {instance-name} - bits/s" but netxms don't parse the {instance-name} value.

      It's normal?

      Thank you

      @tomaskir said in NetXMS - multiple config questions:

      This assumes node has atleast snmp v2c+ and support IfXTable!
      This also assumes you are running atleast 2.0-M3!

      Create a new DCI

      In general tab
      
      Description - Traffic on {instance-name} - bits/s IN
      Parameter - .1.3.6.1.2.1.31.1.1.1.6.{instance}
      Origin - SNMP
      Data Type - Unsigned 64bit Int.
      
      In Transformation tab
      
      Delta calc
      Avg delta per second
      
      Transform script:
      return $1 * 8;
      
      Instance discovery tab
      
      Instance discovery method
      SNMP Walk - OIDs
      
      Base OID
      .1.3.6.1.2.1.31.1.1.1.1
      
      Performance Tab tab
      
      Check to show on perf tab
      Give it a title, color, etc.
      

      Then create a 2nd DCI for traffic OUT on that interface.
      Use .1.3.6.1.2.1.31.1.1.1.10.{instance}

      Also on Perf Tab, attach it to the previous DCI.
      This is so you get both IN/OUT traffic for each interface on the same graph.

      1 Reply Last reply
      0
      • G
        G
        gmonk63
        wrote on last edited by
        #7
        1. Is there a way to show IFALIAS in interfaces table? Or better to replace interface names with this attribute.

        I also needed this ..  If you go to  Configuration > ServerConfiguration  and change  UserInterfaceAliases value to 3  it will provide you with both if# and if Alias  but it wont change instantly you will have to wait for the next polling interval I believe or you can simply go to the node you want to test on right click  > poll > interfaces names and it should change it instantly

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

          @gmonk63 said in NetXMS - multiple config questions:

          1. Is there a way to show IFALIAS in interfaces table? Or better to replace interface names with this attribute.

          I also needed this ..  If you go to  Configuration > ServerConfiguration  and change  UserInterfaceAliases value to 3  it will provide you with both if# and if Alias  but it wont change instantly you will have to wait for the next polling interval I believe or you can simply go to the node you want to test on right click  > poll > interfaces names and it should change it instantly

          In 2.0, ifAlias is in interface table as a separate field, no need to use UserInterfaceAliases config parameter (its for a different use-case).

          1 Reply Last reply
          0
          • T
            T
            tomaskir
            wrote on last edited by
            #9

            @name29 said in NetXMS - multiple config questions:

            Hi tomaskir,

            i tried to follow your instructions.

            But if i set the title of the Graph to "Traffic on {instance-name} - bits/s" but netxms don't parse the {instance-name} value.

            It's normal?

            Thank you

            Which NetXMS version are you using?
            What does a walk on .1.3.6.1.2.1.31.1.1.1.1 show?

            1 Reply Last reply
            0
            • N
              N
              name29
              wrote on last edited by
              #10

              Now i'm trying 2.0-RC2 and it's work.

              Thank you.

              Emanuele

              1 Reply Last reply
              0
              • T
                T
                troffasky
                wrote on last edited by
                #11

                @tomaskir said in NetXMS - multiple config questions:

                @name29 said in NetXMS - multiple config questions:

                But if i set the title of the Graph to "Traffic on {instance-name} - bits/s" but netxms don't parse the {instance-name} value.

                Which NetXMS version are you using?
                What does a walk on .1.3.6.1.2.1.31.1.1.1.1 show?

                I'm having this exact problem with 2.0rc2. I have created a template pretty much as described in this thread, appled it to an Ubiquiti Edgeswitch and on the perfomance tab I now have ~30 graphs called "Traffic on {instance-name}".

                What parameters are supported in the Title field? I would like to add the ifAlias as well, if possible.
                What did name29 do to get it working?
                Walk from the above OID looks like this:

                .1.3.6.1.2.1.31.1.1.1.1.1 [STRING]: 0/1
                .1.3.6.1.2.1.31.1.1.1.1.2 [STRING]: 0/2
                ...
                .1.3.6.1.2.1.31.1.1.1.1.26 [STRING]: 0/26
                .1.3.6.1.2.1.31.1.1.1.1.65 [STRING]: CPU Interface:  5/1
                .1.3.6.1.2.1.31.1.1.1.1.66 [STRING]: 3/1
                ...
                .1.3.6.1.2.1.31.1.1.1.1.71 [STRING]: 3/6
                
                1 Reply Last reply
                0
                • T
                  T
                  troffasky
                  wrote on last edited by
                  #12

                  Solved it - changed {instance-name} to {instance} and it works...although it's not quite what I'd expected. {instance} should be the ifIndex rather than the ifName, surely?

                  1 Reply Last reply
                  0
                  • Dani@M3TU
                    Dani@M3TU
                    Dani@M3T
                    wrote on last edited by
                    #13

                    Maybe look at this thread: https://www.netxms.org/forum/announcements/netxms-1-2-16-released/msg15422/#msg15422

                    1 Reply Last reply
                    0
                    • T
                      T
                      troffasky
                      wrote on last edited by
                      #14

                      OK, fits my observations 🙂

                      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