From: Aiello, S. \(G. C. consultant\) <ste...@ge...> - 2007-01-23 13:17:21
|
I am not sure if this will help or not. But in your threshold file you define an error message when the threshold is met. But you do not list the .error variable in your message file. To have the error messages appear at the top of the report you need to include this variable. Also it does not matter where it defined in the message file, it will always be at the top, prior to the report. So your message file should look like: =20 fwNumConn: {fwNumConn}{fwNumConn.errors} fwPeakNumConn: {fwPeakNumConn}{fwPeakNumConn.errors} =20 This may be throwing a gear in the 'works'.=20 -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Torben Aagaard Sent: Tuesday, January 23, 2007 6:16 AM To: dev...@li... Subject: [Devmon] Status always green Hi ! =20 I'm having a bit of a problem with the threshold values of a custom template. Devmon 0.2.2 is runnig on Debian Sarge/Sparc. =20 Here's the relevant files from my fw-1 dir :=20 =20 transforms : empty exceptions : empty =20 --- oids --- :=20 fwNumConn : 1.3.6.1.4.1.2620.1.1.25.3.0 : leaf fwPeakNumConn : 1.3.6.1.4.1.2620.1.1.25.4.0 : leaf ------------- =20 --- thresholds --- : fwNumConn : red : 10 : Connection Table very high {fwNumConn} fwNumConn : yellow : 5 : Connection Table high {fwNumConn} ------------- =20 --- messages --- : fwNumConn: {fwNumConn} fwPeakNumConn: {fwPeakNumConn} ------------- =20 Everything works fine - except that the Hobbit status is always green. Here's a sample output :=20 ------------- fwNumConn: 16177 fwPeakNumConn: 30993 Devmon version 0.2.2 running on mon ------------- =20 I do belive the value of 6177 should give me a red status :) =20 Any ideas ? =20 Thanks /Torben |