1 | 1 | simandl | suite-1.conf |
2 | | | suite-2.conf |
3 | | | ============ |
4 | | | These are my test map config files that exercise a fair bit of the |
5 | | | functionality of Weathermap, in a couple of files. The first one |
6 | | | is mostly NODE stuff, and the second is mostly LINK stuff. As such, |
7 | | | they make quite useful demo maps, I guess. |
8 | | | |
9 | | | map-split.php |
10 | | | ============= |
11 | | | |
12 | | | Reads in a map, then writes out 'submaps' of a certain size. Edit the |
13 | | | top of the script to specify the source map, and the required size of |
14 | | | the new maps, and it will chop up your map for you. It doesn't do |
15 | | | anything clever with things like KEYPOS or TITLEPOS, but it will do |
16 | | | NODEs OK. It'll delete any links where only one end is in the final |
17 | | | map, so cross-sheet links will need to be put back in. It also removes |
18 | | | the BACKGROUND image if there is one, since it will (by definition) be |
19 | | | the wrong size for the new maps. |
20 | | | |
21 | | | auto-overlib.pl |
22 | | | =============== |
23 | | | |
24 | | | A small but useful script that takes a weathermap config file with |
25 | | | references to Cacti RRD targets and automatically adds in all the |
26 | | | INFOURL and OVERLIBGRAPH lines it can, where they don't exist. |
27 | | | |
28 | | | You'll need to edit the script to allow it to log in to your Cacti |
29 | | | database. Requires the Perl DBI and DBD::mysql modules. |
30 | | | |
31 | | | Should work with both PHP and perl versions, but not tested with PHP |
32 | | | one. |
33 | | | |