[collectd] monitoring cisco devices

Josef Liška jl at chl.cz
Fri Oct 30 12:09:22 CET 2009


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>


-- 

S pozdravem
Josef Liška

CHL | system care

Telefon: +420.272048055
Fax: +420.272048064
Mobil: +420.776026526 denně 9:00 - 17:30
Jabber: jl at chl.cz
https://www.chl.cz/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.verplant.org/pipermail/collectd/attachments/20091030/f0b67318/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jl.vcf
Type: text/x-vcard
Size: 433 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20091030/f0b67318/attachment.vcf 


More information about the collectd mailing list