[collectd] monitoring cisco devices

XANi xani666 at gmail.com
Fri Oct 30 12:18:17 CET 2009


On Fri, 30 Oct 2009 12:09:22 +0100, Josef Liška <jl at chl.cz> wrote:
> Israel Garcia napsal(a):
> > Has any of you monitor a cisco device using snmp plugin? I;d like to
> > monitor a 3750 switch but I don't know how to do it. Thoughts?
> >
> > thanks.
> >
> >   
> Hello,
> I am monitoring old catalyst switches C2950 and C2960. I also wanted
> to name ports according to our naming standard,
> so switchport refference is swNNN.location.domain.tld [e|g]NNN
> 
> # port definitions for Cisco C2950
> <Plugin snmp>
> 
>    <Data "s4e1">
>       Type "if_octets"
>       Table false
>       Instance "e1"
>       Values "IF-MIB::ifInOctets.1" "IF-MIB::ifOutOctets.1"
>     </Data>
> 
>    <Data "s4e2">
>       Type "if_octets"
>       Table false
>       Instance "e2"
>       Values "IF-MIB::ifInOctets.2" "IF-MIB::ifOutOctets.2"
>     </Data>
> 
>  ....# etc
> 
>   <Host "sw0.location.domain.tld">
>       Address "10.20.30.40"
>       Version 1
>       Community "publicCC"
>       Collect "s4e1" "s4e2" "s4e3" "s4e4" "s4e5" "s4e6" "s4e7" "s4e8" 
> "s4e9" "s4
> e10" "s4e11" "s4e12" "s4e13" "s4e14" "s4e15" "s4e16" "s4e17" "s4e18" 
> "s4e19" "s4
> e20" "s4e21" "s4e22" "s4e23" "s4e24" "s4e25" "s4e26"
>       Interval 120
>     </Host>
> </Plugin>
> 
> 
Collectd have filtering mechanism buildin.
http://collectd.org/wiki/index.php/Chains
There are also some examples at end of this page:
http://collectd.org/documentation/manpages/collectd.conf.5.shtml

Regards
Mariusz
-- 
Mariusz Gronczewski (XANi) <xani666 at gmail.com>
GnuPG: 0xEA8ACE64
http://devrandom.pl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20091030/5e3e00e9/attachment.pgp 


More information about the collectd mailing list