I'm doing exactly that with a cpu temperature graph, feeding in constant values for HOT and CRIT.  If you don't want to store the extra data, you can also add this to the graph definition:<div><br></div><div>             LINE2:600#FF0000:Licenses</div>
<div><br></div><div>to get a constant 600 value in the graph instead of using a variable.  The disadvantage of this would be that if you change the value it changes for all graphs regardless of the age of the data.  If the licence limit is stored in the rrd a graph of older data will display the older limit.</div>
<div><br></div><div>Ralph Mitchell</div><div><br></div><div><br><div class="gmail_quote">On Thu, Jun 10, 2010 at 1:18 PM, Nelis, W.J.M. <span dir="ltr"><<a href="mailto:nelis@nlr.nl">nelis@nlr.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">It seems as if the type of de dataset sslvpn is DERIVE in stead of GAUGE, causing the difference between successive measurements divided by 300 to be stored. It would explain both the low (absolute) values and the negative values. If tis is the case, you need to change NCV_sslvpn, remove the RRD and restart the xymon deamon.<br>

<br>
As for the maximum value: you could send a second value from your script specifying the amount of licenses. If it ever changes, you only have to change your client script, and the maximum in the graph will be adjusted accordingly. The script could also issue a warning if almost all licenses are in use.<br>

<br>
Regards,<br>
  Wim Nelis.<br>
<br>
________________________________________<br>
Van: d.tom.schmitt@L-3com.com [d.tom.schmitt@L-3com.com]<br>
Verzonden: donderdag 10 juni 2010 18:28<br>
Aan: <a href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</a><br>
CC: Tim McCloskey<br>
Onderwerp: [hobbit] TS - RRD Graph incorrect<br>
<div class="im"><br>
I am trying to graph the number of users on our Juniper SSL-VPN.<br>
I am sending the value pairs as:   sslvpn : 227  ,etc.<br>
<br>
I am having a problem with the graph definition:<br>
[sslvpn]<br>
                 TITLE Count of Juniper Users<br>
                 YAXIS Users<br>
                 DEF:in=sslvpn.rrd:sslvpn:AVERAGE<br>
                AREA:in#00CC00:Number of Current Users<br>
                 COMMENT:    Licensed for 600 users\n<br>
                GPRINT:in:LAST:Cur\: %6.2lf %s<br>
                GPRINT:in:MAX: Max\: %6.2lf %s<br>
                GPRINT:in:MIN: Min\: %6.1lf %s<br>
                GPRINT:in:AVERAGE:Avg\: %6.2lf %s\n<br>
<br>
The Graph has a bad YAXIS.<br>
I need it to show the number of users and if possible a line in RED showing 600 as this is the License limit.<br>
<br>
</div>                [cid:image003.jpg@01CB0888.14F02CD0]<br>
<div class="im"><br>
I need assistance in getting the YAXIS values to be a number from zero(0) on up.<br>
Is it possible to also place a static line at the 600 value across the graph?<br>
<br>
Thanks,<br>
<br>
Tom Schmitt<br>
Senior IT Staff - R&D<br>
L-3 Communication Systems West<br>
640 North 2200 West<br>
P.O. Box 16850<br>
Salt Lake City, UT  84116<br>
Phone (801) 594-3030<br>
Cell      (801) 231-7230<br>
eFax    (413) 480-6873<br>
D.Tom.Schmitt@L-3Com.com<br>
           \\\\||////<br>
             \ ~  ~ /<br>
             | @  @ |<br>
--oOo---(_)---oOo--<br>
<br>
<br>
<br>
</div>*******************************************************************************************************<br>
The NLR disclaimer (<a href="http://www.nlr.nl/emaildisclaimer" target="_blank">http://www.nlr.nl/emaildisclaimer</a>) is valid for NLR e-mail messages.<br>
*******************************************************************************************************<br>
<div><div></div><div class="h5"><br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
<a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
<br>
<br>
</div></div></blockquote></div><br></div>