pysnmp Questions
1
Solved
I've tried to install pysnmp (which uses pycrypto) on python 3.6.0 using pip, but I've got an error:
Command ""c:\program files (x86)\python36-32\python.exe" -u -c "import
setuptools, tokenize;...
Frangipane asked 23/1, 2017 at 18:20
2
Solved
A client has requested that instead of email alerts that we send SNMP Traps to their Nagios server instead. The only thing I knew about SNMP before yesterday was that it sounded like an acronym, so...
1
I already have the MIB text file (do I need to make this into a .py file somehow??). I am trying to use PySNMP (not net-snmp). I have been able to connect to my device and print out some info, but ...
3
Solved
Using the pysnmp framework i get some values doing a snmp walk. Unfortunately for the oid
1.3.6.1.21.69.1.5.8.1.2 (DOCS-CABLE-DEVICE-MIB)
i get a weird result which i cant correctly print he...
1
Solved
1
Solved
There is a socket method for getting the IP of a given network interface:
import socket
import fcntl
import struct
def get_ip_address(ifname):
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM...
Duggins asked 11/10, 2011 at 19:28
1
© 2022 - 2024 — McMap. All rights reserved.