Skip to content

Read SNMP Info (specified OIDs) from Routers and Switches Cisco

License

Notifications You must be signed in to change notification settings

andreirapuru/read_snmp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Read SNMP OID

Read SNMP Info (specified OIDs) from Routers and Switches, and save the output in a .txt file.

Requires

  • Python (tested on Python 3.8.6)
  • Modules
    • snmp helper
    • time
    • sys
  • You can use pip install -r requirements.txt to install all modules

Supports

Routers and Switches Cisco with SNMP version 2c community configured

Limitations

  • Same community for all devices in devices_list.txt
  • Works for SNMP version 2c
  • Run on port UDP/161, if necessary you can chance that on code (snmp_port = your_port)

Usage

  1. Install Python and the modules
  2. Download this repository or copy read_snmp_oid.py, snmp_helper.py and devices_list.txt to the same folder
  3. Run "python read_snmp_oid.py community OID (Ex. python read_snmp_info.py brainwork .1.3.6.1.2.1.1.5.0)

output

Use case

To collect specific SNMP information for a list of devices

Getting Help

If you are having trouble or need help, create an issue here

Credits and references

All credits to Kirk Byers for making SNMP Helper

About

Read SNMP Info (specified OIDs) from Routers and Switches Cisco

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages