<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16443"></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT size=2 face=Arial><SPAN
class=304110412-08062012>Hi Ralph,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT size=2 face=Arial><SPAN
class=304110412-08062012></SPAN></FONT> </DIV>
<DIV><SPAN class=304110412-08062012><FONT size=2 face=Arial>I tried it on the la
(default CPU) graph (in various positions) and it does not work for me on Xymon
4.3.7. My rrd version is old but it does support right-axis. Can you
share the entire graphs.cfg entry you have working (or preferably using one of
the default graphs)?</FONT></SPAN></DIV>
<DIV><SPAN class=304110412-08062012><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=304110412-08062012><FONT size=2 face=Arial>I'm not quite sure
what you mean by '<FONT size=3 face="Times New Roman">To set it up as a single
line in graphs.cfg'... There's more to it than adding an axis and a
label?</FONT></FONT></SPAN></DIV><!-- Converted from text/rtf format -->
<P align=left><SPAN lang=en-gb><FONT size=2 face=Arial>Kind
regards,</FONT></SPAN> </P>
<P><SPAN lang=en-gb><SPAN class=304110412-08062012></SPAN></SPAN><FONT
face=Arial><FONT size=2>S<SPAN
class=304110412-08062012>ebA</SPAN></FONT></FONT><BR></P>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Ralph Mitchell
[mailto:ralphmitchell@gmail.com] <BR><B>Sent:</B> 07 June 2012
19:40<BR><B>To:</B> SebA<BR><B>Cc:</B> xymon@xymon.com<BR><B>Subject:</B> Re:
[Xymon] Graph right-axis in Xymon<BR></FONT><BR></DIV>
<DIV></DIV>I just tried it on a random temperature graph, and it seems to work
as two lines:
<DIV><BR></DIV>
<DIV> --right-axis</DIV>
<DIV> 10:-1000</DIV>
<DIV><BR></DIV>
<DIV>That definitely put an axis on the right side of the graph.</DIV>
<DIV><BR></DIV>
<DIV>To set it up as a single line in graphs.cfg, you'll need to do some work
on xymon-4.3.7/web/showgraph.c. Starting at line 1068, you can see
how other options work, such as --title, height, width, upperlimit &
lowerlimit. I think you'd need to add something to the gdef_t struct and
some handling in load_gdefs at line 314. Dunno what else.</DIV>
<DIV><BR></DIV>
<DIV>But that's just a wild guess... :-)</DIV>
<DIV><BR></DIV>
<DIV>Ralph Mitchell</DIV>
<DIV><BR><BR>
<DIV class=gmail_quote>On Thu, Jun 7, 2012 at 12:05 PM, SebA <SPAN
dir=ltr><<A href="mailto:spah@syntec.co.uk"
target=_blank>spah@syntec.co.uk</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>Hi,<BR><BR>Has anyone got a right-axis working in Xymon
graphs? The nearest info I can<BR>find is the post below, but I still
can't get it to work seperating<BR>--right-axis from the parameter with a
line-break. Does anyone have a<BR>working example? If I put
--right-axis in the graphs.cfg, it just does not<BR>display it.<BR><BR>Many
thanks,<BR><BR>SebA<BR><BR><BR>> -----Original Message-----<BR>> From:
David Peters [mailto:<A
href="mailto:davidp@electronf.com">davidp@electronf.com</A>]<BR>> Sent:
06 December 2009 06:49<BR>> To: <A
href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</A><BR>> Subject: RE:
[hobbit] Extra graph parameters.<BR>><BR>> Hang on a
sec....<BR>><BR>> Debugging shows that there is a special case for -l
and -u<BR>> where it picks up<BR>> two tokens on the same line (ie -l
0). The default case is that<BR>> hobbitgraph.c expects parameters to be
separated on word per line:<BR>><BR>> --right-axis<BR>>
10:-1000<BR>><BR>> Or<BR>><BR>> -c<BR>><BR>>
CANVAS:#449900<BR>><BR>><BR>> Hmmm that seems a bit
counterintuitive as it is almost like<BR>> rrdtool but not<BR>> quite,
which can be confusing.<BR>><BR>><BR>> -----Original
Message-----<BR>> From: David Peters [mailto:<A
href="mailto:davidp@electronf.com">davidp@electronf.com</A>]<BR>> Sent:
Sunday, 6 December 2009 5:11 PM<BR>> To: <A
href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</A><BR>> Subject: [hobbit]
Extra graph parameters.<BR>><BR>><BR>> I thought you could just add
extra rrdtool graph commandline<BR>> parameters to<BR>> the
hobbitgraph file for a graph section and hey presto it<BR>> would use
them.<BR>> This seems to work for some and not for others. (eg -e and -A
work)<BR>><BR>> It may be a more generic issue related to
parameter<BR>> assumptions within the<BR>> code, but anyway, I added a
some code to handle a couple of additional<BR>> directives in
hobbitgraph.cfg. (RSCALE, RFORMAT and RLABEL -<BR>> in order to
add<BR>> a different scale to the right hand y axis.)<BR>><BR>>
Should I look deeper into the code and see why --right-axis<BR>>
scale:shift,<BR>> --right-axis-format and --right-axis-label seem to
get<BR>> ignored if I add them<BR>> to
hobbitgraph.cfg.<BR>><BR>> Or should I just use the code that I now
have that uses my<BR>> Hobbit specific<BR>>
directives.<BR>><BR>> Or am I missing something entirely
altogether?<BR><BR>_______________________________________________<BR>Xymon
mailing list<BR><A href="mailto:Xymon@xymon.com">Xymon@xymon.com</A><BR><A
href="http://lists.xymon.com/mailman/listinfo/xymon"
target=_blank>http://lists.xymon.com/mailman/listinfo/xymon</A><BR></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></BODY></HTML>