[collectd] snmp plugin - traffic for multiple interfaces

Csillag Tamas cstamas at digitus.itk.ppke.hu
Wed Jan 19 13:38:52 CET 2011


hi

On Wed, Jan 19, 2011 at 01:23:55PM +0100, Beck, Stefan wrote:
> Hi all,
>  
> i would like to ask i fit is possible to collect a summarized traffic for multiple interface
> 
> e.g the overall traffic of 3 or 4 switchports
> something like this:
> 
>     <Data "std_traffic">
>       Type "if_octets"
>       Table true
>       Instance "IF-MIB::ifDescr"
>       Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
>     </Data>
> 
>     <Host "sw.mydomain.org">
>       Address "192.168.0.42"
>       Version 2
>       Community "another_string"
>       Collect "std_traffic_if1" + "std_traffic_if2" + "std_traffic_if3"
>     </Host>
>  
> any help appreciated

I think this is a visualisation issue.
You collect two values but when you make a graph of it you display the
overall traffic (you add the two values).
I do not see the need to sum the data while collecting.

Regards,
  cstamas
-- 
CSILLAG Tamas (cstamas) - http://digitus.itk.ppke.hu/~cstamas




More information about the collectd mailing list