[mrtg] VPN/ 14all.cgi issues
Christopher Poetzel
cpoetzel at achilles.ctd.anl.gov
Thu Aug 2 18:36:15 MEST 2001
hello all,
About a week ago we started a discussion about VPN (specifically Cisco
3000 series) mibs. I got a few responses of people who wanted a sample
config when i got one working. I am still planning on doing this but have
hit a snag.
When thinking about the values i would want to graph,
Number of Active Sessions (Remote, Admin, and Lan -to -Lan)
Number of Remote Sessions
Max Session Count
CPU (Gauge: instaneous counter, no avgbusy5 available)
Active Sessions Gauge ( 0-100% session utilization)
Throughput Gauge (0-100% sessoin utlization)
The values would only be meaningfull in the gauge option sense.
I do not want to divide the active number of sessions by 300 for
example to come up with the active sessions per sec.
When i snmpget for the values above they return the correct values.
I checked them against what the vpn says. They are not the problem.
The graph generation or config is the problem.
So i set up a conifg like so
Target[X.X.X.X_RmtSessions2]: 1.3.6.1.4.1.3076.2.1.2.17.1.9.0&1.3.6.1.4.1.3076.2.1.2.17.1.9.0:public at X.X.X.X:
Options[X.X.X.X_RmtSessions2]: gauge, growright, bits, nopercent
MaxBytes[X.X.X.X_RmtSessions2]: 5000
Title[X.X.X.X_RmtSessions2]: Remote Active Sessions for VPN
PageTop[X.X.X.X_RmtSessions2]: Remote Active Sessions for VPN
<TABLE>
<TR><TD>System:</TD> <TD>ANLVPN in Building 221 D130</TD></TR>
<TR><TD>Maintainer:</TD> <TD>ECT Networking </TD></TR>
</TABLE>
ShortLegend[X.X.X.X_RmtSessions2]: Rmt Sess
YLegend[X.X.X.X_RmtSessions2]: Remote Sessions
Legend1[X.X.X.X_RmtSessions2]: Remote Sessions
Legend2[X.X.X.X_RmtSessions2]:
Legend3[X.X.X.X_RmtSessions2]:
Legend4[X.X.X.X_RmtSessions2]:
Colours[X.X.X.X_RmtSessions2]: GREEN#00eb0c, BLUE#1000ff, DARKGREEN#006600, MAGENTA#ff00ff
LegendI[X.X.X.X_RmtSessions2]: Remote Sess:
LegendO[X.X.X.X_RmtSessions2]: Remote Sess:
the rmtsessions oid string returns a value between 0-7. Our vpn is still
in the test stage and has never had more than 7 people on it at once.
however in my graphs i have seen values range from 5 - 60 which are
just plain wrong.
when i run an rrdtool info on the rrd file i get
filename = "10.10.221.9_rmtsessions2.rrd"
rrd_version = "0001"
step = 300
last_update = 996769862
ds[ds0].type = "GAUGE"
ds[ds0].minimal_heartbeat = 600
ds[ds0].min = 0.0000000000e+00
ds[ds0].max = 5.0000000000e+03
ds[ds0].last_ds = "UNKN"
ds[ds0].value = 6.2000000000e+01
ds[ds0].unknown_sec = 0
ds[ds1].type = "GAUGE"
ds[ds1].minimal_heartbeat = 600
ds[ds1].min = 0.0000000000e+00
ds[ds1].max = 5.0000000000e+03
ds[ds1].last_ds = "UNKN"
ds[ds1].value = 6.2000000000e+01
ds[ds1].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[0].cdp_prep[1].value = NaN
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 700
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = NaN
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[1].cdp_prep[1].value = NaN
rra[1].cdp_prep[1].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 775
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 1.0401606426e+00
rra[2].cdp_prep[0].unknown_datapoints = 5
rra[2].cdp_prep[1].value = 1.0401606426e+00
rra[2].cdp_prep[1].unknown_datapoints = 5
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 1.0401606426e+00
rra[3].cdp_prep[0].unknown_datapoints = 197
rra[3].cdp_prep[1].value = 1.0401606426e+00
rra[3].cdp_prep[1].unknown_datapoints = 197
A question is does 14all.cgi recognize the 'gauge' option?
Anyone thoughts are appreciated and when i get this working
i will send out a vpn.cfg to the list.
14all.cgi 1.15, MRTG 2.9.16, RRD 1.0.33
thanks,
chris poetzel
cpoetzel at anl.gov
argonne national lab
CCNA
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list