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