orcahobbit
I guess I need to define entries for all of these to get the rrd file to
update without errors. I assume it's an all or nothing update.
<ds>
<name> pagesfree </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> NaN </value>
<unknown_sec> 227 </unknown_sec>
</ds>
[root at qamon01 ~]# more /var/log/hobbit/rrd-data.log
2007-03-23 15:52:26 hobbitd_rrd: Got message 76105
@@data#76105|1174679546.83368
6|10.128.197.120||wsweb1|orca
2007-03-23 15:52:26 startpos 1097292, fillpos 1097292, endpos -1
2007-03-23 15:52:26 RRD update param 00: 'rrdupdate'
2007-03-23 15:52:26 RRD update param 01:
'/opt/hobbit/data/rrd/wsweb1/orca.rrd'
2007-03-23 15:52:26 RRD update param 02: '-t'
2007-03-23 15:52:26 RRD update param 03:
'timestamp:locltime:uptime:stateD:state
N:staten:states:stater:statek:statec:statem:stated:statei:statet:usr:sys:wio:idl
e:1runq:5runq:15runq:proc:runque:waiting:swpque:scanrate:procs:procp5s:smtx:smtx
cpu:ncpus:mntC:mntU:mntA:mntP:mntc:mntu:mnta:mntp:mntCvar:mntUvar:mntAvar:mntPva
r:mntcvar:mntuvar:mntavar:mntpvar:mntCopt2:mntUopt2:mntAopt2:mntPopt2:mntcopt2:m
ntuopt2:mntaopt2:mntpopt2:mntCopt:mntUopt:mntAopt:mntPopt:mntcopt:mntuopt:mntaop
t:mntpopt:mntCtmp:mntUtmp:mntAtmp:mntPtmp:mntctmp:mntutmp:mntatmp:mntptmp:diskru
npc0t0d0:diskrunpc0t2d0:diskrunpc0t1d0:diskpeak:diskmean:diskrds:diskwrs:diskrKs
:diskwKs:swapavail:pagerstim:freememK:freepages:hme0Ipkts:hme0Opkts:hme0InKBs:hm
e0OuKBs:hme0IErrs:hme0OErrs:hme0Coll:hme0NoCPs:hme0Defrs:hme1Ipkts:hme1Opkts:hme
1InKBs:hme1OuKBs:hme1IErrs:hme1OErrs:hme1Coll:hme1NoCPs:hme1Defrs:tcpIsegs:tcpOs
egs:tcpInKBs:tcpOuKBs:tcpRet:tcpDup:tcpIcns:tcpOcns:tcpestb:tcpRsts:tcpAtfs:tcpL
drps:tcpLdQ0s:tcpHOdps:nfscalls:nfstimos:nfsbadxs:nfsscalls:nfssbad:v2reads:v2wr
ites:v3reads:v3writes:dnlcrefs:dnlchit:inodrefs:inodhit:inodstls:ppkernel:pagesf
ree:pageslock:pagestotl'
2007-03-23 15:52:26 RRD update param 04:
'1174679546:1174679521:15:168910:0:0:0:
0:0:0:0:0:0:0:0:0.0:0.3:0.0:99.6:0.02:0.07:0.07:50:0.00:0.00:0.00:0.000:0.000:0.
0000:0:0:1:2052750:1561658:429510:78.429:350592:51439:299153:14.672:2052750:3386
66:1652502:17.008:350592:8967:341625:2.558:5038454:3349374:1638696:67.148:638464
:57157:581307:8.952:2052750:1677582:313586:84.251:350592:23014:327578:6.564:1015
542:801907:152703:84.004:253760:2243:251517:0.884:0.01298:0.00000:0.00000:0.013:
0.004:0.0:0.2:0.0:1.6:1300072:600:300480:37560:0.000:0.000:0.000:0.000:0.000:0.0
00:0.000:0.000:0.000:0.167:0.033:0.052:0.003:0.000:0.000:0.000:0.000:0.000:0.000
:0.000:0.000:0.000:0.000:0.000:0.000:0.000:4:0.000:0.000:0.000:0.000:0.000:0.000
:0.000:0.000:0:0:0:0:0:0:0.383:100.000:0.000:100.000:0.000:9804:37560:10186:6254
3'
2007-03-23 15:52:26 RRD error updating
/opt/hobbit/data/rrd/wsweb1/orca.rrd from
10.128.197.120: not a simple integer: '0.0'
2007-03-23 15:52:26 Want msg 76106, startpos 1097292, fillpos 1097292,
endpos -1
, usedbytes=0, bufleft=1003955
2007-03-23 15:52:38 Want msg 76106, startpos 1097292, fillpos 1101388,
endpos -1
, usedbytes=4096, bufleft=999859
2007-03-23 15:52:38 hobbitd_rrd: Got message 76106
@@data#76106|1174679558.60491
4|10.130.128.230||pydev5a1|netstat
2007-03-23 15:52:38 startpos 1104619, fillpos 1104850, endpos 1104846
John Glowacki wrote:Some progress. I setup up hobbit variables ran orcahobbit from a command line and I got data in the tcpdump. An orca.rrd file is created. And I have an Orca graph on the trends page. But no data is displaying in the graph yet. John Glowacki wrote:Running tcpdump it looks like I am not getting any orca data on the hobbit server. I am seeing data from other tests. tcpdump -s 1500 -w capturefile tcp port 1984 and host hobbitclient John Sherman, Larry, GCM wrote:I think the TEST2RRD line should read "...,orca=ncv" instead of just orca. However, I've been trying to get NCV graphing to work for while now, and have not had a lot of luck. Really interested to hear how the orca works, and how you get it going. Larry -----Original Message----- From: John Glowacki [mailto:user-a1361bcdf988@xymon.invalid] Sent: Thursday, March 22, 2007 10:32 AM To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] orcahobbit On 4.2 with the latest allinone patch I am trying get it to display some orca data. Trying to start with ncv. I see the client collecting data. On the server side I don't see anything in the logs related to orca and no orca rrd file is being created. I may not be looking in the right place. Do I need to write a script go collect the data? clientlaunch.cfg: [orcadata] # DISABLED ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg CMD $HOBBITCLIENTHOME/bin/orcahobbit --orca=/var/orcallator/data/orcallator --debug LOGFILE $HOBBITCLIENTHOME/logs/hobbitclient.log INTERVAL 5m I am seeing debug data on the client in the hobbitclient.log. data wsweb1.orca timestamp:1174567564 locltime:08:46:04 uptime:56953 state_D:0 state_N:0 <snip> pagesfree:38533 pageslock:9990 pagestotl:62543 hobbitserver.cfg: TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tc p, dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind, sendmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbpr oxy, hobbitd,files,procs=processes,ports,clock,lines,slab=ncv,orca=ncv" GRAPHS="la,disk,inode,qtree,files,processes,memory,users,vmstat,iostat, tcp.http,tcp,ncv,netstat,ifstat,mrtg::1,ports,temperature,ntpstat,apache , bind,sendmail,mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobb itd,clock,lines,slab,orca" NCV_orca="pagesfree:GAUGE" hobbitgraph.cfg: [orca] TITLE Orca info YAXIS Bytes DEF:pagesfree=orca.rrd:pagesfree:AVERAGE LINE2:pagesfree#00CCCC:pagesfree COMMENT:\n GPRINT:pagesfree:LAST:Pages Free \: %5.1lf%s (cur) GPRINT:pagesfree:MAX: \: %5.1lf%s (max) GPRINT:pagesfree:MIN: \: %5.1lf%s (min) GPRINT:pagesfree:AVERAGE: \: %5.1lf%s (avg)\n hobbitlaunch.cfg: CMD hobbitd_channel --channel=status --log=$BBSERVERLOGS/rrd-status.log hobbitd_rrd --rrddir=$BBVAR/rrd --debug CMD hobbitd_channel --channel=data --log=$BBSERVERLOGS/rrd-data.log hobbitd_rrd --rrddir=$BBVAR/rrd --debug CMD hobbitd_channel --channel=client --log=$BBSERVERLOGS/clientdata.log hobbitd_client --debug ******************************************************************* • This e-mail is intended only for the addressee named above. As this e-mail may contain confidential or privileged information, if you are not the named addressee, you are not authorized to retain, read, copy or disseminate this message or any part of it. ******************************************************************* *