From: Dan V. M. <bi...@gm...> - 2006-03-02 02:33:37
|
Isuspect the problem, in both cases, is that you're using * as the multiplication symbol. The templates doc says: 'x' (Multiplication) I would venture to guess that is your problem:) Don't let it get to you though, I made the same mistake:) -Dan On 3/1/06, Aiello, Steve (GE, Corporate, consultant) <ste...@ge...> wrote: > Ok, > > I am trying to make a cpu template for my F5-BigIPs 1500s. So basically > they are Linux Oses, and I am pulling CPU starts from the UCD-SNMP-MIB, > My oids file follows: > sysUpTime : .1.3.6.1.4.1.3375.2.1.6.6.0 : leaf > laLoad1 : .1.3.6.1.4.1.2021.10.1.3.1 : leaf > laLoad5 : .1.3.6.1.4.1.2021.10.1.3.2 : leaf > laLoad10 : .1.3.6.1.4.1.2021.10.1.3.3 : leaf > ssCpuRawUser : .1.3.6.1.4.1.2021.11.50.0 : leaf > ssCpuRawNice : .1.3.6.1.4.1.2021.11.51.0 : leaf > ssCpuRawSystem : .1.3.6.1.4.1.2021.11.52.0 : leaf > ssCpuRawIdle : .1.3.6.1.4.1.2021.11.53.0 : leaf > > My transforms follows: > sysUpTimeSecs : MATH : {sysUpTime} / 100 > UpTimeTxt : ELAPSED : {sysUpTimeSecs} > StatusLoad : MATH : {laLoad5} * 100 > CpuUser : DELTA : {ssCpuRawUser} > CpuNice : DELTA : {ssCpuRawNice} > CpuSystem : DELTA : {ssCpuRawSystem} > CpuIdle : DELTA : {ssCpuRawIdle} > > Now my report looks like: > 28 days, 06:14:55 (hh:mm:ss), , loadaverage: 1.00, 1.00, 1.00 > > CPU States: cpu user nice system idle > total 70.22 0.01 29.81 0.01 > > The problem is this BigIP is not doing anything, that is why I am > testing against it. So why am I getting a load average of 1, and CPU% > adds up to 100%. Did I do something wrong with the data ? If it looks > like I did everything right, I will open a case with F5, on why I am > getting bad infor from SNMP. > > Problem 2: > The cron'ed job 'devmon --readbbhosts' keeps returning this error to me: > [06-03-01@21:10:04] MATH transform contains non-math symbols > at/data/BB/devmon-dev/templates/f5-bigip/cpu/transforms, line 7 > > Thanks for any help, > Steven > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmdlnk&kid=110944&bid$1720&dat=121642 > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support > |