From: Buchan M. <bg...@st...> - 2008-01-31 08:34:14
|
On Thursday 10 January 2008 23:12:01 Chuck Byam wrote: > I'm working on a custom template, F5 specifically, and have a question for > those who have been through this before. I'm attempting to generate an > alert when the pool member node count drops to a certain point. > > > > Oid: > > PoolName : .1.3.6.1.4.1.3375.2.2.5.1.2.1.1 : branch > > PoolNodeCount : .1.3.6.1.4.1.3375.2.2.5.1.2.1.8 : branch > > > > Threshold: > > PoolNodeCount : yellow : <4 : {PoolName} Active Node Count {PoolNodeCount} > > PoolNodeCount : red : <2 : {PoolName} Active Node Count {PoolNodeCount} > > > > PoolNodeCount contains expected values as indicated in the message file, > but alerts are never generated. Running devmon in verbose mode doesn't > yield any useful information. What is the best way to troubleshoot this? > Any thoughts would be appreciated. Did you use {PoolNodeCount.color} in your message file ? If you don't, no colors are applied ... If you don't come right, please supply the message file. Unfortunately, it's not easy to add logging of matching of thresholds (the function is written in such a way that it returns when matching a threshold), but besides adding a {alias.color} tag, there's almost nothing to troubleshoot. When I did it myself, I wasted a lot of time before noticing that I needed to make this change: http://devmon.svn.sourceforge.net/viewvc/devmon?view=rev&revision=40 Regards, Buchan |