IPWorks SNMP 2020 Python Edition

Questions / Feedback?

discover Method

Performs SNMPv3 discovery.

Syntax

def discover() -> None: ...

Remarks

When the method is called an SNMPv3 engine discovery request is sent to remote_host.

If an authentication_password is provided, the engine id discovery request is followed by an engine time discovery request, as required by the SNMPv3 User Security Model (USM). In this case timeout must be set to a non-zero value before calling Discover and the class will wait until a response is received from remote_host.

The on_discovery_response event is fired upon receipt of a valid discovery response and the values of remote_engine_id, remote_engine_boots, and remote_engine_time will then be updated with the received Engine Id, Time, and Boots.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks SNMP 2020 Python Edition - Version 20.0 [Build 8202]