[hobbit] Custom graphs: RRD database won't populate
Haertig, David F (Dave)
haertig at avaya.com
Wed May 30 06:21:09 CEST 2007
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070529/0d13ceb6/attachment.html>
More information about the Xymon
mailing list