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. Net.interface changed to UNSUPPORTED

Net.interface changed to UNSUPPORTED

Scheduled Pinned Locked Moved Support
8 Posts 2 Posters 29.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.
  • M
    M
    Mystery
    wrote on last edited by
    #1

    Hello,

    I have 5 similar servers running the same Windows version (Windows Server 2012 R2), same NetXMS agents version with the same subagents. One of these servers is reporting error when I am trying to monitor interface traffic via Net.Interface.BytesOut64(*).

    Error :Status of DCI 617 (NetXMS Agent: Net.Interface.BytesOut64(Ethernet)) changed to UNSUPPORTED"

    Interface name is correct, do you know where could be the problem? I am also experiencing this problem with one Windows 2008 server, but I guess it could be caused by old system.

    Thank you in advance 🙂

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

      Hi,

      does it support Net.Interface.BytesOut(Ethernet)?

      Best regards,
      Victor

      1 Reply Last reply
      0
      • M
        M
        Mystery
        wrote on last edited by
        #3

        Hello,

        it does not support Net.Interface.BytesOut(Ethernet). This is very strange.

        1 Reply Last reply
        0
        • M
          M
          Mystery
          wrote on last edited by
          #4

          Ah, I solved it.

          I was using template for these parameters and somehow one server refused to rename network interface to Ethernet (it showed as renamed but it wasn't). That's why it was reporting as unsupported ...)

          Anyway, do you know how can I filter interface name by the first bytes of IP Address?

          For an example, I have 10 network interfaces and one of them has IP 192.168.1.10 and I would like to return this one specific instance which begins by 192.168 ...

          Thank you 🙂

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

            Hi,

            filter where exactly?

            Best regards,
            Victor

            1 Reply Last reply
            0
            • M
              M
              Mystery
              wrote on last edited by
              #6

              Hello,

              in instance Discovery ...

              I configured parameter as Net.Interface.BytesOut({instance}) and in instance discovery I am using Agent List with List name Net.InterfaceList. I found some source code on this forum, so I modified it to:

              if ($1 ~= "10.200.*.*")
              {
                 return %(true, $1);  // at this point $1 contains first matching group
              }
              return false;
              

              But it is not working, I guess that if statement ($1 ~= "10.200.*.*") is incorrect. I would like to return one instance which start with 10.200 IP address. Any idea how to do that? Thank you

              Edit: Well, it is returning whole instance (ifType, IP, MAC Name) ... How I can return only Name?

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

                Hi,

                ~= will replace $1 which is instance on entry with first capture group, but you don't have one, so returning empty string. Server consider empty string as instruction no use original instance. Also, your regular expression is wrong. Something like this should work (didn't actually test it):

                // Each line has format
                // index addr type macaddr name
                if ($1 ~= "[0-9]+ 10\\.200\\.[0-9]+\\.[0-9]+/[0-9]+ [0-9]+ [0-9A-Fa-f]+ (.*)")
                {
                   return %(true, $1);
                }
                return false;
                

                This script checks that IP address part starts with 10.200 and extracts interface name as new instance.

                Best regards,
                Victor

                1 Reply Last reply
                0
                • M
                  M
                  Mystery
                  wrote on last edited by
                  #8

                  It works pretty well. Thank you sir 🙂

                  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