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. Exclude some devices in autodiscover

Exclude some devices in autodiscover

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 13.2k 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
    Tom
    wrote on last edited by
    #1

    Hi,

    is there a way to exclude some clients in autodiscover process? I scan the networks for snmp devices. unfortunately, some HP Printers react on my snmp community and are added to the devicelist.

    Its only one subnet - I have 10 switches there to manage, and 10 printers that I dont want to include in the scan.

    Is there a way to exclude the whole subnet from configuration polls? There are nor changes in this network normally.

    Thanks,

    greetings
    Tom

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

      Hi!

      It is possible, but only with custom filter script. You should create a new script in script library and then enter it's name in network discovery properties. Script receives object with new node information as first parameter and should return non-zero if node should be added to database and 0 otherwise. For example, script that will allow to discover only SNMP devices, but not in subnet 10.0.0.0/24, can looks like following:

      sub main()
      {
         return $1->isSNMP && (!AddrInSubnet($1->ipAddr, "10.0.0.0", "255.255.255.0"));
      }
      

      Full list of node object attributes (mostly self-explaining):

      ipAddr
      netMask
      subnet
      isAgent
      isSNMP
      isBridge
      isRouter
      isCDP
      isSONMP
      isLLDP
      snmpVersion
      snmpOID
      agentVersion
      platformName

      Btw, you can filter out printers by checking SNMP OID in filter script.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • T
        T
        Tom
        wrote on last edited by
        #3

        Thanks for the help, I will do a test with the script

        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