Xymon Mailing List Archive search

windows C# code

list Jeff Newman
Wed, 23 May 2007 12:49:56 -0500
Message-Id: <user-a965b48ea90e@xymon.invalid>

Henrik,

Thanks. I'll wait for the ncv module patch to become available. If you
could let me know when it is available (or where to check) that would
be great!

With much apprieciation,
Jeff


On 5/23/07, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Tue, May 22, 2007 at 07:55:20PM -0500, Jeff Newman wrote:
The below code displays on the page right, however, when the hobbit
ncv module builds the RRD file, the ds names are things like:
greenCurrentConnections
greenTimeinGC
yellowBytesinallHeapsMB
redApplicationsRunning
Hobbit's ncv module breaks when you use the color-icon markers.
Didn't know that, but I checked the code and it will include the
color in the ds name, as you've found.

The quick fix is to change your code so it always has the data
you want to store for graphs with no color-icons in front of the
ds name. E.g. your output could be

   &yellow Heap size is 99 MB

   BytesinallHeaps: 99
   TimeinGC: 200

I'll update the ncv module to skip any color markers in front of the ds
names.


Regards,
Henrik