[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help - NCV graph issue
- To: hobbit (at) hswn.dk
- Subject: Help - NCV graph issue
- From: Charles Jones <jonescr (at) cisco.com>
- Date: Fri, 29 Jun 2007 12:35:20 -0700
- Authentication-results: sj-dkim-3; header.From=jonescr (at) cisco.com; dkim=pass ( sig from cisco.com/sjdkim3002 verified; );
- Dkim-signature: v=0.5; a=rsa-sha256; q=dns/txt; l=2607; t=1183145724; x=1184009724; c=relaxed/simple; s=sjdkim3002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=jonescr (at) cisco.com; z=From:=20Charles=20Jones=20<jonescr (at) cisco.com> |Subject:=20Help=20-=20NCV=20graph=20issue |Sender:=20; bh=uMdqC+4bTEyd1QuGAzMPN2YAoCzPoxb/ivnZvBbLffg=; b=Hyj4gvJLUMXwAJRn/Ii4UznQ3CQRyajSuSsck96sHTwh7VvDYsjYkGwRp910lJ5BdM6AudQd nG6nfolDNF6zq7St/Fg7S0AOWVCkybSMRISCqpYPWjv1DUwnM+klkwJA;
- Organization: Cisco Systems
- User-agent: Thunderbird 2.0.0.0 (X11/20070419)
I'm having problems getting some particular NCV graphs to display (I get
missing graph link) . I have successfully added other NCV graphs, and I
thought I knew what I was doing, but alas I am stuck and cannot figure
out what I've done wrong. I'm hoping that Henrik or anyone can see what
I'm doing wrong.
What I've checked so far:
* Script is properly sending data message to Hobbit
* Hobbit is receiving the data and creating RRD files
* The RRD files are being updated
* proper? definitions in TEST2RRD
* proper? definition in hobbitgraph.cfg, using correct rrd filename and
ds name
I have a server-side script that collects database connection stats for
Tomcat processes (5 seperate processes per server). The collector script
is working fine, and I verified that rrd files are being created and
populated. The DS is "dbconn":
extt$ ~/local/bin/rrdtool dump ../../data/rrd/host1/tc_1_1-dbconn.rrd
|grep name
<name> dbconn </name>
data is definitely going into the rrd file(s):
ext$ ~/local/bin/rrdtool dump ../../data/rrd/host/tc_1_1-dbconn.rrd
|grep row |grep -v NaN
<!-- 2007-06-29 19:05:00 GMT / 1183143900 -->
<row><v> 2.0000000000e+00 </v></row>
<!-- 2007-06-29 19:10:00 GMT / 1183144200 -->
<row><v> 2.0000000000e+00 </v></row>
<!-- 2007-06-29 19:15:00 GMT / 1183144500 -->
<row><v> 2.6633333333e+00 </v></row>
<!-- 2007-06-29 19:20:00 GMT / 1183144800 -->
<row><v> 3.6533333333e+00 </v></row>
<!-- 2007-06-29 19:25:00 GMT / 1183145100 -->
<row><v> 5.2866666667e+00 </v></row>
Here is the test definition I am using in hobbitgraph.cfg:
[tc_1_1-dbconn]
TITLE Tomcat Database Connections
YAXIS #
DEF:dbconn=tc_1_1-dbconn.rrd:dbconn:AVERAGE
LINE2:dbconn#00CCCC:database connections
COMMENT:(5 Minute Combined Avg)\n
GPRINT:modjk:LAST: \: %5.6lf (cur)
GPRINT:modjk:MAX: \: %5.6lf (max)
here is the relavant additions I made to the TEST2RRD section of
hobbitserver.cfg:
TEST2RRD="<hobbit default
settings>,tc_1_1-dbconn=ncv,tc_1_2-dbconn=ncv,tc_1_3-dbconn=ncv,tc_1_4-dbconn=ncv,tc_1_5-dbconn=ncv,tc_2_1-dbconn=ncv,tc_2_2-dbconn=ncv,tc_2_3-dbconn=ncv,tc_2_4-dbconn=ncv,tc_2_5-dbconn=ncv,tc_3_1-dbconn=ncv,tc_3_2-dbconn=ncv,tc_3_3-dbconn=ncv,tc_3_4-dbconn=ncv,tc_3_5-dbconn=ncv"
Once I can get this single graph working, I plan on creating a
definition that will display all of the dbconn data in one graph (per host).
-Charles