![]() ![]() |
weathermap |
Subversion Repositories: |
Compare with Previous - Blame - Download
suite-1.confsuite-2.conf============These are my test map config files that exercise a fair bit of thefunctionality of Weathermap, in a couple of files. The first oneis mostly NODE stuff, and the second is mostly LINK stuff. As such,they make quite useful demo maps, I guess.map-split.php=============Reads in a map, then writes out 'submaps' of a certain size. Edit thetop of the script to specify the source map, and the required size ofthe new maps, and it will chop up your map for you. It doesn't doanything clever with things like KEYPOS or TITLEPOS, but it will doNODEs OK. It'll delete any links where only one end is in the finalmap, so cross-sheet links will need to be put back in. It also removesthe BACKGROUND image if there is one, since it will (by definition) bethe wrong size for the new maps.auto-overlib.pl===============A small but useful script that takes a weathermap config file withreferences to Cacti RRD targets and automatically adds in all theINFOURL and OVERLIBGRAPH lines it can, where they don't exist.You'll need to edit the script to allow it to log in to your Cactidatabase. Requires the Perl DBI and DBD::mysql modules.Should work with both PHP and perl versions, but not tested with PHPone.