From: Buchan M. <bg...@st...> - 2009-05-07 08:47:26
|
On Wednesday 06 May 2009 13:57:06 Thomas Kähn wrote: > Hi, > > On Wed, May 06, 2009 at 01:53:45PM +0200, Thomas Kähn wrote: > > On Wed, May 06, 2009 at 07:22:41PM +0900, Koshikawa Yasunori wrote: > > > I just started to monitor memory threshold for Cisco switches, but I > > > can't. I set small threshold value, but always green. > > > > > > example: > > > Free memory: 2255724 bytes (51%) > > > Used memory: 2131592 bytes (49%) > > > ------------- ---------------- > > > Total memory: 4387316.00 bytes (100%) > > > > > > > > > /path_to_devmon/templates/cisco-*/memory/thresholds > > > mem_used_per : yellow : 20 : Memory load is high > > > mem_used_per : red : 30 : Memory load is very high > > > > it's an error in the templates. I submitted a bug report. However it > > doesn't seem to be patched, yet. > > by the way - the if_err/if_dsc test was also buggy. It does what it says it does ("Load percentages are based on error/bit ratio."). > The error percentage > wasn't calculated correctly and always too low. 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). Regards, Buchan |