[hobbit] citirx user graph (sendmail graph)

Deal, Richard rdeal at tigr.org
Wed May 25 14:44:01 CEST 2005


Thanks I made that change and it looks good.
Any chance of getting the ntpstat script or having hobbit generate the ntpstat data with the built in ntp test?

I have added this entry for the sendmail monitoring:

[sendmail1]
        FNPATTERN sendmail.(.*).rrd
        TITLE Sendmail Reject/Discards
        YAXIS Messages
        DEF:p at RRDIDX@IN=@RRDFN@:msgsrej:AVERAGE
        DEF:p at RRDIDX@OUT=@RRDFN@:msgsdis:AVERAGE
        CDEF:p at RRDIDX@IN1=p at RRDIDX@IN,300,*
        CDEF:p at RRDIDX@OUT1=p at RRDIDX@OUT,300,*
        LINE1:p at RRDIDX@IN1#@COLOR@:@RRDPARAM@ REJ
        LINE2:p at RRDIDX@OUT1#@COLOR@:@RRDPARAM@ DIS
        COMMENT:\n
        GPRINT:p at RRDIDX@IN1:LAST:@RRDPARAM@ rej  %5.1lf (cur)
        GPRINT:p at RRDIDX@IN1:MAX: \: %5.1lf (max)
        GPRINT:p at RRDIDX@IN1:MIN: \: %5.1lf (min)
        GPRINT:p at RRDIDX@IN1:AVERAGE: \: %5.1lf (avg)
        COMMENT:\n
        GPRINT:p at RRDIDX@OUT1:LAST:@RRDPARAM@ dis  %5.1lf (cur)
        GPRINT:p at RRDIDX@OUT1:MAX: \: %5.1lf (max)
        GPRINT:p at RRDIDX@OUT1:MIN: \: %5.1lf (min)
        GPRINT:p at RRDIDX@OUT1:AVERAGE: \: %5.1lf (avg)\n
        COMMENT:\n


-----Original Message-----
From: Andy France [mailto:Andy at zespri.com] 
Sent: Tuesday, May 24, 2005 6:04 PM
To: hobbit at hswn.dk
Subject: Re: [hobbit] citirx user graph

henrik at hswn.dk (Henrik Stoerner) wrote on 24/05/2005 23:17:32:

> http://www.hswn.dk/~henrik/citrix.zip
> The citrix.bat file must run as a BBNT client extension - you probably
> need to change the path to the BBNT\logs directory for your setup.
> The Hobbit graphs should appear automagically.
>
> Henrik
> On Tue, May 24, 2005 at 06:46:00AM -0400, Deal, Richard wrote:
> > yes very interested, this is something we have been looking for to
> help monitor our citrix cluster and keep track of license usage.
> > Thanks
> >
> > -----Original Message-----
> > From: Henrik Storner [mailto:henrik at hswn.dk]
> > Sent: Tue 5/24/2005 5:11 AM
> > To: hobbit at hswn.dk
> > Subject: Re: [hobbit] citirx user graph
> >
> > In <CAAF27359A31D44FA9A90AF7E299C36FF59D04 at EXCHANGE.TIGR.ORG>
> "Deal, Richard" <rdeal at tigr.org> writes:
> >
> > >What script is used to generate the data for the citrix user graph
that
> > >is defined in hobbit?
> >
> > >It doesn't seem to be using the bb-citrix.pl script on deadcat.
> >
> > No, this is a custom BBNT client extension I wrote for work. It's
> > basically the output from "query session" passed through a filter
> > that counts the number of "Active" sessions and prints out "42 users
> > active" at the end of the report and sends it off to a "citrix" status
> > column in Hobbit.
> >
> > If you're interested, I can put it up for download somewhere.
> >
> > Regards,
> > Henrik
> --
> Henrik Storner

Cheers Henrik.  I was kind of wondering where that graph was going to come
from too!

Just in case any one else is interested, I have updated my hobbitgraph.cfg
entry for the citrix graph from:

[citrix]
        TITLE Citrix Users
        YAXIS # Users
        DEF:u=citrix.rrd:users:AVERAGE
        LINE2:u#FF0000:Users
        COMMENT:\n
        GPRINT:u:LAST:Current \: %5.1lf\n
        GPRINT:u:MIN:Min     \: %5.1lf\n
        GPRINT:u:AVERAGE:Average \: %5.1lf\n
        GPRINT:u:MAX:Max     \: %5.1lf\n

to:

[citrix]
        TITLE Citrix Users
        YAXIS # Users
        DEF:u=citrix.rrd:users:AVERAGE
        LINE2:u#FF0000:Users
        -l 0
        GPRINT:u:LAST: \: %5.1lf (cur)
        GPRINT:u:MAX: \: %5.1lf (max)
        GPRINT:u:MIN: \: %5.1lf (min)
        GPRINT:u:AVERAGE: \: %5.1lf (avg)\n

This makes the layout of the legend more consistent with the other graphs.

HTH,
Andy.

#####################################################################################

This email is intended for the person to whom it is addressed
only. If you are not the intended recipient, do not read, copy
or use the contents in any way. The opinions expressed may not
necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').

While every effort has been made to verify the information
contained herein, ZESPRI does not make any representations 
as to the accuracy of the information or to the performance
of any data, information or the products mentioned herein.
ZESPRI will not accept liability for any losses, damage or
consequence, however, resulting directly or indirectly from
the use of this e-mail/attachments.
#####################################################################################





More information about the Xymon mailing list