[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Cisco switches




----- Original Message ----- From: "Henrik Stoerner" <henrik (at) hswn.dk>
To: <hobbit (at) hswn.dk>
Sent: Wednesday, January 16, 2008 3:01 PM
Subject: Re: [hobbit] Cisco switches



The current snapshot of Hobbit can fetch data through SNMP, and one of
the things I am using it for is to collect data about switches. We use
Nortel's Passport-8600 switches here, but it can be configured for any
kind of SNMP-enabled host. So just picking up the current load of the
switch (cpu, memory, fabric utilisation) and the traffic on each port
is done with this config entry in hobbit-snmphosts.cfg:

[pp8600.foo.com]
        version=2
community=public
p8600system
ifmib=!*!

"p8600system" and "ifmib" are actually pointers into hobbit-snmpmibs.cfg
which has the details of what SNMP objects to retrieve (just showing a
couple of items):

[p8600system]
Descr = SNMPv2-MIB::sysDescr.0
UpTime = RFC1213-MIB::sysUpTime.0
BufferUtil = RAPID-CITY::rcSysBufferUtil.0 /rrd:GAUGE
CpuUtil = RAPID-CITY::rcSysCpuUtil.0 /rrd:GAUGE

[ifmib]
keyidx (IF-MIB::ifDescr)
keyidx !IF-MIB::ifIndex!
ifHCInOctets = IF-MIB::ifHCInOctets /rrd:COUNTER
ifHCOutOctets = IF-MIB::ifHCOutOctets /rrd:COUNTER


Are those two configurationfiles replacements for hobbit_snmpcollect.cfg?

Regards,
Henrik


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk


--
Regards
Lars Ebeling

http://leopg9.no-ip.org
Hobbithobbyist

"It is better to keep your mouth shut and appear stupid than to open it and remove all doubt."
-- Mark Twain