[hobbit] Re: Custom RRD graphs

Rich Smrcina rsmrcina at wi.rr.com
Mon Nov 14 15:54:07 CET 2005


Perhaps the underscore is also considered a valid character. I can 
process dataset names with underscores using the extra tests and script. 
  Also, I changed do_ncv.c to allow underscores in the dataset name.

             if ( ((*inp >= 'A') && (*inp <= 'Z')) ||
                  ((*inp >= 'a') && (*inp <= 'z')) ||
                  ((*inp >= '0') && (*inp <= '9')) ||
                  ((*inp == '_') ) ) {


Here's a dump from my rrd file:

hobbit at hobbit:~/data/rrd/vm1> rrdtool fetch pg_util.rrd AVERAGE -r 900 
-s -60m
                         pg_util

1131975600: 1.0000000000e+00
1131975900: 1.0000000000e+00
1131976200: 1.0000000000e+00

Now that my rrd file is being updated, I have to figure out why the 
graph isn't appearing.

Henrik Stoerner wrote:
> On Mon, Nov 14, 2005 at 06:35:22AM -0600, Rich Smrcina wrote:
> 
>>OK, I think I've found the problem.  The NCV routine strips out anything 
>>that isn't a letter or a number from the column name.
>>
>>I found this message in the log:
>>
>>2005-11-13 22:01:21 RRD error updating 
>>/home/hobbit/data/rrd/vm1/pg_util.rrd from 192.168.201.1: unknown DS 
>>name 'pgutil'
> 
> 
> That is because the RRD library only allows data-set names to contain
> letters and numbers.
> 
> 
> Henrik
> 
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 
> 

-- 
Rich Smrcina
VM Assist, Inc.
Main: (262)392-2026
Cell: (414)491-6001
Ans Service:  (360)715-2467
rich.smrcina at vmassist.com

Catch the WAVV!  http://www.wavv.org
WAVV 2006 - Chattanooga, TN - April 7-11, 2006



More information about the Xymon mailing list