[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Devmon MATH
- To: hobbit (at) hswn.dk
- Subject: Devmon MATH
- From: "Ralph Mitchell" <ralphmitchell (at) gmail.com>
- Date: Mon, 24 Sep 2007 12:48:24 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=O1iupyWAQDNWV6QkQWONqAAF7t+RGavWKK+62Fo8f5s=; b=qR05Z+32wOuSo7AHU0/znx4J6tXzENmPKSzFk8w/HfPz10ZO14+pj6bQos3gTYZ6K+Jm31dP8Q/ImOJUvyi6frjG+iOV5sBfyBcksjNBMuC+YNHSMIY1tyC22OF/nQ7jLPcxtkkZWfa7RaUmqVoQlXo8GDCdQlj42s0B/i3K6zE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=hbt7O7iUPZciW0PUcbzC3MKD6NCgwXIoFagB+29TY7QLbHl7SGD+sasEO49qsMF2SmlwAxz+8uNYJrx74524G4Zod6vXilirfYS63ydQW35xfgkHU369mM9pmIJolRccWc6UNNzXmXu56Tdj3vLltMC0hgtVNL52TYyy+dEWjoo=
Is anyone using MATH in devmon templates?? I'm trying to calculate
percent memory used for a couple of Windows 2000 servers and I'm
getting:
"Error(s) while parsing 'PhysMemUsed' on xxxxxx"
The transforms file contains this:
PhysMemUsed : MATH : {PhysMemSize} - {PhysMemFree}
PhysMemPerc : MATH : ({PhysMemUsed} / {PhysMemSize}) x 100
and the corresponding OIDS are:
PhysMemSize : 1.3.6.1.4.1.232.11.2.13.1.0 : leaf
PhysMemFree : 1.3.6.1.4.1.232.11.2.13.2.0 : leaf
If I report PhysMemFree & PhysMemSize in the report message, I get
sensible values. For example, right now they show 471 & 1152, so
PhysMemUsed would be 681 and PhysMemPerc would be 59%.
I get the above error message, and PhysMemPerc is displayed as "Parent
data missing".
Any clues??
Ralph Mitchell