You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ipdevpoll's main entrypoint for SNMP sessions is the AgentProxy class, which is just a thin adapter for pynetsnmp's Twisted-compatible AgentProxy class:
"%s (%d currently open SNMP sessions, %d job handlers)",
error,
session_count,
job_count,
)
raiseAbortedJobError("Cannot open SNMP session", cause=error)
else:
self._logger.debug(
"AgentProxy created for %s: %s", self.netbox.sysname, self.agent
)
Command line programs like navoidverify and naventity seem to have their own versions of this method - perhaps this could benefit from some consolidation now that SNMP session parameters are becoming more complex.
The text was updated successfully, but these errors were encountered:
ipdevpoll's main entrypoint for SNMP sessions is the
AgentProxy
class, which is just a thin adapter forpynetsnmp
's Twisted-compatibleAgentProxy
class:nav/python/nav/ipdevpoll/snmp/pynetsnmp.py
Lines 55 to 57 in 441f4a3
The main method used to create
AgentProxy
instances for collection jobs is innav.ipdevpoll.jobs.JobHandler._create_agentproxy()
:nav/python/nav/ipdevpoll/jobs.py
Lines 100 to 133 in ea4f3c5
Command line programs like
navoidverify
andnaventity
seem to have their own versions of this method - perhaps this could benefit from some consolidation now that SNMP session parameters are becoming more complex.The text was updated successfully, but these errors were encountered: