Xymon Mailing List Archive search

mysql connections

list Sabeer MZ
Fri, 2 Mar 2007 16:18:16 +0530
Message-Id: <user-213cc0da905e@xymon.invalid>

Hi all,

Thanks. Finally i am able to run the perl script and getting the results in
the hobbit server.

one issue: my graphs are not coming. pls find below rrd-staus.log error
details ...

2007-03-02 02:28:24 RRD error updating
/home/hobbit/data/rrd/tor.abc.com/mysql.rrd from 64.88.160.214: not a simple
integer: '0.024'
2007-03-02 02:32:51 RRD error updating
/home/hobbit/data/rrd/jacc3.zbc.com/mysql.rrd from 147.183.128.102: not a
simple integer: '13.910'
2007-03-02 02:38:25 RRD error updating
/home/hobbit/data/rrd/abc.example.com/mysql.rrd from 64.88.160.214: not a
simple integer: '0.024'
2007-03-02 02:42:53 RRD error updating
/home/hobbit/data/rrd/abc.exam.com/mysql.rrd from 147.183.128.102: not a
simple integer: '13.908'

Thanks
Sabeer MZ

On 3/1/07, Dominique Frise <user-78ab6673b600@xymon.invalid> wrote:
Sabeer MZ wrote:
Hi all,

cloud anyone help me why there is no graphs showing for me.
I am trying to monitor mysql connections using bb-mysql.pl.


1. /etc/bb-hosts
hostname TRENDS:*,mysql:mysqlslow,mysqlthread

2. 3 entries for user-bbd62860565a@xymon.invalid

TEST2RRD="cpu=la,disk,------cut--------,ports,clock,lines",mysql=ncv"

GRAPHS="la,mysql,disk,-------cut-------clock,lines"

NCV_mysql="Uptime:NONE,Queriespersecondavg:GAUGE,Slowqueries:GAUGE"

3. my hobbitgraph.cfg

[mysqlslow]
        DEF:slow=mysql.rrd:Slowqueries:AVERAGE
        TITLE MySQL Slow Queries
        YAXIS #
        LINE2:slow#00CCCC:Slow Queries
        COMMENT:\n
        GPRINT:slow:LAST: \: %5.1lf (cur)
        GPRINT:slow:MAX: \: %5.1lf (max)
        GPRINT:slow:MIN: \: %5.1lf (min)
        GPRINT:slow:AVERAGE: \: %5.1lf (avg)\n

[mysqlthread]
        DEF:threads= mysql.rrd:Threads:AVERAGE
        TITLE MySQL Active Threads
        YAXIS #
        AREA:threads#00CCCC:Threads
        COMMENT:\n
        GPRINT:threads:LAST: \: %5.1lf (cur)
        GPRINT:threads:MAX: \: %5.1lf (max)
        GPRINT:threads:MIN: \: %5.1lf (min)
        GPRINT:threads:AVERAGE: \: %5.1lf (avg)\n


--
Warm Regards
Sabeer MZ
Double-check your settings using the documentation from your Hobbit
installation at
http|https://$BBSERVERWWWNAME/$BBSERVERWWWURL/help/howtograph.html

or use Henrik's:

http://www.hswn.dk/hobbit/help/howtograph.html


Dominique
UNIL - University of Lausanne

-- 
Warm Regards
Sabeer MZ