Cacti / plugin_gpsmap

GPS Maps Plugin for Cacti
GNU General Public License v2.0
3 stars 2 forks source link

gpsmap

Originally developed by Andy Aloia, GPSMap is a plugin that provides an integration of Google Maps with the Cacti network graphing solution.

Note to Users

This plugin may not be fully functional at this time. Contribution from Cacti users will help in stabilizing this legacy plugin in the new Cacti interface.

Purpose

This plugin allows placing Cacti devices on a physical map. Such mapping is important for wireless providers or people who have devices in multiple facilities geographically dispersed.

Features

GPSMaps is a simple plugin designed to show you where your devices are located via Google Maps and has the following features:

Installation

To install, create a folder called gpsmaps under the <cacti>\plugins folder and copy all files to there. Make sure that the directory permissions allow the website to write to the <cacti>\plugins\gpsmaps\XML folder (note that is uppercase for case sensitive file systems such as Linux).

Once all files have been copied, visit the Plugins management page in the Cacti Console (Console -> Settings -> Plugins) and Install, then Enable the plugin. At this point, a new Settings tab will have been added for GPSMaps and the following is a minimum you should fill in:

The next step is to add all the device templates that should be mapped using the following steps:

  1. Click on Console -> Templates -> Map

  2. Click the + on the right of the Map Templates title

  3. Enter the appropriate details:

    Type Meaning
    Device Template Select the Device Template that matching devices must have
    Images The image to be displayed as a marker for any device that is in the Up, Recovering and Down states
    Access Point Whether the template represents an access point
  4. Click Save

With the device templates associated to GPS Maps, the next step is to add GeoLocation information to each device. For any device with an external IP address, this will be resolved to an approximate location based on the GeoLocation service set within the Maps settings tab.

  1. Edit a device
  2. Enter the Lat/Long details
  3. Save the device.

At this point, you need to wait for your polling cycle to have completed and then you should be able to see your devices being mapped when you click on the Top Header's Map tab.

Sample Map

Possible Bugs

If you figure out this problem, see the Cacti forums!

Future Changes

Got any ideas or complaints, please create an issue in GitHub. Examples include:

Changelog

--- 2.1 ---

--- 2.0 ---

--- 1.8 ---

--- 1.7 ---

--- 1.63 ---

--- 1.62 ---

--- 1.51 ---

--- 1.5 ---

--- 1.41 ---

--- 1.4 ---

--- 1.37 ---

--- 1.36 ---

--- 1.35 ---

--- 1.34 ---

--- 1.33 ---

--- 1.32 ---

--- 1.31 ---

--- 1.3 ----

--- 1.2 ---

--- 1.11 ---

--- 1.1 ---

--- 1.02 ---

--- 1.01 ---

--- 1.0 ---