Observium Installation
You may need to install wget on bare installations
apt install wget
Grab Observium installation script and run it.
wget http://www.observium.org/observium_installscript.sh
chmod +x observium_installscript.sh
./observium_installscript.sh
WeatherMap installation and configuration
git clone https://github.com/tobzsc/weathermap-for-observium.git weathermap
cd weathermap/
nano editor.php # enable the editor replace false with true
mkdir maps
chown -R www-data:www-data configs/
chown -R www-data:www-data maps/
mv navbar-custom.inc.php /opt/observium/html/includes/navbar-custom.inc.php
cp /opt/observium/html/weathermap/overlib.js /opt/observium/html/overlib.js
log on to gui “http://[IP_Address]/weathermap/editor.php” and make a new weather map “network.conf”
click on “map properties. In “Output Image Filename” > “network.png”. In “Output HTML Filename” > “maps/network.html”.
Once you have created a weathermap. Run the below to generate the map.
php weathermap --config=/opt/observium/html/weathermap/configs/network.conf --image-uri=http://[IP_Address]/weathermap/maps/network.png --base-href=http://[IP_Address]/weathermap/ --output=/opt/observium/html/weathermap/maps/network.png