[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] strange rrd results via ncv
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] strange rrd results via ncv
- From: "Gary Baluha" <gumby3203 (at) gmail.com>
- Date: Fri, 18 Jan 2008 11:31:40 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=vXsEzbfDolJxoR7/mYwFCLahmF417BC/XWQfRxmH18c=; b=cxu6cRBsG9aAtofVscaortU1xwJdHOs7DYxycjbmCvOHWSqMO+2Yqrc9C5p3c7F88iynQH3cWJwAlVt/0mTq5sFrUN3StbKxQ3I9zA3PK9WvVG3eRbSMRHSoNOdoCq8Yum6zBbDKH9yGeIZ5v28tAdKwLnNYgnUQaP7wJvlJqps=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=KeNUc5JiZM27obaT0htkPy1CIAnkCFnnWQRURaOrQy8iZ7IsLlQv4rPsVfZAp2jkMcWb8ucsxs3TJVB3LPGOKQLxadBnGcGo9AAO5oeONRJJu+1P1+bJ/IItxHyXYl8DgmZE6j5TQpNaa6xGSmzBF5dO29zPUb0EdHqMNmfBTbg=
- References: <1A590FCC158A244B80DC7D09134B9AED0369E909 (at) svr-gbn-exc-02.mgc.mentorg.com>
I ran into the same confusion myself at one point. Remember that the values
on the RRD graph are 5 minute averaged values. So if one minute there are 2
jobs running and the next there are 3, the 2-minute average is 2.5. The
values do actually make sense when you look at the average value.
On Jan 18, 2008 10:39 AM, Whilding, Craig <
Craig_Whilding_TERM (at) relay1.mentorg.com> wrote:
> We recently rolled out a sun grid engine platform and I'm now trying to
> gather performance/usage information from it (if someone already has a
> collection of scripts this would also help me immensely).
>
>
>
> I've written a perl script that passes job queue information to hobbit
> which outputs in the following format:
>
>
>
> Running jobs : 7
>
> Queued jobs : 0
>
> Xfering jobs : 0
>
> Errorstate jobs : 0
>
>
>
> This should be ideal for ncv and I have therefore added ginfo=ncv to
> TEST2RRD in hobbitserver.cfg as well as
> NCV_qinfo="Runningjobs:GAUGE,Queuedjobs:GAUGE,Xferingjobs:GAUGE,Errorstatejobs:GAUGE"
> on its own line because this is fluctuating data and not a counter.
>
>
>
> The graph definition looks like this:
>
> [qinfo]
>
> TITLE Q Info
>
> YAXIS Jobs
>
> DEF:running=qinfo.rrd:Runningjobs:AVERAGE
>
> DEF:queued=qinfo.rrd:Queuedjobs:AVERAGE
>
> DEF:xfering=qinfo.rrd:Xferingjobs:AVERAGE
>
> DEF:errorstate=qinfo.rrd:Errorstatejobs:AVERAGE
>
> LINE2:running#0000FF:Running Jobs
>
> LINE2:queued#00CC33:Queued Jobs
>
> LINE2:xfering#FF0000:Xfering Jobs
>
> LINE2:errorstate#FFFF00:Errorstate Jobs
>
> COMMENT:\n
>
> GPRINT:running:LAST:Running jobs \: %5.1lf%s (cur)
>
> GPRINT:running:MAX: \: %5.1lf%s (max)
>
> GPRINT:running:MIN: \: %5.1lf%s (min)
>
> GPRINT:running:AVERAGE: \: %5.1lf%s (avg)\n
>
> GPRINT:queued:LAST:Queued jobs \: %5.1lf%s (cur)
>
> GPRINT:queued:MAX: \: %5.1lf%s (max)
>
> GPRINT:queued:MIN: \: %5.1lf%s (min)
>
> GPRINT:queued:AVERAGE: \: %5.1lf%s (avg)\n
>
> GPRINT:xfering:LAST:Xfering jobs \: %5.1lf%s (cur)
>
> GPRINT:xfering:MAX: \: %5.1lf%s (max)
>
> GPRINT:xfering:MIN: \: %5.1lf%s (min)
>
> GPRINT:xfering:AVERAGE: \: %5.1lf%s (avg)\n
>
> GPRINT:errorstate:LAST:Errorstate jobs \: %5.1lf%s (cur)
>
> GPRINT:errorstate:MAX: \: %5.1lf%s (max)
>
> GPRINT:errorstate:MIN: \: %5.1lf%s (min)
>
> GPRINT:errorstate:AVERAGE: \: %5.1lf%s (avg)\n
>
>
>
>
>
> As you can see from the attached graph there are some rather strange
> results coming out and the rrd file contains values such as 3.9/4.8 when
> you really can't have .x of a job and the output from the script only ever
> shows whole numbers as it should.
>
>
>
> Thanks for any help with what's going wrong.
>
>
>
>
>
> Regards,
>
> Craig Whilding
>
> IT Systems Contractor
>
> Mentor Graphics
>
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>