Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sat Feb 23, 2019 11:53 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: About Sites
PostPosted: Thu Apr 05, 2018 4:53 am 
Offline

Joined: Mon Nov 18, 2013 2:40 am
Posts: 39
Hi,
I found "Sites" in cacti 1 version, it have Latitude and Longitude but i cant find nothing about map usage of that data
What is the reason of sites ?


Top
 Profile  
 
 Post subject: Re: About Sites
PostPosted: Thu Apr 05, 2018 7:12 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2083
Sites are to group logical devices together. You can use Sites to filter for groups of devices on quite a few of the cacti tables. It can also be used with Automation to automatically create and group devices together.

As for the usage of longitude and latitude, I'd have to see if they are used anywhere else.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: About Sites
PostPosted: Mon Feb 04, 2019 3:26 pm 
Offline

Joined: Wed Nov 15, 2017 11:03 am
Posts: 3
I'm also generally interested in understanding what else can be done with the data in sites.

In particular: Can I use the site name in my graph title (or other places if possible)?


Top
 Profile  
 
 Post subject: Re: About Sites
PostPosted: Wed Feb 06, 2019 7:01 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2083
I do not believe that we added that as a substitution variable. I would raise it as a request on the GitHub issues page.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: About Sites
PostPosted: Thu Feb 07, 2019 6:01 pm 
Offline
Cacti Pro User
User avatar

Joined: Mon Jan 05, 2015 10:10 am
Posts: 744
There is a Google Maps plugin on GitHub that mostly works. I think that has something to do with it.

_________________
Before history, there was a paradise, now dust.


Top
 Profile  
 
 Post subject: Re: About Sites
PostPosted: Wed Feb 13, 2019 6:32 am 
Offline
Cacti User

Joined: Wed Dec 07, 2011 9:19 am
Posts: 312
You can try mine

https://github.com/arno-st/map/tree/cacti-1.2x

It take the input from sites, and the device, then display on a map.
Working with googlemap and open street map

it take the lat, long of the site information, and when you add a new device it take the snmp location field to find the site, if it dosen't exist a new site is created.
snmp location has to be of that format:
Country;City;Street_Building;Floor;Room;Rack;RU;Lat;Long

if you don't have a record just put the ; one afgter the other, but if you don0't have lat and long, just remove the last field:
Country;City;Street_Building;Floor;Room;Rack;RU
OR:
;;;Floor;Room;Rack;RU;Lat;Long

_________________
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.3, Map 0.4

Test
Cacti 1.2.1
Spine 1.2.1
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.4
Map 1.2.5


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group