[collectd] Collection3 graphing module submission - TypeStacked.pm

Neil McCoy collectd-list at sysadmin.hitwise.com
Thu Sep 16 01:26:29 CEST 2010


Our Sys. Admin team down in Melbourne, Australia uses collectd 
extensively and we've recently started using collection3 for graphing.

Part of our implementation of collection3 involved a few modifications 
and additions to it's code which we'd like provide back to the project 
for inclusion as it see's fit.  The updates were to version 4.10.1 of 
the code.

This first submission is for a graphing module which allows the stacking 
of multiple type instances in the one graph.  The module is a 
modification of another one that Florian octo Forster made.

As an example if it was used to graph the interfaces "if_octets" data, 
depending on your system, you'd end up with "lo", "eth1", "eth2", ... 
stacking on top of each other.  You get one graph per data source.  The 
data source(s) used are what get specified in it's definition (in 
collection.conf).  In the below example we get two graphs for 
"if_octets", one for "rx" and the other for "tx".

<Type if_octets>
  Module TypeStacked
  DataSources rx tx
  DSName rx RX
  DSName tx TX
  RRDTitle "Interface Traffic ({hostname})"
  RRDVerticalLabel "Bytes per second"
  RRDFormat "%5.1lf%s"
  Color lo 000000
  Color sit0 333333
  Scale 8
</Type>


Best regards,
Neil McCoy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: collectd-4.10.1-mineTypeStacked.patch
Type: text/x-patch
Size: 6184 bytes
Desc: not available
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20100916/5d35a263/attachment.bin>


More information about the collectd mailing list