I don't have a working example handy where I could do a screenshot, but on my system at work I just modified the [la] entry with extra lines like this:<div><br></div><div><div>        AREA:la#00CC00:CPU Load Average</div>
<div>        -u 1.0</div><div>        --right-axis</div><div>        1:0</div><div>        --right-axis-label</div><div>        Load</div><div>        GPRINT:la:LAST: \: %5.1lf (cur)</div></div><div><br></div><div>and that gives me markers and a label on the right axis of the cpu graphs.</div>
<div><br></div><div>What I meant by "set it up as a single line" was to make it look similar the -u & -l options:</div><div><br></div><div>        --right-axis 1:0</div><div>        --right-axis-label Load</div>
<div><br></div><div>That will require some code additions, as noted in my earlier email.</div><div><br></div><div>This is working in SLES11, with rrdtool-1.3.7</div><div><br></div><div>Ralph Mitchell</div><div><br><div class="gmail_quote">
On Fri, Jun 8, 2012 at 8:12 AM, SebA <span dir="ltr"><<a href="mailto:spah@syntec.co.uk" target="_blank">spah@syntec.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>



<div>
<div dir="ltr" align="left"><font face="Arial"><span>Hi Ralph,</span></font></div>
<div dir="ltr" align="left"><font face="Arial"><span></span></font> </div>
<div><span><font 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><font face="Arial"></font></span> </div>
<div><span><font 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>
<p align="left"><span lang="en-gb"><font face="Arial">Kind 
regards,</font></span> </p>
<p><span lang="en-gb"><span></span></span><font face="Arial"><font>S<span>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" align="left">
  <hr>
  <font face="Tahoma"><b>From:</b> Ralph Mitchell 
  [mailto:<a href="mailto:ralphmitchell@gmail.com" target="_blank">ralphmitchell@gmail.com</a>] <br><b>Sent:</b> 07 June 2012 
  19:40<br><b>To:</b> SebA<br><b>Cc:</b> <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br><b>Subject:</b> Re: 
  [Xymon] Graph right-axis in Xymon<br></font><br></div><div><div class="h5">
  <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" target="_blank">davidp@electronf.com</a>]<br>> Sent: 
    06 December 2009 06:49<br>> To: <a href="mailto:hobbit@hswn.dk" target="_blank">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" target="_blank">davidp@electronf.com</a>]<br>> Sent: 
    Sunday, 6 December 2009 5:11 PM<br>> To: <a href="mailto:hobbit@hswn.dk" target="_blank">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" target="_blank">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></div></div></blockquote></div>
</blockquote></div><br></div>