docs: Weathermaps minor fix to the steps (#7557)

* docs: Weathermaps minor fix to the steps

minor fix to the steps cut down to 5 steps. and added in example pic.

* network weather map

example network weather map picture

* Update Weathermap.md

added pic to .md

* Delete network-weather-map.PNG

* network weather map example pic

example pic.

* changes to steps

* Update Weathermap.md

added or to user

* Update Weathermap.md

* Update Weathermap.md

* Update Weathermap.md

fixes for grammar and spelling.

* Update Weathermap.md
This commit is contained in:
Kevin Krumm
2017-10-26 15:35:03 -05:00
committed by Neil Lathwood
parent 017e3cd7ca
commit d4b2f6ee91
2 changed files with 16 additions and 15 deletions

View File

@@ -1,33 +1,34 @@
source: Extensions/Weathermap.md
# WeatherMap with LibreNMS
Intergarting LibreNMS with Weathermap, allows you to build network maps to visulaize network traffic rates.
[Link](https://network-weathermap.com/) to Wearthermap Offical Website
# Network-WeatherMap with LibreNMS
Intergarting LibreNMS with Network-Weathermap, allows you to build network maps to visulaize network traffic flow rates.
[Link](https://network-weathermap.com/) to Network-Wearthermap Offical Website
### Installing WeatherMap
### Installing Network-WeatherMap
### Step 1.
Extract to your LibreNMS plugins directory `html/plugins` so you should see something like `/opt/librenms/html/plugins/Weathermap/`
The best way to do this is via git. Go to your install directory and then `html/plugins`.
Enter:
`git clone https://github.com/librenms-plugins/Weathermap.git`
### Step 2.
### Step 2.
Inside the librenms/html/plugins directory, change the ownership of the Weathermap directory by typing `chown -R librenms:librenms Weathermap/`
Make the configs directory writeable by your web server, either `chown apache:apache configs/` or `chmod 777 configs`.
I'd highly advise you choose the first option, replace `apache:apache` with your web servers user and group.
I'd highly advise you choose the first option, replace `apache:apache` with your web servers user and group this will depend on what OS you are using and Web Server.
### Step 3.
Enable the plugin from the LibreNMS Plugins -> Plugin Admin menu.
Enable the cron process by editing your current LibreNMS cron file (typically /etc/cron.d/librenms) and add the following:
LibreNMS: `*/5 * * * * librenms /opt/librenms/html/plugins/Weathermap/map-poller.php >> /dev/null 2>&1`
### Step 4.
Create your maps, please note when you create a MAP, please click Map Style, ensure Overlib is selected for HTML Style and click submit.
Enable the plugin from LibreNMS Web UI in OverView ->Plugins -> Plugin Admin menu.
### Step 5.
Now you should see Weathermap Overview -> Plugins -> Weathermap
Create your maps, please note when you create a MAP, please click Map Style, ensure Overlib is selected for HTML Style and click submit.
Also, ensure you set an output image filename and output HTML filename in Map Properties.
I'd recommend you use the output folder as this is excluded from git updates (i.e enter output/mymap.png and output/mymap.html).
### Step 6.
Enable the cron process by editing your current LibreNMS cron file (typically /etc/cron.d/librenms) and add the following:
LibreNMS:
`*/5 * * * * root /opt/librenms/html/plugins/Weathermap/map-poller.php >> /dev/null 2>&1`
### Step 7.
Now you should see Weathermap Overview -> Plugins -> Weathermap
Optional: If your install is in another directory than standard, set `$basehref` within `map-poller.php`.
source How To from [Link](https://github.com/librenms-plugins/Weathermap/edit/master/INSTALL.md)
Automatically generate weathermaps from a LibreNMS database [Link](https://github.com/pblasquez/weathermapper)
![Example Network Weather Map](/img/network-weather-map.PNG)

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB