GPS Maps for Cacti

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
spiffydudex
Cacti User
Posts: 97
Joined: Thu Jul 24, 2008 11:21 am
Location: Hallsville, TX
Contact:

Re: GPS Maps for Cacti

Post by spiffydudex »

It has been a busy year with my IT consulting business going full swing for through its first year. I have had little to no time and even less motivation to work on this project. So I have set some limits for myself in order to get a decent working API v3 GPSMaps version out in the wild before the May deadline.

Things completed:
Map Displays using Google API v3
Hosts are Displayed on Map.
Hosts display information about their status when clicked.
Hosts display notes about the device when hovered.
Able to isolate hosts by subnet.

Things to-do:
Display coverage overlay based on host grouping. (This is all completely new code)
Remove visible references to API v2.
Fix Map Templates configuration page.
Remove dead/unused code.
Comment each function for future developers.

It is a short list. But I feel once this final release is made I will make preparations for the Cacti group to maintain the code from that release onward. It has been close to 5 years since GPS Maps set sail. My determination and motivation are lacking to keep it afloat and current. I personally have not used the software for close to 4 years now and I need to set it free into the wild for future prospectors to find and modify.
User avatar
bkbristlin
Cacti User
Posts: 79
Joined: Fri Jan 14, 2011 3:28 pm
Location: Lincoln, NE

Re: GPS Maps for Cacti

Post by bkbristlin »

Good to hear you are at least working towards someone taking it over though. I haven't had a chance to look at the issues mine was having since I last talked to you.
Brian
CCNA, MCDST, MCP, A+
tosage
Cacti User
Posts: 164
Joined: Wed Jul 28, 2010 5:05 am
Location: France

Re: GPS Maps for Cacti

Post by tosage »

Hello everybody,

The support of the API Google Maps v2 is 19/11/2013.
Does anyone know if the support of the api v3 is provided in a future version ?

David
Cacti Version - 0.8.8a
Plugin Architecture - 3.1
Poller Type - spine
Server Info - Linux
Web Server - Apache/2.2.22 (Ubuntu)
PHP - 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli)
MySQL - 5.5.29-0ubuntu0.12.04.2
RRDTool - 1.4.7
zettel
Posts: 6
Joined: Sun Aug 19, 2012 11:50 pm

Re: GPS Maps for Cacti

Post by zettel »

Hello!
1. I copied the folder with the plug-in directory / plugins
2. Added entry in global.php $ plugins [] = 'gpsmap';
3. but in the Plugin Management does not appear to install the plug-in string
4.PIA 2,9 installed
5. What am I doing wrong?
spiffydudex
Cacti User
Posts: 97
Joined: Thu Jul 24, 2008 11:21 am
Location: Hallsville, TX
Contact:

Re: GPS Maps for Cacti

Post by spiffydudex »

My updates on GPS Maps have effectively ceased.

Due to an increase in my IT Business, a massive hard drive failure, and a lack of use for Cacti, I no longer have a reason to continue development. The development of my plugin was housed on a old linux box with a RAID 10, no offsite backup was implemented. Two of the drives decided to die on the same day! Unfortunate.

Maxime from Wixiweb, a French company that specialize in web development and implementation had updated the GPSMap for one of his customers in order to implement Google Maps API v3. They both wanted to release the code to the community. I was contacted by Maxime on January 31st of 2014 about releasing updated code. After explaining my situation, he seemed very open to the idea of creating a GitHub area for continued development and updates.

The new home for any new updates to the GPS Maps plugin is located here:
https://github.com/wixiweb

I have also updated the plugin page with more information: http://docs.cacti.net/userplugin:gpsmaps

It has been great to create and contribute to the open source community. I think my time on this project has been finished for some time now and it is good to see it get a much needed update.

SPIFF
tosage
Cacti User
Posts: 164
Joined: Wed Jul 28, 2010 5:05 am
Location: France

Re: GPS Maps for Cacti

Post by tosage »

Hey,

Good news, good luck for you spiffy :)

David
Cacti Version - 0.8.8a
Plugin Architecture - 3.1
Poller Type - spine
Server Info - Linux
Web Server - Apache/2.2.22 (Ubuntu)
PHP - 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli)
MySQL - 5.5.29-0ubuntu0.12.04.2
RRDTool - 1.4.7
User avatar
vesparossa
Posts: 6
Joined: Fri Apr 04, 2014 3:31 am

Re: GPS Maps for Cacti

Post by vesparossa »

Hi guys,

I just installed GPSMAP 1.8.0 upon a 0.8.8b Cacti Server and I am not able to display the map and the objects. Any useful method to debug it?


BR
Andrea
tosage
Cacti User
Posts: 164
Joined: Wed Jul 28, 2010 5:05 am
Location: France

Re: GPS Maps for Cacti

Post by tosage »

For me, it function like a charm.
Have you looked into your cacti log server ?

David
Cacti Version - 0.8.8a
Plugin Architecture - 3.1
Poller Type - spine
Server Info - Linux
Web Server - Apache/2.2.22 (Ubuntu)
PHP - 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli)
MySQL - 5.5.29-0ubuntu0.12.04.2
RRDTool - 1.4.7
Arsalan
Posts: 4
Joined: Thu May 01, 2014 1:31 pm

Re: GPS Maps for Cacti

Post by Arsalan »

My setting seems to be OK and I can see the map but no devices on the map. Inside XML folder there are only two files as below and I set permission setting on this folder as 777

drwxrwxrwx 2 apache apache 4096 Apr 22 16:03 XML

[root@monitor gpsmap]# ls -l XML/
total 4
-rwxrwxrwx 1 apache apache 41 Apr 13 2011 index.php
-rwxrwxrwx 1 apache apache 0 Feb 16 2012 XML AND KML RELATED.txt


anything I need to do? Thanks for your help
User avatar
vesparossa
Posts: 6
Joined: Fri Apr 04, 2014 3:31 am

Re: GPS Maps for Cacti

Post by vesparossa »

Under device settings insert the coordinates of the object following this syntax:

Latitude : xx.yy
Longitude: zz.xx
lagestrella21
Posts: 2
Joined: Thu Sep 18, 2014 5:18 pm

Re: GPS Maps for Cacti

Post by lagestrella21 »

Hello.

I have server with Cacti Version 0.8.8a and Plugin Architecture Version 3.1
Install the new version of GPSMAP (thanks to creators for that) but it is marking error

"A network error has occured while retrieving data markers: 404 - Not Found"

when entering the map tab and shows none of the points, any idea.

The coordinates are as follows;

33.5155701243
-166.9896745600

XML folders have the read and write.

Thank you....
tosage
Cacti User
Posts: 164
Joined: Wed Jul 28, 2010 5:05 am
Location: France

Re: GPS Maps for Cacti

Post by tosage »

Hello,

You have stuff on the South pole Station :)
Your server need an access through Internet.

David
Cacti Version - 0.8.8a
Plugin Architecture - 3.1
Poller Type - spine
Server Info - Linux
Web Server - Apache/2.2.22 (Ubuntu)
PHP - 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli)
MySQL - 5.5.29-0ubuntu0.12.04.2
RRDTool - 1.4.7
lagestrella21
Posts: 2
Joined: Thu Sep 18, 2014 5:18 pm

Re: GPS Maps for Cacti

Post by lagestrella21 »

Hello.

hahahahahaha. ;-)

The server you have access to internet, like my team .... was one of the first things that occurred to me to review, also check the log to see that no firewall blocking access embers required, but not the case.

The google map as shown in the view coordinates configure.

Also check that out as the key to access google maps API V3 and if it is correct.

Any other ideas.

Thank you.
Attachments
Map
Map
404 Not Found map.JPG (113.27 KiB) Viewed 13758 times
Error
Error
404 Not Found.JPG (31.87 KiB) Viewed 13758 times
hlepesant
Posts: 2
Joined: Mon Sep 30, 2013 2:23 am

Re: GPS Maps for Cacti

Post by hlepesant »

zettel wrote:Hello!
1. I copied the folder with the plug-in directory / plugins
2. Added entry in global.php $ plugins [] = 'gpsmap';
3. but in the Plugin Management does not appear to install the plug-in string
4.PIA 2,9 installed
5. What am I doing wrong?

Dis you rename the folder to "gpsmap"
I had to do this to make it work
the foldername "cacti-gpsmaps" resulting the git clone do not work.

Regards,
hug
routeip
Posts: 4
Joined: Mon Jul 09, 2012 2:48 pm

Re: GPS Maps for Cacti

Post by routeip »

added notes to the popup info.
This will pull from notes field in the host.

please redownload. fixed a few things i left behind and a spelling error that caused the xml not to update.
Attachments
gpsmap.tar
(230 KiB) Downloaded 553 times
Last edited by routeip on Wed Apr 29, 2015 10:48 pm, edited 2 times in total.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests