You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Overview

As of opCharts version 3.2.7 a new feature "Dynamic Maps" has been implemented. Dynamic Maps allows you to quickly generate and save maps based off of filters designated by you.

Creating a Dynamic Map

To begin creating your Dynamic Map navigate to the Nodes view - Menu -> Views -> Nodes. From the nodes list you adjust the nodes you're seeing by setting some filters using the Node Filter box (1) on the left and/or the search box (6) above the table on the top right of this screen. Every click of an additional filter will make changes to the URL setting the filter property for example: "filter":{"nodestatus":"unreachable”} would create a filter to display only the nodes which the node status of unreachable. Once the desired filters are in place you can instantly generate either a Network Map or Geographical map with the filtered device information by clicking either "View in Network Map"(4) or "View in Geographical Map"(5).

ViewDescription
(1) Node FilterList of filters to be applied to the nodes table.
(2) Current FiltersCurrent filters applied to the nodes table.
(3) Nodes TableNodes table displaying filtered nodes.
(4) View in Network MapTakes selected nodes to generate a Network Map.
(5) View in Geographical MapTakes selected nodes to generate a Geographical Map.
(6) Search FilterSearch for specific Node Names, Hosts, Groups, or Locations.

Geographical Map

 

 

 

 

 

 

Topo:
- if it’s a topo map opcharts puts the user into the map ‘creator’ because the topo maps aren’t very useful unless the user can right click and select “add subnets” or “add neighbours” etc and those functions aren’t available when just viewing the map. 
- when the topo map is saved the dynamic flags are thrown away, the list of nodes that are on the map are saved into the map definition, it’s now ‘static’. There is no way to save a dynamic topo map right now (or ‘network map’ either)
- after saving can be added to dashboard

Geo:
- if it’s a geo map the user is sent to the ‘show’ page for the map, not the map creator. This is because the map is useful without any changes. If the user wants to save this map they can click in the top right hand corner and select ‘Create static map’ or ‘Create dynamic map’
- if they select create static map the flow is pretty much the same as with topo, the list of nodes in the map creator is saved into the map and won’t change again without the user editing the map. If the user sets a specific location and zoom that will be saved into the map.
- if they select create dynamic map the map saves the ‘dynamic’ flag into the map as well as the filter used to create the map. When the map is saved the list of nodes is thrown away, their locations are thrown away, any changes made to the map view are basically thrown away. This is because everything in the map is dynamic, it’s generated from the filter. The user can change the name, description and title. In the map creator you’ll notice that all the “Component” buttons are grayed out and some text above them has been added "Components cannot be added to dynamic maps.” That is basically the only GUI cue that shows the user it’s a dynamic map.  Things like positioning and zooming are not saved, when the map is loaded all matching nodes are added and then the map is told to make all nodes fit into the view.
- both geo map types can be added to a dashboard.

Lastly, the list of nodes on a dynamic map only changes when the map is reloaded/the page is refreshed. Dashboards automatically refresh every X minutes, this refresh only updates the node status, it will not update the contents of the node.

 

Highlights: 

 

- Added the idea of a “dynamic” map which generates the list of nodes to be put in the map using a filter when it’s loaded. So you could create a filter for all nodes of type “server” and view the map and all the servers will be placed on the map using their location setting.  Add a new server to NMIS, refresh the map page and the new server will appear on the map. This is only for geographical maps to start, ideas and thoughts on the feature and how this could work with network/topological are welcome (as well as how it’s working with geo maps as well)

 

- The node list view now has a search box on the grid which runs regex searches by default

 

 

  • Added grid search box to node list, columns available for searching are controlled by opCharts_node-list.json
  • Dynamic geographical maps, nodes on map generated using a filter generated by node list view. From the node list view, select whatever filters desired, then click "View in geographical map", in the top right of the component there are now two options for creating a map from this view, "Create static map" and "Create dynamic map". The static map will use the current filter and save the list of nodes into the map, the dynamic map will save the filter into the map and the list of nodes will be generated each time the map is loaded. Note: a refresh of the map to get new status information will not add/remove nodes, a full page refresh is required to make this happen.
  • Geographic maps that have many nodes in the exact same spot will now fan them out when clicked so all nodes form that spot can be seen.
  • Adding a link to a network map or topographical map now allows selecting the line width and color.



  • No labels