gpsmaps issue when running on alternate web port

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
deekdeek
Posts: 3
Joined: Wed Mar 21, 2012 7:36 pm

gpsmaps issue when running on alternate web port

Post by deekdeek »

Hi i have cacti Version 0.8.7i with gpsmaps 1.70

i have problem and it took me forever to figure it out, the port that Apache listens on is 88, i was not seeing the pin onthe google map but i was able to hover over and get the info. then when i inspect html , it is because it is looking for the graphic on port 80, not 88. i think i found the file to correct this but i am unsure how to add a port number to the string can anyone help.
[20:42:04.315] GET http://xx.xx.xx.xx:88/plugins/gpsmap/XML/all.xml [HTTP/1.1 200 OK 57ms]
[20:42:04.840] GET http://xx.xx.xx.xx/plugins/gpsmap/images/icons/Green.png [HTTP/1.1 404 Not Found 52ms]

second line tries from port 80 not 88

is the proper file to fix this located in /var/www/cacti/plugins/gpsmap/includes/polling/iconskml.php
maybe this line:

$iconlist .= "<href>http://".$kmlDomain.$config['url_pat
h']."plugins/gpsmap/images/icons/".$icon.".".$tail."</href>";
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests