[EMAIL PROTECTED] wrote:
>
> That is what I tried first. When it didn't work I thought that the
> interfaces must be hardcoded into the Java script. I guess ipsec0 just
> doesn't look like an interface to the Java script.
>
> Oh well, it would have been nice. I guess I'll have to live with MRTG.
>
> Thanks for the advice.
This IS working for me:
<PARAM NAME=DEV2_DRAW_LEGEND VALUE="1">
<PARAM NAME=DEV2_DRAW_STATUS VALUE="1">
<PARAM NAME=DEV2_DRAW_TITLE VALUE="1">
<PARAM NAME=DEV2_GRID_LINECOUNT VALUE="9">
<PARAM NAME=DEV2_LABEL VALUE="IpSec Tunnel">
<PARAM NAME=DEV2_MAX VALUE="auto">
<PARAM NAME=DEV2_MODE VALUE="doublehistogram">
<PARAM NAME=DEV2_NAME VALUE="ipsec0">
> Date: Thu, 31 Jan 2002 20:35:13 +0100
> From: Martin Hejl <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [Leaf-user] Weblet Bandwidth Monitor
>
> Hi Roger,
>
> > I have been using the bandwidth monitor in Weblet and find it quit
> useful.
> > The only problem is that it doesn't show ipsec0 for those of us doing
> VPNs.
> > I tried modifying the netmon.html code, but obviously the Java script in
> > lrpStat.jar knows nothing of ipsec0. Is there any way to get ipsec0
> > included?
> Well, I don't know anything about ipsec, but if it shows up in
> /proc/net/dev
> just like eth0 and all the other network devices (and the information gets
> updated), there's no reason why it shouldn't work.
>
> If you're using an unmodified version ov netmon.html (in /var/sh-www/)
> simply add the following after the block of definitions for DEV1 (before
> the
> </APPLET> tag):
>
> <PARAM NAME=DEV2_NAME VALUE="ipsec0">
> <PARAM NAME=DEV2_LABEL VALUE="IP-Sec">
> <PARAM NAME=DEV2_MODE VALUE="line">
> <PARAM NAME=DEV2_MAX VALUE="auto_accumulate">
> <PARAM NAME=DEV2_GRID_INTERVAL VALUE="1024">
> <PARAM NAME=DEV2_DRAW_LEGEND VALUE="1">
> <PARAM NAME=DEV2_DRAW_STATUS VALUE="1">
> <PARAM NAME=DEV2_DRAW_TITLE VALUE="1">
>
> That should do it (as I said, if ipsec0 behaves like a regular network
> interface).
>
> I hope that helps.
--
Best Regards,
mds
mds resource
888.250.3987
Dare to fix things before they break . . .
Our capacity for understanding is inversely proportional to how much we
think we know. The more I know, the more I know I don't know . . .
_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user