From: Taylor L. <tl...@tr...> - 2008-06-10 18:23:08
|
Doh!, thanks... -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Buchan Milne Sent: Wednesday, May 28, 2008 8:14 AM To: dev...@li... Subject: Re: [Devmon] APC PDUs, load thresholds not working On Thu, 2008-05-22 at 12:56 -0500, Taylor Lewick wrote: > Hi all, we have several managed APC PDUs that we are polling via devmon. > > See sample output below... > > Big Brother Web Page Showing Green > PDU status: > > Vendor: apc > Model: AP7941 > > PDU Load: 15.50 Amps (yellow=>15Amps red=>17Amps) > > I cant figure out why its not going yellow... > Below are the files for the template for this device > > EXCEPTIONS: file is empty > > OIDS: > pduModel : .1.3.6.1.4.1.318.1.1.12.1.5.0 : leaf > pduTotalLoad : .1.3.6.1.4.1.318.1.1.12.2.3.1.1.2.1 : leaf > > TRANSFORMS: > # Do numeric translations > pduTotalLoadAmps : MATH : {pduTotalLoad} / 10 > > MESSAGE: > {pduTotalLoad.errors} > > PDU status: > > Vendor: apc > Model: {pduModel} > > Next line is all on one line in the file... > PDU Load: {pduTotalLoadAmps}Amps (yellow={pduTotalLoadAmps.thresh:yellow}Amps red={pduTotalLoadAmps.thresh:red}Amps) > You need to add a {pduTotalLoadAmps.color} somewhere in your message file, e.g.: PDU Load: {pduTotalLoadAmps.color} {pduTotalLoadAmps}Amps (yellow={pduTotalLoadAmps.thresh:yellow}Amps red={pduTotalLoadAmps.thresh:red}Amps) Regards, Buchan Regards, Buchan ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support |