Xymon Mailing List Archive search

graph with secondary ordinate

list Martin Flemming
Fri, 8 Aug 2014 09:27:40 +0200 (CEST)
Message-Id: <user-f471b38403b4@xymon.invalid>

On Fri, 8 Aug 2014, user-ce4a2c883f75@xymon.invalid wrote:
Den 2014-08-01 08:36, Martin Flemming skrev:
Hi !

I know, it's more a rrd-question, but how could i
implement a second ordinate on the right side of the graph
The Xymon site has one such graph - the "ups" graph on the blixen.hswn.dk 
server. see this: 
https://www.xymon.com/xymon-cgi/svcstatus.sh?HOST=blixen.hswn.dk&SERVICE=ups

The graph definition is at https://www.xymon.com/xymon-cgi/viewconf.sh?graph 
(scroll to the bottom).

As I recall, it did require a small patch to the xymongraph code, really due 
to a bug in the rrd API interface. I'll see if I can dig it up later today. 
One thing that does not work, though, is the zoom funtion.

Regards,
Henrik
Hi, Henrik !

Thanks for quick response and a possible solution,
it's not very urgent but good to know that it's possible and in near future to use :-)

thanks a lot & cheers,

 	martin

e.g.
the values of my Check are

Waiting: 6369
Running: 4114
Available: 5788
Slot Usage: 71.0780926053905 %


and i want to have on the right side the Slot-Usage with percent

my graph definition looks like

[sges]
TITLE BIRD JOBS
YAXIS Jobs
DEF:running=sges.rrd:Running:AVERAGE
LINE2:running#FFCCCC:Number of running 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


DEF:available=sges.rrd:Available:AVERAGE
LINE2:available#000099:Number of available Slots
COMMENT:\n
GPRINT:available:LAST:available Slots \: %5.1lf%s (cur)
GPRINT:available:MAX: \: %5.1lf%s (max)
GPRINT:available:MIN: \: %5.1lf%s (min)
GPRINT:available:AVERAGE: \: %5.1lf%s (avg)\n

DEF:usage=sges.rrd:SlotUsage:AVERAGE
LINE2:usage#8C1717:Usage in %
COMMENT:\n
GPRINT:usage:LAST:Usage  \: %5.1lf%s (cur)
GPRINT:usage:MAX: \: %5.1lf%s (max)
GPRINT:usage:MIN: \: %5.1lf%s (min)
GPRINT:usage:AVERAGE: \: %5.1lf%s (avg)\n

Thanks & cheers

	martin