![]() ![]() |
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 100OVERLIBWIDTH 395OVERLIBHEIGHT 153WIDTH 4NODE DEFAULTLABELFONT 101NODE transitPOSITION 400 180LABEL TRANSIT# a little splash of background colour for these nodesNODE isp1POSITION 250 100LABEL ISP1INFOURL http://www.isp1.com/support/lookingglass.htmlLABELBGCOLOR 255 224 224NODE isp2POSITION 550 100LABEL ISP2INFOURL http://www.isp2.net/portal/LABELBGCOLOR 224 255 224NODE corePOSITION 400 300LABEL coreINFOURL https://core.mynet.net/admin/NODE 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.rrdOVERLIBGRAPH 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=256## 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 2MOVERLIBGRAPH 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=126LINK sync-site1bNODES sync:E site1:SEWIDTH 3OVERLIBGRAPH 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=56## 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.rrdOVERLIBGRAPH 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=252LINK sync-site2bNODES sync site2WIDTH 3VIA 650 420TARGET data/sync_traffic_in_252.rrdOVERLIBGRAPH 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=561## 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 10MOVERLIBGRAPH 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=633LINK transit-isp2NODES transit isp2TARGET data/trans1_traffic_in_438.rrdBANDWIDTH 34MOVERLIBGRAPH 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=265LINK core-transitNODES transit coreTARGET data/trans1_traffic_in_350.rrdARROWSTYLE compactWIDTH 4OVERLIBGRAPH 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=122LINK cust1-coreNODES customer1 coreTARGET data/extreme_traffic_in_299.rrdOVERLIBGRAPH 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=237LINK cust2-coreNODES customer2 coreTARGET data/extreme_traffic_in_286.rrdOVERLIBGRAPH 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=222LINK infra-coreNODES infra coreTARGET data/extreme_traffic_in_294.rrdOVERLIBGRAPH 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=228