GPS Maps for Cacti

Announcements concerning Plugins for Cacti

Moderators: Moderators, Developers

Post Reply
Author
Message
Rno
Cacti User
Posts: 346
Joined: Wed Dec 07, 2011 9:19 am

Re: GPS Maps for Cacti

#316 Post by Rno » Thu Sep 19, 2019 1:59 am

on more question:
when you do you test did you go into: console->device select the device you like to rebuild and select the action Geocode device
Or did you rebuild the coordinate by using the console->System utilities -> rebuild
CentOS
Production
Cacti 0.8.8h
Spine 0.8.8h
PIA 3.1
Aggregate 0.75
Monitor 1.3
Settings 0.71
Weathermap 0.98
Thold 0.5
rrdclean 0.41

Own plugin: LinkDiscovery 0.45, Map 0.37

Test
Cacti 1.2.6
Spine 1.2.6
thold 1.0.6
monitor 2.3.5
php 7.2.11
mariadb 5.5.56
Own plugin:
ExtendDB 1.1.2
LinkDiscovery 1.2.6
Map 1.2.6

Rno
Cacti User
Posts: 346
Joined: Wed Dec 07, 2011 9:19 am

Re: GPS Maps for Cacti

#317 Post by Rno » Thu Sep 19, 2019 5:12 am

I find an error on the action coordinate rebuild, on system utilities part.
And I think you where reaching this one
github has a version 0.37 of setup.php with the correction
CentOS
Production
Cacti 0.8.8h
Spine 0.8.8h
PIA 3.1
Aggregate 0.75
Monitor 1.3
Settings 0.71
Weathermap 0.98
Thold 0.5
rrdclean 0.41

Own plugin: LinkDiscovery 0.45, Map 0.37

Test
Cacti 1.2.6
Spine 1.2.6
thold 1.0.6
monitor 2.3.5
php 7.2.11
mariadb 5.5.56
Own plugin:
ExtendDB 1.1.2
LinkDiscovery 1.2.6
Map 1.2.6

anmomin1
Cacti User
Posts: 53
Joined: Mon May 29, 2017 4:14 pm

Re: GPS Maps for Cacti

#318 Post by anmomin1 » Wed Oct 02, 2019 9:19 pm

Rno wrote:
Thu Sep 19, 2019 5:12 am
I find an error on the action coordinate rebuild, on system utilities part.
And I think you where reaching this one
github has a version 0.37 of setup.php with the correction
@Rno Thanks for info...
just want to confirm... new version you want me to download in under following URL?
https://github.com/arno-st/Map/tree/cacti-0.8x

Rno
Cacti User
Posts: 346
Joined: Wed Dec 07, 2011 9:19 am

Re: GPS Maps for Cacti

#319 Post by Rno » Thu Oct 03, 2019 12:03 am

yes that's correct
CentOS
Production
Cacti 0.8.8h
Spine 0.8.8h
PIA 3.1
Aggregate 0.75
Monitor 1.3
Settings 0.71
Weathermap 0.98
Thold 0.5
rrdclean 0.41

Own plugin: LinkDiscovery 0.45, Map 0.37

Test
Cacti 1.2.6
Spine 1.2.6
thold 1.0.6
monitor 2.3.5
php 7.2.11
mariadb 5.5.56
Own plugin:
ExtendDB 1.1.2
LinkDiscovery 1.2.6
Map 1.2.6

anmomin1
Cacti User
Posts: 53
Joined: Mon May 29, 2017 4:14 pm

Re: GPS Maps for Cacti

#320 Post by anmomin1 » Thu Oct 03, 2019 8:00 pm

I know google worked last time.. but Now I am getting same following message:

I tried both with API key and without API key

With APIKEY I get following:
MAP: Poller[0] Google Geocoding error: REQUEST_DENIED

without APIKEY I get following:
MAP: Poller[0] Google Geocoding error:

Thanks.

Rno
Cacti User
Posts: 346
Joined: Wed Dec 07, 2011 9:19 am

Re: GPS Maps for Cacti

#321 Post by Rno » Fri Oct 04, 2019 12:21 am

You need a valid API key, google doesn't accept a query without it anymore:
"You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account"

For the query with API can you PM me the output of the log, and add this line around line 455 and line 524, just after the URL creation.
map_log("GoogleMap URL: ".$url );


So I can do some testing over here what is wrong. Since the output of this :
MAP: Poller[0] Google Geocoding error:

should give the return from GoogleMAP, ans I can' find the reason for nothing. usualy I get something, or a communication problem that give a return page without a valid JSON answer from google.
Putting the previous URL into the log will let you do the query with a browser to see what it answer. But still that is from a user point of view, not from the server itself who do the query when doing a MAP query
CentOS
Production
Cacti 0.8.8h
Spine 0.8.8h
PIA 3.1
Aggregate 0.75
Monitor 1.3
Settings 0.71
Weathermap 0.98
Thold 0.5
rrdclean 0.41

Own plugin: LinkDiscovery 0.45, Map 0.37

Test
Cacti 1.2.6
Spine 1.2.6
thold 1.0.6
monitor 2.3.5
php 7.2.11
mariadb 5.5.56
Own plugin:
ExtendDB 1.1.2
LinkDiscovery 1.2.6
Map 1.2.6

Post Reply