Xymon Mailing List Archive search

Cisco switches

list Lars Ebeling
Wed, 16 Jan 2008 16:53:44 +0100
Message-Id: <00ab01c85857$f950cbc0$user-a73ca09b698f@xymon.invalid>

----- Original Message ----- 
From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
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


-- 
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