Re: collecting and graphing ifHCInOctets and ifHCOutOctets...
Andrew <[email protected]>
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <1165446333.27485.15.camel@beelzebub> |
On Wed, 2006-12-06 at 19:23 +0530, Michael Hale wrote: > Hello Everybody, > > I'm having trouble collecting Counter64 ifHCInOctets and > ifHCOutOctets from some Cisco 7609s we manage and I was hoping that > one of you could help me figure out what is going on. > > In the Defaults file at the top of the config tree(/home/cricket/ > cricket-config ), I've tried snmp-version = 2 and = 2c > > The HC counters are defined: > Created the graphs: > And then under the router-interfaces branch of the config tree, under > Defaults, I have added under the targetType standard-interface: > > targetType standard-interface > ds = "ifInOctets, ifOutOctets, ifInErrors, > ifOutErrors, ifInUcastPackets, ifOutUcastPackets, > ifHCInOctets, ifHCOutOctets" > view = "Octets: ifInOctets ifOutOctets, > UcastPackets: ifInUcastPackets ifOutUcastPackets, > Errors: ifInErrors ifOutErrors, > HCOctets: ifHCInOctets, ifHCOutOctets" > > Running the collector in debug mode (community strings censored), I see: > > [06-Dec-2006 07:45:20 ] Retrieving data for target gigabitethernet1_1 > (1) (standard-interface) > [06-Dec-2006 07:45:20 ] ds0 is: //*******@DAL7609-1:161:2.0:5:1.0:2/ > ifInOctets.1 > [06-Dec-2006 07:45:20 ] ds1 is: //*******@DAL7609-1:161:2.0:5:1.0:2/ > ifOutOctets.1 > [06-Dec-2006 07:45:20 ] ds2 is: //*******@DAL7609-1:161:2.0:5:1.0:2/ > ifInErrors.1 > [06-Dec-2006 07:45:20 ] ds3 is: //*******@DAL7609-1:161:2.0:5:1.0:2/ > ifOutErrors.1 > [06-Dec-2006 07:45:20 ] ds4 is: //*******@DAL7609-1:161:2.0:5:1.0:2/ > ifInUcastPkts.1 > [06-Dec-2006 07:45:20 ] ds5 is: //*******@DAL7609-1:161:2.0:5:1.0:2/ > ifOutUcastPkts.1 > [06-Dec-2006 07:45:20 ] ds6 is: // > *******@DAL7609-1:161:2.0:5:1.0:2/1.3.6.1.2.1.2.2.1.2.1 > [06-Dec-2006 07:45:20 ] Getting from ******@DAL7609-1:161:2.0:5:1.0:2 > 1.3.6.1.2.1.2.2.1.10.1 1.3.6.1.2.1.2.2.1.16.1 1.3.6.1.2.1.2.2.1.14.1 > 1.3.6.1.2.1.2.2.1.20.1 1.3.6.1.2.1.2.2.1.11.1 1.3.6.1.2.1.2.2.1.17.1 > 1.3.6.1.2.1.2.2.1.2.1 > [06-Dec-2006 07:45:20 ] Got: 553489152 491167871 0 0 2603514219 > 3771540587 GigabitEthernet1/1 > [06-Dec-2006 07:45:20 ] Retrieved data for gigabitethernet1_1 (1): > 553489152,491167871,0,0,2603514219,3771540587 > > Maybe I'm doing something wrong, but it doesn't seem to be picking up > the ifHCInOctets.1 and ifHCOutOctets.1 even though I can see them > through an snmp-walk: > > Any ideas what I'm doing wrong? > -- Hi, Everything looks good but you make no mention of recompiling the config tree in the steps you took. That would be my guess as the collector appears to be using the old definition. Cheers, Andrew ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV