Monday, May 20th 2013, 6:32pm UTC+2
You are not logged in.
Beginner
Number of monitoring servers: 1
Nagios Version: 3.3.0
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: 50
Number of services: 2000
OS: Ubuntu 12 LTS
Plugin Version: n/a
NagVis Version: 1.7b2
NDO Version: 1
Birthday: Sep 22nd
Gender: male
Location: München
Occupation: Berater / Entwickler
Number of monitoring servers: x
Nagios Version: 3.2.x
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: x
Number of services: x
OS: SLES,CentOS,Debian
Plugin Version: x
NagVis Version: Git
NDO Version: -
IDO-Version: -
Perfparse Version: -
Other Addons: PNP, Check_MK, Livestatus, Multisite
Quoted
I've been trying to experiment with geomaps feature in Nagvis 1.7b2. In b1, I didn't get the feature to work at all, however, with b2, I'm able to get the demo environment up and running at least.
However, I'm more than a bit puzzled. The demo-geomap - yes, it gives me a nice Openstreetmap image of Germany, with servers at Munich and Hamburg. However, the map is, for all intents and purposes, static.
Quoted
I though I could zoom around like I can with regular openstreetmap. I initially thought that this might be due to browser I'm using (Firefox 12) which might omit some controls.
Quoted
However, at least with Internet Explorer, Nagvis doesn't seem to work at all (throws javascript errors).
Quoted
Anyway, if the geomap is actually "semi-dynamic" in the sense that you don't get the normal Openstreetmap controls but at least you can obtain the backgrounds directly from Openstreetmap, how do I configure which part of the world map I want to view? I tried moving the "Hamburg" server off the map my changing the latitude to 60. The map did not auto-adjust or anything like that.
Quoted
How *do* I set the starting point for a geomap?
Beginner
Number of monitoring servers: 1
Nagios Version: 3.3.0
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: 50
Number of services: 2000
OS: Ubuntu 12 LTS
Plugin Version: n/a
NagVis Version: 1.7b2
NDO Version: 1
This is not the way we implemented the geomap. The geomap withing NagVis uses a static background image just like regular maps do with the exception that it fetches the background image dynamically based on the given objects.
Quoted
I'd be interested in the exact error messages. Which IE version are you testing with?
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Javascript error occured: Invalid argument. http://10.10.10.10/nagvis/frontend/nagvis-js/js/NagVisCompressed.js (5371)
- Stacktrace -
{anonymous}(#object)
printStackTrace()
handleJSError("Invalid argument.","http://10.10.10.10/nagvis/frontend/nagvis-js/js/NagVisCompressed.js",5371)
{anonymous}()
{anonymous}()
setMapObjects(#object)
parseMap(1331644250,"automap","__automap")
workerInitialize(0,"automap","__automap")
runWorker(0,"automap","__automap")
{anonymous}()
|
Quoted
Changing the coords in the csv file of the geomap should really change the map and background image etc. -> adjust. I'll check it.
Number of monitoring servers: 1
Nagios Version: 3.0.6
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 450
Number of services: 3500
OS: RHEL 5
Plugin Version: 1.4.13
NDO Version: 1
Beginner
Number of monitoring servers: 1
Nagios Version: 3.3.1
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 100
Number of services: 200
OS: Ubuntu Server
Plugin Version: 1
NDO Version: 1
Beginner
Number of monitoring servers: 1
Nagios Version: 3.3.0
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: 50
Number of services: 2000
OS: Ubuntu 12 LTS
Plugin Version: n/a
NagVis Version: 1.7b2
NDO Version: 1
|
|
Source code |
1 2 |
ham-srv1;Hamburg Server 1;53.556866;9.994622 muc-srv1;Munich Server1;48.1448353;11.5580067 |
|
|
Source code |
1 2 |
ham-srv1;Hamburg Server 1;63.556866;9.994622 muc-srv1;Munich Server1;48.1448353;11.5580067 |
Number of monitoring servers: 1
Nagios Version: 3.0.6
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 450
Number of services: 3500
OS: RHEL 5
Plugin Version: 1.4.13
NDO Version: 1
Quoted
Expected result: The map gets re-rendered again showing the "Hamburg server" at 63 degrees north.
Actual result: Map stays the same, but Hamburg server is not on it anymore - it's off the map.
This post has been edited 1 times, last edit by "gjfrater" (Jun 26th 2012, 8:36pm)
Birthday: Sep 22nd
Gender: male
Location: München
Occupation: Berater / Entwickler
Number of monitoring servers: x
Nagios Version: 3.2.x
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: x
Number of services: x
OS: SLES,CentOS,Debian
Plugin Version: x
NagVis Version: Git
NDO Version: -
IDO-Version: -
Perfparse Version: -
Other Addons: PNP, Check_MK, Livestatus, Multisite
Beginner
Birthday: Jul 17th
Gender: male
Location: United Kingdom
Occupation: Systems Engineer
Number of monitoring servers: 1
Nagios Version: 3.2.3
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 69
Number of services: 412
OS: Ubuntu 10.04
Plugin Version: ndoutils-1.4b9, php-5.3.2, nagvis-1.6.6
NagVis Version: 1.6.6
NDO Version: 1
Birthday: Sep 22nd
Gender: male
Location: München
Occupation: Berater / Entwickler
Number of monitoring servers: x
Nagios Version: 3.2.x
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: x
Number of services: x
OS: SLES,CentOS,Debian
Plugin Version: x
NagVis Version: Git
NDO Version: -
IDO-Version: -
Perfparse Version: -
Other Addons: PNP, Check_MK, Livestatus, Multisite
Beginner
Birthday: Jul 17th
Gender: male
Location: United Kingdom
Occupation: Systems Engineer
Number of monitoring servers: 1
Nagios Version: 3.2.3
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 69
Number of services: 412
OS: Ubuntu 10.04
Plugin Version: ndoutils-1.4b9, php-5.3.2, nagvis-1.6.6
NagVis Version: 1.6.6
NDO Version: 1
Beginner
Number of monitoring servers: 1
Nagios Version: 3.3.0
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: 50
Number of services: 2000
OS: Ubuntu 12 LTS
Plugin Version: n/a
NagVis Version: 1.7b2
NDO Version: 1
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
Unable to fetch URL "http://geomap.nagvis.org/?module=map&bbox=9.744622,63.806866,11.8080067,47.8948353&width=800&height=600&type=mapnik".
The geomap needs to be able to fetch some data from the internet via webservice API. Please take a look at the docs for more details.
Error: (0) file_get_contents(http://geomap.nagvis.org/?module=map&bbox=9.744622,63.806866,11.8080067,47.8948353&width=800&height=600&type=mapnik): failed to open stream: HTTP request failed! (/usr/local/nagvis/share/server/core/sources/geomap.php:49)
#0 [internal function]: nagvisExceptionErrorHandler(2, 'file_get_conten...', '/usr/local/nagv...', 49, Array)
#1 /usr/local/nagvis/share/server/core/sources/geomap.php(49): file_get_contents('http://geomap.n...', false, Resource id #86)
#2 /usr/local/nagvis/share/server/core/sources/geomap.php(217): geomap_get_contents('http://geomap.n...')
#3 /usr/local/nagvis/share/server/core/classes/GlobalMapCfg.php(678): process_geomap(Object(NagVisMapCfg), 'demo-geomap', Array)
#4 /usr/local/nagvis/share/server/core/classes/GlobalMapCfg.php(457): GlobalMapCfg->processSources()
#5 /usr/local/nagvis/share/server/core/classes/CoreModMap.php(985): GlobalMapCfg->readMapConfig(true)
#6 /usr/local/nagvis/share/server/core/classes/CoreModMap.php(110): CoreModMap->getMapProperties()
#7 /usr/local/nagvis/share/server/core/functions/index.php(120): CoreModMap->handleAction()
#8 /usr/local/nagvis/share/server/core/ajax_handler.php(63): require('/usr/local/nagv...')
#9 {main}
|
Beginner
Number of monitoring servers: 1
Nagios Version: 3.3.0
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: 50
Number of services: 2000
OS: Ubuntu 12 LTS
Plugin Version: n/a
NagVis Version: 1.7b2
NDO Version: 1
(Although having full controls of the map with zoom and all would be great) Birthday: Sep 22nd
Gender: male
Location: München
Occupation: Berater / Entwickler
Number of monitoring servers: x
Nagios Version: 3.2.x
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: x
Number of services: x
OS: SLES,CentOS,Debian
Plugin Version: x
NagVis Version: Git
NDO Version: -
IDO-Version: -
Perfparse Version: -
Other Addons: PNP, Check_MK, Livestatus, Multisite
Ok. What happened was that if I went to the geomap again, things worked out just fine.
Actually, I now can repeat the issue: If I change the coordinates in the .CSV, on the *first* time it gives this error, but on subsequent attempts the map shows just fine. Maybe some function times out too soon?
Beginner
Number of monitoring servers: 1
Nagios Version: 3.3.0
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: 50
Number of services: 2000
OS: Ubuntu 12 LTS
Plugin Version: n/a
NagVis Version: 1.7b2
NDO Version: 1