I am trying to use the devmon-hobbit module to do my graphing on a script
that I through together. This is what the data looks like that is being
sent to hobbit.
green Wed Aug 6 08:15:37 EDT 2008 - Start-Over is Ok!
<center>
<table border=1 cellpadding=10 cellspacing=0>
<th>Description</th>
<th>Totals</th>
</tr>
<tr>
<td> Requested Start-Over Streams </td>
<td> 14 </td>
</tr>
<tr>
<td> Started Start-Over Streams </td>
<td> 14 </td>
</tr>
<tr>
<td> Running Start-Over Streams </td>
<td> 43 </td>
</tr>
<tr>
<td> Start-Over Success Rate </td>
<td> 100% </td>
</tr>
</table>
</center>
<!--DEVMON RRD: startover 0
DS:ds0:GAUGE:600:0:U
requested 14
started 14
running 43
success 100
-->
Status unchanged in 0.00 minutes
Message received from 165.237.105.140
Client data ID 1218024694
I have modified the hobbitserver.cfg to have these entries:
TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,di
g=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sendmail,ma
ilq,n
mailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,files,pr
ocs=processes,ports,clock,lines,if_load=devmon,power=ncv,temp=ncv,temps=ncv,
pdu=n
cv,processor=ncv,startover=devmon,err_codes=ncv"
GRAPHS="la,disk,inode,qtree,files,processes,memory,users,vmstat,iostat,tcp.h
ttp,tcp,ncv,netstat,ifstat,mrtg::1,ports,temperature,ntpstat,apache,bind,sen
dmail
,mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,clock,lines,d
evmon::1,if_load::1,processor,temp,temps,pdu,power,startover::1"
I have modified the hobbitcgi.cfg to have this entry:
CGI_SVC_OPTS="--env=/opt/hobbit/server/etc/hobbitserver.cfg --no-svcid
--history=top --multigraphs=if_load,startover"
My hobbitgraph.cfg looks like this:
[startover]
FNPATTERN startover.(.*).rrd
TITLE - Startover -
YAXIS Stats
DEF:rtadata@RRDIDX@=@RRDFN@:ds0:AVERAGE
LINE1:rtadata@RRDIDX@#002A97:@RRDPARAM@\g
GPRINT:rtadata@RRDIDX@:LAST: %8.2lf %s (cur)\g
GPRINT:rtadata@RRDIDX@:MAX: %8.2lf %s (max)\g
GPRINT:rtadata@RRDIDX@:MIN: %8.2lf %s (min)\g
GPRINT:rtadata@RRDIDX@:AVERAGE: %8.2lf %s (avg)\n
There are 2 problems that I am running into. Here is the first problem:
I am only seeing 3 graphs on my "startover" column and should be seeing 4.
The second problem is that no data is being graphed.
[root@gsonc-spg-ops-1 gsonc-spg-mas-1]# rrdtool dump startover.requested.rrd
| more
<!-- Round Robin Database Dump --><rrd> <version> 0003 </version>
<step> 300 </step> <!-- Seconds -->
<lastupdate> 1218024600 </lastupdate> <!-- 2008-08-06 08:10:00 EDT
-->
<ds>
<name> ds0 </name>
<type> GAUGE </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> 0.0000000000e+00 </min>
<max> NaN </max>
<!-- PDP Status -->
<last_ds> UNKN </last_ds>
<value> 0.0000000000e+00 </value>
<unknown_sec> 0 </unknown_sec>
</ds>
Anyone have any ideas?
-Josh
|