31 May 2017 11:08
I started using librenms and now I want to stop observium but before I want to move my data from observium to librenms .
I found this script of dan https://vlan50.com/2015/04/17/migrating-from-observium-to-librenms/ but is it possible to do this in the same serveur ???
Those scripts should/will work on the same server, if you don’t want to figure things out just dummy the script to use 127.0.0.1 for ssh so it will connect to itself and copy data.
31 May 2017 11:18
Ok thanks i will try this
1 June 2017 10:36
I did it, but you do not need to convert to xml and restore to rrd in the librenms server,
If I understood correctly It is only a question of law when we move the data .rrd from observium to librenms the right of read is lost, and we have only to add it in the directory rrd of librenms,while when we converted to xml and we restore in /rrd librenms this right is kept.
Unfortunately the name for difirent metrics in observium and librenms isn’t the same like poller-perf == perf-poller or for the ports, the id is different and librenms isn’t programmed to read the metric name generate by observium.
but i have another solution i will deploy observium and librenms for a moment
i have a last question please in observium my colleague Had installed the weathermap in observium and i saw you already mentioned this on librenms , this plugin is’t already installed in the finally version of librenms or not yet. ??
You have to install the plugin.
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.
git clone https://github.com/librenms-plugins/Weathermap.git
2. 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.
3. Enable the plugin from the LibreNMS Plugins -> Plugin Admin menu.
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.
5. 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).
6. Enable the cron process by editing your current LibreNMS cron file (typically /etc/cron.d/librenms) and add the following:
*/5 * * * * root /opt/librenms/html/plugins/Weathermap/map-poller.php >> /dev/null 2>&1
7. If you need to, set $basehref within map-poller.php if your install is in another directory than standard.
1 June 2017 15:04
great, thank you
2 June 2017 09:37
I did all steps, only the step 3
I do not know why but I have not accessed in the page editor.php to creat map
I look at the page editor.php i don’t find mistake.
So you didn’t do Step 3? If you are seeing page can not be found …sounds like a permission issue re run
chown apache:apache configs
2 June 2017 12:44
I was wrong the step 3 i did it
is the step 4 i can’t do it
I just redo it but i have the same probleme
isn’t probleme of update because I found this
Weathermap editor.php gives HTTP error 500
but I am looking for how can i update this plugin and i don’t find
heres how mine is setup…maybe if it will help you.
2 June 2017 13:00
i haven’t the
Is it normal you had
You had download it using this address
those are my custom maps.
Yes i got from
Check your file permissions some of your files are root and should be librenms.
2 June 2017 13:08
It does not work
It does not matter I’ll look for one more thank you very much :Small_smile:
2 June 2017 18:11
Ports should convert but you need to convert to using ifIndex for the port association afaik.
7 June 2017 14:15
I solved the problem it was the path
$ Librenms_base = ‘…/…/’;
Before I modify it was $ Librenms_base = ‘…/…/…/’;
thank you for your help