I have a Python script that uses SNMP and imports the PySNMP.hlAPI package. This script gives the following error message: "NoSNMP response received before timeout" when run in the Visual Studio Code on Windows.
The script runs well on Linux (Ubuntu 20.04 (Focal Fossa)).
It seems Visual Studio Code possibly needs to know some path to search the SNMP MIBs. How can I point Visual Studio Code to the SNMP MIB modules?
I would start using the ovw GUI, select the node and start the MIB browser.
Try to get the system object ID or something basic first. The Windows SNMP agent may consist of subagent for specific MIB parts. For example, for GroupWise a subagent is responding to the SNMP request for the GroupWise MIB part. Sometimes the subagents have problems and the main SNMP agent is working properly.
In the MIB browser you can override the 'default' community string you defined in NNM (OVW window: options -> SNMP).
Check: