Skip to main content

Reading and Collecting Performance Data Using SNMP

  • Chapter
Pro Python System Administration
  • 2214 Accesses

Abstract

Most devices that are connected to a network report their status using SNMP (the Simple Network Management Protocol). This protocol was designed primarily for managing and monitoring network-attached hardware devices, but some applications also expose their statistical data using this protocol. In this chapter we will look at how to access this information from your Python applications. We are going to store the obtained data in an RRD (round robin database), using RRDTool—a widely known and popular application and library, which is used to store and plot the performance data. Finally we’ll investigate the Jinja2 template system, which we’ll use to generate simple web pages for our application.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Editor information

Duncan Parkes Michelle Lowman Clay Andres Steve Anglin Mark Beckner Ewan Buckingham Gary Cornell Jonathan Gennick Jonathan Hassell Matthew Moodie Jeffrey Pepper Frank Pohlmann Douglas Pundick Ben Renow-Clarke Dominic Shakeshaft Matt Wade Tom Welsh Mary Tobin Jennifer L. Blackwell Jim Compton Heather Lang Marilyn Smith

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Rytis Sileika

About this chapter

Cite this chapter

(2010). Reading and Collecting Performance Data Using SNMP. In: Parkes, D., et al. Pro Python System Administration. Apress. https://doi.org/10.1007/978-1-4302-2606-2_1

Download citation

Publish with us

Policies and ethics