/[cricket]/aphtml/Defaults
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /aphtml/Defaults

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Sat Aug 9 21:37:01 2003 UTC (15 years, 10 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
added module to parse html output from TrendNet AP and draw packet count

1 #
2 Target --default--
3 directory-desc = "802.11 status from AP"
4 short-desc = "packet stats"
5 target-type = aphtml
6
7 # change this for your configuration
8 parse-script = "/data/cricket/parse_aphtml.pl"
9
10 ap_url = https://192.168.95.254:8443/Status.htm
11 ap_user = admin
12 ap_pass = "xxxx"
13
14 datasource --default--
15 #rrd-heartbeat = 1800
16 rrd-ds-type = COUNTER
17
18 targetType aphtml
19 ds = "lan-send, lan-rcv, wifi-send, wifi-rcv"
20 view = "LAN: lan-send lan-rcv,
21 WiFi: wifi-send wifi-rcv"
22
23 datasource lan-send ds-source = "exec:0:%parse-script% %ap_url% %ap_user% %ap_pass%"
24 datasource lan-rcv ds-source = "exec:1:%parse-script% %ap_url% %ap_user% %ap_pass%"
25 datasource wifi-send ds-source = "exec:2:%parse-script% %ap_url% %ap_user% %ap_pass%"
26 datasource wifi-rcv ds-source = "exec:3:%parse-script% %ap_url% %ap_user% %ap_pass%"
27
28 graph lan-send
29 draw-as = LINE1
30 y-axis = "packets"
31 legend = "packets transmited to LAN"
32 units = "packets"
33
34 graph lan-rcv
35 draw-as = AREA
36 y-axis = "packets"
37 legend = "packets received from LAN"
38 units = "packets"
39
40 graph wifi-send
41 draw-as = LINE1
42 y-axis = "packets"
43 legend = "packets transmit to wireless"
44 units = "packets"
45
46 graph wifi-rcv
47 draw-as = AREA
48 y-axis = "packets"
49 legend = "packets received from wireless"
50 units = "packets"
51
52 # target file e.g.:
53 #
54 #target wifigw
55 # display-name = "AP for wifi"
56 # target-type = aphtml
57 # ap_url = "https://192.168.95.254:8443/Status.htm"
58 # ap_user = "admin"
59 # ap_pass = "yyyyy"

  ViewVC Help
Powered by ViewVC 1.1.26