From: Thomas K. <tk...@we...> - 2009-05-07 12:47:08
|
Hi Buchan, On Thu, May 07, 2009 at 10:47:46AM +0200, Buchan Milne wrote: > Maybe per-packet would be more appropriate. > However, since you filed the bug anonymously ... > > I am taking a look at this issue, for if_dsc and if_err. > > However, I don't like the current layout where we have the same content in > many different templates, but with some very small differences for some > templates. > > For example, should I now change 87 tests to use HC counters instead? I would > prefer to add template inheritance, and have *two* IFMIB templates, one for > non-HC, and one for HC counters (well, maybe 4, two for IFMIB, two for Cisco > IFMIB). this sound very good. This way exceptions could be defined easily. Let's say you have one switch where you don't want to monitor interfaces but only cpu, temperature, etc.. Currently I use tests() or model() in bb-hosts. With you suggestion it would be possible to create a template inheriting only the required tests. Best regards Thomas -- Thomas Kähn NetCologne Network Engineering & Design Gesellschaft für Telekommunikation mbH Grüner Weg 100 Telefon: 0221/2222-8718 52070 Aachen Fax: 0221/2222-78718 Handelsregister: HRB 25580, Amtsgericht Köln Geschäftsführer: Werner Hanf, Dipl.-Ing. Karl-Heinz Zankel |