Brownian motion

The quick brown fox jumps over the lazy dog

 

PySDTG

PySDTG — (Python’ed) SNMP Devices Traffic Grapher. What’s wrong with MRTG? — it’s too clever. It’s possible to configure to fetch virtually everything, it’s possible to process data before storing… But those configuration files up to several megabytes started to slow down its job (~60 devices, every 5 minutes… and it became slow as for me).
That’s why i wrote a set of scripts (Python, py-snmp, py-rrdtool), which do «the same» and slightly more:

  • fetch statistics — bytes, packets, errors — and store in rrd bases
  • allows to choose 32-bit or 64-bit counters to fetch
  • fetch descriptions of interfaces
  • show graphs with bytes, packets (unicast, broadcast), errors, bytes per packet with linear or logarithmic format
  • give a possibility to search interface by description (regexp) — it’s very useful when there are a lot of interfaces
  • update its configuration
  • collect statistic about work (total an SNMP) time, SNMP errors etc
  • give a possibility to define an aggregations of interfaces and display statistic for aggregation (with every single interface on/off) — beta

Fetching script works quite fast — now it processes ~130 devices (4+ thousand interfaces), every 2 minutes fetches six SNMP tables for every interface.

Here is some statistic (devices number, working time, errors) for last year:

I will put it here some time later, I hope (after some «make-up»).
Write me, if you are interesting.

(1 votes, average: 4 out of 5)

Pages

Recent Posts

Most Rated

Highest Rated

Tags

Archives