Adding GPS maps plugin to Cacti

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
gswiney
Posts: 16
Joined: Tue Jul 04, 2017 8:11 pm

Adding GPS maps plugin to Cacti

Post by gswiney »

Is there a way to make the GPS plugin compatible with Cacti 1.1.21?

I downloaded the plugin from https://github.com/wixiweb/cacti-gpsmaps
Rno
Cacti Pro User
Posts: 704
Joined: Wed Dec 07, 2011 9:19 am

Re: Adding GPS maps plugin to Cacti

Post by Rno »

Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
gswiney
Posts: 16
Joined: Tue Jul 04, 2017 8:11 pm

Re: Adding GPS maps plugin to Cacti

Post by gswiney »

Thanks for the reply. Your plugin does not give me the incompatible plugin error, but it does not let me install it either. I renamed the plugin directory gpsmaps. Should I be using something else?
Rno
Cacti Pro User
Posts: 704
Joined: Wed Dec 07, 2011 9:19 am

Re: Adding GPS maps plugin to Cacti

Post by Rno »

thew directory should renamed
map

that's all
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
gswiney
Posts: 16
Joined: Tue Jul 04, 2017 8:11 pm

Re: Adding GPS maps plugin to Cacti

Post by gswiney »

Thanks. That enabled the plugin to be installed. I created a site with the address, latitude, and longitude information. I associated a device with the site. If I put in the Ip address in the Mps plugin nothing populates. Is there a specific place the plugin is looking for the address information?
Rno
Cacti Pro User
Posts: 704
Joined: Wed Dec 07, 2011 9:19 am

Re: Adding GPS maps plugin to Cacti

Post by Rno »

The plugin take the information on the cacti database, from the device and on the site, then it do a query to google map to have the coordinate, then to build the map.
You don't have to put anything in the MAP display, it's a option to display only some device, and the field is the hostname.

Do not forget to add a Map center (number,street,city,country) on the misc field. Ho by the way the openstreet map is not working right now

If you have nothing on the mpa, enable the debug process on the settings-misc and send it to me.
Also on the MAP display, right clik on the page and send me the source of that page. in PM, not on this thread
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests