nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Python with SNMP Supportq

This is a discussion on Python with SNMP Supportq within the Shell scripting forums, part of the Development/Scripting category; Hi All, I creating a little script in python, which needs to collect data from snmpwalks. My question is if ...


Go Back   nixCraft Linux Forum > Development/Scripting > Shell scripting

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 12-13-2006, 10:24 PM
Member
User
 
Join Date: Jun 2006
Location: Aveiro, Portugal
Posts: 37
Rep Power: 0
rcordeiro
Default Python with SNMP Supportq

Hi All,
I creating a little script in python, which needs to collect data from snmpwalks.
My question is if there is anyways I could run snmpwalks with the os module? and if not if there is any other way of getting this done?
thanks
Rick
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-16-2006, 07:47 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,036
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Do you want to store output of a executed command to variable or array?
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #3 (permalink)  
Old 12-16-2006, 11:48 PM
Member
User
 
Join Date: Jun 2006
Location: Aveiro, Portugal
Posts: 37
Rep Power: 0
rcordeiro
Default

i want to get the routing tables from our network routers and store them. I will then use those values to put on a webpage for routing problem identification.

if u know the OID for routing tables, or any way I could accomplish this, i'd appreciate it.. I dont feel like koding a script to connect to each individual computer via ssh and sending the route -n data. SNMP would be easier..
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
os fingerprinting using python...scapy summit25 Coding in General 0 04-08-2008 07:57 PM
packet sniffing in a network with python summit25 Networking, Firewalls and Security 1 04-07-2008 02:47 AM
Problems with perl module Net::SNMP Jason Linux software 1 12-28-2007 03:09 AM
Net-snmp header file puppen Linux software 2 05-23-2006 06:45 PM
SNMP error CODE MRTG Mediocre Linux software 3 03-18-2005 02:05 PM


All times are GMT +5.5. The time now is 08:40 PM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36