jablonka.czprosek.czf

weathermap

Subversion Repositories:
[/] [docs/] [example/] [example.conf] - Blame information for rev 85

 

Line No. Rev Author Line
11simandl#
2# some initial comments...
3#
4# This sample configuration file demonstrates most of the basic features of
5# PHP Weathermap, along with some of the cosmetic and layout changes possible
6#
7# NOTE: to use this file as it stands, you need to keep it together with
8# the relevant font, background and icon image files.
9 
10 
11BACKGROUND background.png
12HTMLOUTPUTFILE example.html
13IMAGEOUTPUTFILE example.png
14TITLE Network Overview
15HTMLSTYLE overlib
16KEYPOS 10 400
17 
18# define some new TrueType fonts - built-in ones go from 1 to 5, so start high
19FONTDEFINE 100 VeraIt 8
20FONTDEFINE 101 Vera 12
21FONTDEFINE 102 Vera 9
22 
23KEYFONT 102
24 
25LINK DEFAULT
26 BANDWIDTH 100M
27 BWLABEL bits
28 BWFONT 100
29 OVERLIBWIDTH 395
30 OVERLIBHEIGHT 153
31 WIDTH 4
32 
33NODE DEFAULT
34 LABELFONT 101
35 
36NODE transit
37 POSITION 400 180
38 LABEL TRANSIT
39 
40# a little splash of background colour for these nodes
41NODE isp1
42 POSITION 250 100
43 LABEL ISP1
44 INFOURL http://www.isp1.com/support/lookingglass.html
45 LABELBGCOLOR 255 224 224
46 
47NODE isp2
48 POSITION 550 100
49 LABEL ISP2
50 INFOURL http://www.isp2.net/portal/
51 LABELBGCOLOR 224 255 224
52 
53NODE core
54 POSITION 400 300
55 LABEL core
56 INFOURL https://core.mynet.net/admin/
57 
58NODE customer1
59 LABEL xy.com
60 POSITION 150 370
61 
62NODE customer2
63 LABEL ww.co.uk
64 POSITION 250 450
65 
66NODE infra
67 LABEL INFRASTRUCTURE
68 POSITION 450 450
69 
70# this node has an icon, and so we push the label to the South edge of it, so it
71# can still be read
72NODE sync
73 LABEL Sync
74 ICON my_router.png
75 LABELOFFSET S
76 LABELFONT 2
77 POSITION 550 370
78# the icon is taken from a Nagios icon pack:
79# http://www.nagiosexchange.org/Image_Packs.75.0.html?&tx_netnagext_pi1[p_view]=110&tx_netnagext_pi1[page]=10%3A10
80 
81NODE site1
82 LABEL site1
83 POSITION 700 220
84 
85NODE site2
86 LABEL site2
87 POSITION 750 420
88 
89LINK sync-core
90 NODES sync core
91 TARGET data/sync_traffic_in_259.rrd
92 OVERLIBGRAPH http://support.mynet.net/cacti/graph_image.php?local_graph_id=256&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
93 INFOURL http://support.mynet.net/cacti/graph.php?rra_id=all&local_graph_id=256
94#
95# Site1 has two E1s, so we use NODE-offsets to allow them to run parallel
96#
97 
98LINK sync-site1a
99 NODES sync:N site1:W
100 WIDTH 3
101 TARGET data/sync_traffic_in_257.rrd
102 BANDWIDTH 2M
103 OVERLIBGRAPH http://support.mynet.net/cacti/graph_image.php?local_graph_id=254&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=
104 INFOURL http://support.mynet.net/cacti/graph.php?rra_id=all&local_graph_id=126
105 
106LINK sync-site1b
107 NODES sync:E site1:SE
108 WIDTH 3
109 OVERLIBGRAPH http://support.mynet.net/cacti/graph_image.php?local_graph_id=255&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=
110 TARGET data/sync_traffic_in_258.rrd
111 BANDWIDTH 2M
112 INFOURL http://support.mynet.net/cacti/graph.php?rra_id=all&local_graph_id=56
113 
114#
115# site2 also has two links, but this time we use the VIA to curve the links
116#
117LINK sync-site2a
118 NODES sync site2
119 WIDTH 3
120 VIA 650 380
121 TARGET data/sync_traffic_in_251.rrd
122 OVERLIBGRAPH http://support.mynet.net/cacti/graph_image.php?local_graph_id=248&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
123 BANDWIDTH 1M
124 INFOURL http://support.mynet.net/cacti/graph.php?rra_id=all&local_graph_id=252
125 
126LINK sync-site2b
127 NODES sync site2
128 WIDTH 3
129 VIA 650 420
130 TARGET data/sync_traffic_in_252.rrd
131 OVERLIBGRAPH http://support.mynet.net/cacti/graph_image.php?local_graph_id=228&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
132 BANDWIDTH 1M
133 INFOURL http://support.mynet.net/cacti/graph.php?rra_id=all&local_graph_id=561
134 
135#
136# ISP 1 has a several links, again, but they prefer to see one arrow, and the aggregate bandwidth
137# so we use multiple TARGETs on one line, here, to sum the data
138 
139LINK transit-isp1
140 NODES transit isp1
141 TARGET data/trans1_traffic_in_352.rrd data/trans1_traffic_in_378.rrd data/trans1_traffic_in_420.rrd
142 BANDWIDTH 10M
143 OVERLIBGRAPH http://support.mynet.net/cacti/graph_image.php?local_graph_id=355&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=
144 INFOURL http://support.mynet.net/cacti/graph.php?rra_id=all&local_graph_id=633
145 
146LINK transit-isp2
147 NODES transit isp2
148 TARGET data/trans1_traffic_in_438.rrd
149 BANDWIDTH 34M
150 OVERLIBGRAPH http://support.mynet.net/cacti/graph_image.php?local_graph_id=433&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
151 INFOURL http://support.mynet.net/cacti/graph.php?rra_id=all&local_graph_id=265
152 
153LINK core-transit
154 NODES transit core
155 TARGET data/trans1_traffic_in_350.rrd
156 ARROWSTYLE compact
157 WIDTH 4
158 OVERLIBGRAPH http://support.mynet.net/cacti/graph_image.php?local_graph_id=347&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
159 INFOURL http://support.mynet.net/cacti/graph.php?rra_id=all&local_graph_id=122
160 
161LINK cust1-core
162 NODES customer1 core
163 TARGET data/extreme_traffic_in_299.rrd
164 OVERLIBGRAPH http://support.mynet.net/cacti/graph_image.php?local_graph_id=296&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
165 INFOURL http://support.mynet.net/cacti/graph.php?rra_id=all&local_graph_id=237
166 
167LINK cust2-core
168 NODES customer2 core
169 TARGET data/extreme_traffic_in_286.rrd
170 OVERLIBGRAPH http://support.mynet.net/cacti/graph_image.php?local_graph_id=283&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
171 INFOURL http://support.mynet.net/cacti/graph.php?rra_id=all&local_graph_id=222
172 
173LINK infra-core
174 NODES infra core
175 TARGET data/extreme_traffic_in_294.rrd
176 OVERLIBGRAPH http://support.mynet.net/cacti/graph_image.php?local_graph_id=291&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
177 INFOURL http://support.mynet.net/cacti/graph.php?rra_id=all&local_graph_id=228

Powered by WebSVN 2.2.1