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...
Urania asked 7/1, 2016 at 12:18

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 ...
Orangeman asked 5/6, 2012 at 0:18

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...
Almucantar asked 31/12, 2010 at 19:17

1

Solved

How to get value mac and vlan from fdb table uses python? In bash snmpwalk work fine: snmpwalk -v2c -c pub 192.168.0.100 1.3.6.1.2.1.17.7.1.2.2.1.2 pysnmp: import os, sys import socket impor...
Crepuscule asked 22/12, 2011 at 8:45

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.