Custom RRD graphs
Ok, I found the issue. Though I've written dozens of bb clients, I've never come across exactly how BB expects the information. This might be hobbit specific however. In my original email, I stated I was sending the data from my script like: home/monitor/bb/bin/bb 1.2.3.4 "status iron1-mgmt.Memoryutil green Memoryutil : 11" This is not the correct way to do this hobbit-wise. You need to put a \n in between the color status and the data you're pushing via ncv. That is: home/monitor/bb/bin/bb 1.2.3.4 "status iron1-mgmt.Memoryutil green\nMemoryutil : 11" Perhaps it's just my interpretation, but I think we should reword the documentation to explicitly say we do not need to do any --extra-script or --extra-tests if one is using ncv. Finally, I perused a lot of the man pages and code for the past few hours, and only found one error - and that was a spelling error. In ~hobbit/server/etc/hobbitgraph.cfg, temperature is misspelled: # comment out the [tempeature] section above, and I'm now using ncv for collecting 8 datapoints and it appears to collect and graph data flawlessly. Thanks for the solid implementation Henrik. -Dan On 11/11/05, Dan Vande More <user-f3c4c62d9d50@xymon.invalid> wrote:
Sorry for the hasty followup, but does anyone have any advice? Thanks On 11/10/05, Dan Vande More <user-f3c4c62d9d50@xymon.invalid> wrote:Hello All, I've read every post on the list, but still cannot figure out why I can't get rrds to appear. I've written a custom script that does something like: /home/monitor/bb/bin/bb 1.2.3.4 "status iron1-mgmt.Memoryutil green Memoryutil : 11" On 1.2.3.4 (server), my hobbitserver.cfg has this: TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sendmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,Memoryutil=ncv" The reason the test is memoryutil is because it's memory utilization gotta via snmp for an ironport device. My interpretation of the hobbitd_rrd.8 page, and this post: http://www.hswn.dk/hobbiton/2005/06/msg00261.html gives me reason to believe that I don't have to do anything but have a script pass bb a "$test (=|:) value" value, and tell TEST2RRD "$test=ncv", and I'd be graphing in no time. However, my ~hobbit/rrd/$hostname/ still doesn't have a $test.rrd. Am I missing something? Doing something wrong? Assuming some things I shouldn't be? Anyone have the ncv stuff working? Thanks Dan