Netbrain - Discovery Method of Devices

  • 6 October 2021
  • 0 replies
  • 27 views

Userlevel 1

While doing administrator tasks on Netbrain, there could arise a requirement to check whether the devices were discovered via SNMP instead of CLI.

 

Build a qapp with canvas containing device queue, followed by ‘script’ node. Use the below API in script

 

from netbrain.sysapi import datamodel


devices = $this

for device in devices:
    snmp_status = datamodel.GetDeviceProperty("isSNMPConfig", device)
    
 

 

 

 

 


0 replies

Be the first to reply!

Reply


Community |  Ideas

Facebook |  Instagram |  Youtube |  Twitter |  LinkedIn
Privacy & Security Statement  |  Terms & Conditions |  Impressum  |  UK Modern Slavery Statement