nbuchwitz / icingaweb2-module-map

An openstreetmap based map module for host and service state visualization with Icinga Web 2
https://icinga.com/docs/icinga2/latest/doc/13-addons/
GNU General Public License v2.0
81 stars 17 forks source link

Idea: Display Connections (support lines) #41

Open cstegm opened 6 years ago

cstegm commented 6 years ago

Expected Behavior

Important (WAN)connections of services to other hosts in other datacenters should show up as colored lines between hosts on the map.

Current Behavior

With only being able to place hosts on the map, I can only display the location of my hosts, not the connections checked by services to other systems.

Possible Solution

Example: Host "a" and "b" and a line (connection) between them is displayed on the map:

object Host "a" {
  check_command = "hostalive"
  address = "192.168.33.5"
  vars.geolocation = "34.052234,-118.243685"
}
object service "important_connection" {
  check_command = "ping4"
  ping_address = "10.0.0.5"
  geolocationTarrgetHost = "b"
  assign where host = "a"
}
object Host "b" {
  check_command = "hostalive"
  address = "10.0.0.5"
  vars.geolocation = "33.052234,-117.243685"
}
cbnorman commented 6 years ago

I currently use napvis for this and have always thought it was a bit annoying you essentially have 2 lines making up a WAN circuit 1.router bgp check, 2.remote router bgp check (testing both sides). it would be nice to think about how to amalgamate the 2 services from different hosts to make the line objects. mayeb the answer would be to create cluster service objects and then have 2x vars.geolocation to specify the sites it connects?

nbuchwitz commented 6 years ago

@cstegm as discussed at OSMC I think this could be a nice feature, but I have to check how to get this working with the marker cluster feature.

nbuchwitz commented 6 years ago

@cbnorman I actually don't understand, what you're trying to say in your second part. Could try to re-explain?

omarmarquez commented 5 years ago

+1

sinyb commented 5 years ago

Why not just re-use existing parent-child dependencies? If there is a dependency between two hosts, connext them with a line... This would be similar to what we had in Icinga(1)/Nagios, I think that was named "Graph" or something like that...

mrgohin commented 4 years ago

Hellow,

whats the current status of this feature request?

I'm very interested to see it existing and alive. If we could make a plan I'm willing to implement the feature.

Sincerely, Maksym

mrgohin commented 4 years ago

@cbnorman I actually don't understand, what you're trying to say in your second part. Could try to re-explain?

@nbuchwitz

What he meant to write is that he always have to create two lines manually for one logical service. Meaning he would have to create a line from A to B and vice versa B to A since both are unique services existing only at the host object A or rather B.

So he'd like to have the possibility to generate a line "object" which contains different services where you also could define in what direction the value or service is suppose to be actually.