Python Bindings

From Net-SNMP Wiki
Revision as of 23:44, 30 December 2007 by Zdzdzd (Talk | contribs)

Jump to: navigation, search

child table top easel phone stations computer arms mobile partitions notebook wall mounted calendar magnetic whiteboard decorative room partition spacedec support arm outdoor tv enclosures desk laptop tray under used room dividers monitor bracket cd filing system protect lap top screen monitoring point sale stands whiteboard monitor privacy screens for hipaa wooden office furniture expresso lcd arm stand steel magazine rack projector mount ceiling drop t bar flat screen brackets ergonomics keyboarding office furniture computer podium cabinets antiglare screen cleaning liquid crystal screens dealer import lcd monitor tv computer glare protection magnetic desk lamp monitor filter lcd monitor multiple spacedec cabinet computer enclosed ceiling mount multiple plasma black easel fluorescent found letter sign notebook laptop difference metal storage drawers computer caddies partition room bracket hold plasma tv wall monitor pole travel laptop stands compact computer table hippaa compliance mailroom sorting spacedec lcd arm mobile laptop computer table tv mounted display pocket vinyl multi monitor mount vesa compliant mounting points cleaning lcd laptop designer stand tv free standing message boards lcd filters audio carts cd filing cabinet cart multimedia rotating tv base small white board monitor keyboard stand vesa mounting storage binders mail sorting station computer swing arms vesa wall mounting phillips mail sorting bins arms bracket lcd monitor support lcd tv furniture locked file cabinets adjustable computer workstation lcd plasma tv wall mount dividers office easel kid table top monitor magnification acoustic room dividers decorative partition glass cd holder cd storage for file cabinet enclosed computer cabinet big black center entertainment screen computer furniture multi user office room divider office storage system metal storage cabinets black under desk mouse freestanding computer wall mount keyboard trays glass stereo stand display pamphlet vesa monitors wall mount laptop stand office directory boards multiple lcd display stands workstation accessories hanging tv shelf monitor anti glare screens multimedia carts tall tv cabinets file organizer and swivel and desktop media storage unit capacity wood flat panel mounting solutions furniture computer workstations fold up dry erase boards boards multipurpose office storage cabinets mobile room dividers television cart arms desk flat panel under vesa wall mounting support arms fold hold in up ceiling lcd mounts large lcd tv stands retractable plasma or lcd television stands multiple tv wall laptop tables furniture conference room message boards display swing mount wooden workstations mounted lcd plastic lightweight storage cabinets cabinet cd filing hanging media storage professional display boards spacedec arm monitor wall mount brackets boards custom marker ambient light office productivity wooden television cabinets commercial tv stand multi lcd mount ergonomic cluster computer desks three screen monitors computer monitor wall mount office files and folders audio towers furniture workstations office furniture used magazine racks mobile work stations pole mounts mobile workstation furniture multiple mount wall chalkboards built in file cabinets compac monitor pamphlet displays kds rad 7si 17 flat screen lcd monitor compac monitors lcd arm desk mount extension arm portable office divider computer training room tables wall display brochure computer glare work lights humming bulb fluorescent 5 monitors laptop protection screen multiple monitor mounting lcd monitor pole metal cabinets supplies computer furniture industrial pole mobile podium display glass magazine rack cabinet mailroom vesa mounting standards wall mounted glass display cabinets child easel quality keyboard lab furniture cd storage hanging lcd monitor mount glass display tables point of sale monitoring veneer conference whiteboard table printer difference laptop notebook 2 easel sided mobile board free standing room divider child painting easel laptop work station mobile room divider computer training room table designer tv stand office table design tv table stands portable laptop computer desk tack surface metal stud fasteners adobe acrobat lcd prices screen surface pdf multiple user computer work stations adjustable laptop desk projector screens made from whiteboard glass desk with pullout hanging file office wall dividers display cabinet for schools carrel custom desk furniture table laptop workstation brochure racking mobile computer work tv wall mount unit install metal mount stud wall professional display board contemporary display cabinet wood glass cabinets music white board locking display cabinets quality wood file cabinet metal office storage accessory board display horizontal presentation sliding mount stand tv wall computer wall mounting magnetic laminate reduce glare laptop office work table lcd tv wall unit pedestal sign lighted glass display case computer contemporary furniture lab room partions multimedia cart flat screen monitor mount lcd pole printer cart mobile lectern poster display board desk extension laptop tray wall mounted height adjustable laptop stand library magazine racks arm counter lcd monitor mount under oversize acrylic magazine racks small computer stand lcd display stand computer screen magnifiers multiple monitor mount whiteboard display notebook computer desks lcd computer monitor tv central room partitions arm articulating cabinet mount sel side wall crt comparison chalk board white heavy duty printer cart board and easel teak computer desk workstations computer vesa wall cabinet file rotating office efficiency computer dual monitor panel acrylic d model podium vesa plates multiple flat panel monitor mounting used library cart retractable ceiling mount tv vesa standard mounting multiple flat screen monitors vesa compliant mounting multimedia lecturn lecturn accessories enclosed computer furniture how to use a laptop keyboard wall mounted keyboard tray anti glare screen for lcd monitor wall mount computer stands yellow 3 ring binder computer contemporary furniture lab literature magazine display rack monitor vertical display adjustable arm computer portable uav workstation desk file organizers feng shui office cubicle home office storage system acrylic magazine holder plasma tv arms flat screen monitor mount wall display board lcd pole furniture computer workstation mobile cart rolling tv feng shui office decorating lcd mount computer desk mobile monitor stand triple lcd dual monitor stand mobile pole storage binder arm dual monitor antique cd storage desk filing wall mounted plasma tv poster display board desk extension laptop tray cart printer stands wall mounted television brackets platform laptop portable monitor stand wall mounted height adjustable laptop stand desktop phone stand binder carousel cleaning notebook lcd screen wall mount arms retail display cabinets audio furniture tower arm counter lcd monitor mount under clamp keyboard platform pole tray height adjustable work desk lcd flat panel monitor arms space saver computer desks oversize acrylic magazine racks multiple lcd monitors small computer stand dual computer workstation lcd display stand wood literature organizers tv mobile cart computer screen magnifiers outdoor television cabinet multiple monitor mount anti glare for notebooks cabinet room divider boards display exhibit lcd computer monitor tv central room partitions arm articulating cabinet mount sel side wall crt comparison brochure counter holder top enclosed desk heavy duty printer cart board and easel computer monitors and keyboards computer screen glare protection gel keyboard pad vesa wall cabinet file rotating feng shui in the office space opening locked file cabinets flat panel monitor adjustable arm stand for office audiovisual carts computer dual monitor panel acrylic d model podium keyboard furniture display stands table top spring loaded keyboard tray lcd wall mounting bracket arm adjustable dry erase us map wall mount keyboard stand file hanging storage notebook presentation vesa plates white board cabinets cart furniture tv holder keyboard multiple flat panel monitor mounting ring binder carousel vesa standard mounting partitions room dividers overhead projector stands hanging tv mount arm gas lcd lift 42 round tables dual flat panel monitor stand ceiling mounting brackets mobile printer cart multiple flat screen monitors fold presentation board vesa compliant mounting computer cluster desks multimedia lecturn dual lcd monitor mounts whiteboard organizer lecturn accessories organizer planner top enclosed computer furniture lcd monitor arm desk mount lcd wall arm industrial wall mounted laptop stand board display trifold trophy cabinet keyboard and monitor stand computer desks mobile cart drawer filing mobile printer consul monitor arms enclosed computer workstation glass model display case trade show ceiling displays wall mounted magazine holder secured trophy display cases lcd monitor stands wall mounted plasma television cabinet anti glare monitor screens cd filing cabinets arm lcd monitor mount multiple pole adjustable ergonomic height workstation what is vesa compliant cd lockable storage vesa lcd mounts magazine rack rotating lcd tv pole mount multi printer stand under cabinet lcd mount articulating laptop arm acrylic brochure monitor keyboard stands proper storage of computer monitors desk footrest 2 chalkboard sided office organize supply flat monitor mount screen wall mounted plasma tv cabinet portable television stands dvd storage unusual display cabinet wood wall mounted television stand swivel laptop desk mounted tv wall portable monitor stands feng office shui space computer table work wall mount tv stands lcd monitor arm vesa office organizer laptop work table arms lcd speaker podiums tri fold display meeting presentation arm desk lcd monitor work bracket mounting plasma screen laptop lcd rigid screen wall mounted tv computer screen monitor locking single ball joint mount lcd monitor accessories whiteboard display cabinet steel magazine racks arm desk monitor mount childrens painting easel partition divider furniture glass modern plasma wood cheap classroom computer workstations storage 3 ring binder ergo lcd monitor arm lcd monitor desk mounts stand monitor industrial laptop swing arm magnifier screen for computer monitor vesa mounting standard board display enclosed small printer stands media cart tv shelf ceiling mount desk mount monitor arm stands plasma ceiling monitor mount computer laptop mount ceiling flat mount screen contemporary portable desk lamp mailroom organizer cabinet whiteboard oak magazine display racks dual lcd monitor arm monitor arm stands case display modern wall mouse arm rest display cabinets wood glare screen monitor articulating swivel plasma tv wall mount mobile computer furniture office room dividers 800 mount vesa wall laptop platform board bulletin sign mobile folding workstation ergonomic pad wrist wall mounted file cabinet computer monitor glare filter mobile stands nec vesa sliding door media cabinet collection computer drawers cd storage lockable freestanding computer keyboard stand laptop swivel stand notebook wall mount platform compact computer workstation erase board lined multiple lcd display cart mobile tv computer monitor mounting brochure magazine rack lcd anti glare screen monitor stands lcd organizer wall whiteboard mount stands television wall vesa desk stand computer workstation cart anti glare computer screens monitor anti glare screen pole tv mount built in display cabinet folding white board desk for laptops astra pneumatics mobile workstation computer mount outdoor tv computer keyboard slide rotating tv stand lcd wall brackets literature display unit hanging cd file plate display cabinet corkboards easel teacher stands for laptops wall mount plasma cabinet chalkboards whiteboards lcd monitor wall bracket arm lcd monitor screen hand painted media storage cabinet mounted tv stand quad lcd stand laptop rolling cart pedestal signage lcd monitor ceiling mount device lcd monitor mounting hipaa privacy filter wall mounted television stands mail shelf sorter ceiling mount for lcd lcd monitor mounting arm mobile printer stand computer magnifier screen arms keyboard laptop lcd monitor platforms wall mounted televisions vesa monitor arm whiteboard cabinet stackable file cabinet standing computer stations tv wall mount stand keyboard arm rest business room divider feng layout office shui wood podium triple lcd mount cabinets glass display case adjustable computer workstations compact computer mouse hanging newspaper display mounting tvs computer privacy filters desk feng office shui bracket lcd mounting portable rolling computer stand wall mount file organizer business divider room paper storage bins refrigerator magnetic white boards where can i buy wire magazine racks mail office organizer antiglare screen filter cabinet home office storage lcd glare filter standing computer work stations lcd monitor desk stand lecterns portable monitor tilt table top display stands monitor stand

Intro

Net-SNMP 5.4 and later contains Python bindings in the "python" sub-directory. They are not built by default. See python/README for further details.

Example Usage:

ipython is the best way to get your feet wet while using the python bindings for Net-SNMP. This assumes you got Net-SNMP to compile correctly and the egg to work:


In [1]: import netsnmp
In [2]: var = netsnmp.Varbind('sysDescr.0')
In [3]: res = netsnmp.snmpget(var, ...: Version = 1, ...: DestHost = 'localhost', ...: Community='public')
In [4]: print res ('Linux machine.pretendco.com 2.4.7-10lpc #1 Tue Nov 13 03:44:18 EST 2001 i686',)

Articles:

Using Net-SNMP and IPython: http://www.ibm.com/developerworks/aix/library/au-netsnmpnipython/