[hobbit] Custom graphs: RRD database won't populate

Haertig, David F (Dave) haertig at avaya.com
Wed May 30 19:19:49 CEST 2007


Thanks for the reply.  Unfortunately, I've already been through that
documentation over and over.

But I think I stumbled onto the answer by just blindly guessing and
changing things around.

I changed my custom script to send in "green" status messages rather
than "clear", and what do you know, an RRD datafile was created.

My custom script was sending in data with an indication of "clear".
This is what I normally use for tests I'm working on that are sending
data, but I haven't applied any red/yellow condition checking yet.
i.e., This is my way of saying "Here's some raw data to view on a web
page, but without any interpretation applied to it yet".  I can't
remember what the original intent of "clear" was, I stole that color for
my own use years ago when I started with Big Brother.  I imagine Hobbit
was applying the original meaning of "clear", whatever it was, and
therefore not moving the data to an RRD file.    Maybe this hobbit
operation is by design, and that's fine with me, ... it would be nice if
the documentation on how to create custom graphs mentioned it however.

Thanks!

-----Original Message-----
From: Dominique Frise [mailto:Dominique.Frise at unil.ch] 
Sent: Wednesday, May 30, 2007 1:00 AM
To: hobbit at hswn.dk
Subject: Re: [hobbit] Custom graphs: RRD database won't populate

Haertig, David F (Dave) wrote:
> I'm still not getting any RRD data being populated after the following
> changes:
>  
> (1) Added "recent" to the GRAPHS line in hobbitserver.cfg.  I thought 
> this line was only for putting things in the trends column, but I 
> added 'recent' to it anyway.
>  
> (2) Changed my NCV_recent line in hobbitserver.cfg to "*:GAUGE" rather

> than individually listing each dataset.
>  
> (3) Restarted hobbit.
>  
> (4) Changed my status messages to not have any spaces in them They 
> were like this e.g., "five<space>:<space>27 Now they are like this 
> e.g., "five:27"
>  
> Still no RRD database file being generated.  I'm looking in the 
> ....../data/rrd directory for some file named like *recent*.rrd
>  
> The messages I'm sending from my custom script are status messages, 
> and they show up on the regular webpage displays, updated every five 
> minutes.  It looks like the rrd process is running too:
>  
> hobbit at stars-dev <mailto:hobbit at stars-dev>-> ps -ef | grep status 
> hobbit 593 587 0 21:52 ? 00:00:00 hobbitd_channel --channel=status 
> --log=/development/hobbit/logs/rrd-status.log hobbitd_rrd 
> --rrddir=/development/hobbit/data/rrd
>  
> I looked through the ...../logs/rrd-status.log and rrd-data.log files 
> and there is no mention of 'recent' in there.
>  
> Any ideas on where I should look next to debug this?  Thanks in 
> advance for any help or guidance.
> 
> 
> ----------------------------------------------------------------------
> --
> *From:* Haertig, David F (Dave) [mailto:haertig at avaya.com]
> *Sent:* Tuesday, May 29, 2007 11:46 AM
> *To:* hobbit at hswn.dk
> *Subject:* [hobbit] Custom graphs: RRD database won't populate
> 
> I'm trying to do my first custom graph, using data collected from a 
> custom script.
>  
> The script collects data fine, and successfully updates hobbit at it's

> regular five minute increments.  The data as sent looks like this:
>  
> five : 17
> ten : 24
> fifteen : 30
> twenty : 42
> thirty : 62
> fortyfive : 81
> sixty : 108
> ninety : 166
> onetwenty : 218
> oneeighty : 349
> 
> The column name is 'recent'.  Here's BBHOSTS:
> 
> group-only recent|pending|stuck Maestro 0.0.0.0 maestro_alarm_cases # 
> prefer noconn recent pending stuck NAME:"Alarm Cases"
> 
> and hobbitserver.cfg:
> 
> TEST2RRD="cpu=la,disk,inode,qtree,memory,<more
stuff>,ports,clock,lines,recent=ncv"
> 
>
NCV_recent="five:GAUGE,ten:GAUGE,fifteen:GAUGE,twenty:GAUGE,thirty:GAUGE
,fortyfive:GAUGE,sixty:GAUGE,ninety:GAUGE,onetwenty:GAUGE,oneeighty:GAUG
E"
> 
> I stopped/started hobbit server.  I've been watching the 'recent'
column update regularly every five minutes, for at least 45 minutes now.
> 
> But there doesn't appear to be any RRD data file for this 'recent'
test:
> 
> find /development/hobbit/data/rrd -name "*recent*" -print
> 
> The above 'find' command finds nothing related to 'recent' (although 
> there are plenty of OTHER test's RRD files in that directory - default

> tests - just not my custom test)
> 
> I must have missed something simple.  I've gone over the hobbit
webserver's HTML help on "Custom Graphs" several times, but can't find
the cause of my error.
> 
>  
>  

Double-check your settings using the documentation from your Hobbit
installation at
http|https://$BBSERVERWWWNAME/$BBSERVERWWWURL/help/howtograph.html

or use Henrik's:


http://www.hswn.dk/hobbit/help/howtograph.html



Dominique
UNIL - University of Lausanne

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk



More information about the Xymon mailing list