Exclude some devices in autodiscover
-
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 -
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
platformNameBtw, you can filter out printers by checking SNMP OID in filter script.
Best regards,
Victor -
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