![]() ![]() |
weathermap |
Subversion Repositories: |
Compare with Previous - Blame - Download
## some initial comments...## This sample configuration file demonstrates most of the basic features of# PHP Weathermap, along with some of the cosmetic and layout changes possible## NOTE: to use this file as it stands, you need to keep it together with# the relevant font, background and icon image files.BACKGROUND background.pngHTMLOUTPUTFILE example.htmlIMAGEOUTPUTFILE example.pngTITLE Network OverviewHTMLSTYLE overlibKEYPOS 10 400# define some new TrueType fonts - built-in ones go from 1 to 5, so start highFONTDEFINE 100 VeraIt 8FONTDEFINE 101 Vera 12FONTDEFINE 102 Vera 9KEYFONT 102LINK DEFAULTBANDWIDTH 100MBWLABEL bitsBWFONT 100INFOURL graph_page.htmlOVERLIBGRAPH graph_image.pngOVERLIBWIDTH 395OVERLIBHEIGHT 153WIDTH 4NODE DEFAULTLABELFONT 101INFOURL graph_page.htmlNODE transitPOSITION 400 180LABEL TRANSIT# a little splash of background colour for these nodesNODE isp1POSITION 250 100LABEL ISP1INFOURL http://www.isp1.com/support/lookingglass.htmlINFOURL graph_page.htmlLABELBGCOLOR 255 224 224NODE isp2POSITION 550 100LABEL ISP2INFOURL http://www.isp2.net/portal/INFOURL graph_page.htmlLABELBGCOLOR 224 255 224NODE corePOSITION 400 300LABEL coreINFOURL https://core.mynet.net/admin/INFOURL graph_page.htmlNODE customer1LABEL xy.comPOSITION 150 370NODE customer2LABEL ww.co.ukPOSITION 250 450NODE infraLABEL INFRASTRUCTUREPOSITION 450 450# this node has an icon, and so we push the label to the South edge of it, so it# can still be readNODE syncLABEL SyncICON my_router.pngLABELOFFSET SLABELFONT 2POSITION 550 370# the icon is taken from a Nagios icon pack:# http://www.nagiosexchange.org/Image_Packs.75.0.html?&tx_netnagext_pi1[p_view]=110&tx_netnagext_pi1[page]=10%3A10NODE site1LABEL site1POSITION 700 220NODE site2LABEL site2POSITION 750 420LINK sync-coreNODES sync coreTARGET data/sync_traffic_in_259.rrd_OVERLIBGRAPH http://support.mynet.net/cacti/graph_image.php?local_graph_id=256&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300INFOURL http://support.mynet.net/cacti/graph.php?rra_id=all&local_graph_id=256INFOURL graph_page.html## Site1 has two E1s, so we use NODE-offsets to allow them to run parallel#LINK sync-site1aNODES sync:N site1:WWIDTH 3TARGET data/sync_traffic_in_257.rrdBANDWIDTH 2M_OVERLIBGRAPH http://support.mynet.net/cacti/graph_image.php?local_graph_id=254&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=INFOURL http://support.mynet.net/cacti/graph.php?rra_id=all&local_graph_id=126INFOURL graph_page.htmlLINK sync-site1bNODES sync:E site1:SEWIDTH 3_OVERLIBGRAPH http://support.mynet.net/cacti/graph_image.php?local_graph_id=255&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=TARGET data/sync_traffic_in_258.rrdBANDWIDTH 2MINFOURL http://support.mynet.net/cacti/graph.php?rra_id=all&local_graph_id=56INFOURL graph_page.html## site2 also has two links, but this time we use the VIA to curve the links#LINK sync-site2aNODES sync site2WIDTH 3VIA 650 380TARGET data/sync_traffic_in_251.rrd_OVERLIBGRAPH http://support.mynet.net/cacti/graph_image.php?local_graph_id=248&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300BANDWIDTH 1MINFOURL http://support.mynet.net/cacti/graph.php?rra_id=all&local_graph_id=252INFOURL graph_page.htmlLINK sync-site2bNODES sync site2WIDTH 3VIA 650 420TARGET data/sync_traffic_in_252.rrd_OVERLIBGRAPH http://support.mynet.net/cacti/graph_image.php?local_graph_id=228&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300BANDWIDTH 1MINFOURL http://support.mynet.net/cacti/graph.php?rra_id=all&local_graph_id=561INFOURL graph_page.html## ISP 1 has a several links, again, but they prefer to see one arrow, and the aggregate bandwidth# so we use multiple TARGETs on one line, here, to sum the dataLINK transit-isp1NODES transit isp1TARGET data/trans1_traffic_in_352.rrd data/trans1_traffic_in_378.rrd data/trans1_traffic_in_420.rrdBANDWIDTH 10M_OVERLIBGRAPH http://support.mynet.net/cacti/graph_image.php?local_graph_id=355&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=INFOURL http://support.mynet.net/cacti/graph.php?rra_id=all&local_graph_id=633INFOURL graph_page.htmlLINK transit-isp2NODES transit isp2TARGET data/trans1_traffic_in_438.rrdBANDWIDTH 34M_OVERLIBGRAPH http://support.mynet.net/cacti/graph_image.php?local_graph_id=433&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300INFOURL http://support.mynet.net/cacti/graph.php?rra_id=all&local_graph_id=265INFOURL graph_page.htmlLINK core-transitNODES transit coreTARGET data/trans1_traffic_in_350.rrdARROWSTYLE compactWIDTH 4_OVERLIBGRAPH http://support.mynet.net/cacti/graph_image.php?local_graph_id=347&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300INFOURL http://support.mynet.net/cacti/graph.php?rra_id=all&local_graph_id=122INFOURL graph_page.htmlLINK cust1-coreNODES customer1 coreTARGET data/extreme_traffic_in_299.rrd_OVERLIBGRAPH http://support.mynet.net/cacti/graph_image.php?local_graph_id=296&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300INFOURL http://support.mynet.net/cacti/graph.php?rra_id=all&local_graph_id=237INFOURL graph_page.htmlLINK cust2-coreNODES customer2 coreTARGET data/extreme_traffic_in_286.rrd_OVERLIBGRAPH http://support.mynet.net/cacti/graph_image.php?local_graph_id=283&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300INFOURL http://support.mynet.net/cacti/graph.php?rra_id=all&local_graph_id=222INFOURL graph_page.htmlLINK infra-coreNODES infra coreTARGET data/extreme_traffic_in_294.rrd_OVERLIBGRAPH http://support.mynet.net/cacti/graph_image.php?local_graph_id=291&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300INFOURL http://support.mynet.net/cacti/graph.php?rra_id=all&local_graph_id=228INFOURL graph_page.html