[op5-users] How to Geomap ?

Jean-Marc LE FEVRE eos at etatcritik.dyndns.org
Sun Nov 29 11:21:02 CET 2009




I've find out a workaround for the locations file :
As it is not possible to add new location, but to modify it, I just  
create a fake location in the locations.xml file :



<?xml version="1.0" standalone="yes"?>
<locations>
<location id="1" point="48.858175,2.294378" label="Eiffel Tower"  
address="Paris France" description="The eiffel tower in Paris foo bar  
and more" action="nagios:"><host name="[replace with the host name of  
the monitored host according to ninja]" address="[replace with the IP  
address of your monitored host]" alias="[replace with your monitored  
host alias]"/></location>
</locations>

then I modify in geomap flash.

About the mysql error, I've log all query with mysql to seek for the  
error, but the bug didn't show anymore, Maybe the mysql restart did  
the  trick ? maybe some cache feature ?
About the empty locations.xml on the appliance, my mistake I was  
browsing beta op5 demo and looking on the appliance locations.xml....  
all wrong.


I've also found a 'minor' bug using Safari and geomap, clicking on an  
item works (show details) but double clicking don't (I've tried all  
options available in the geomap flash app). Anyway, it works with  
Firefox very well.


Le 29 nov. 09 à 10:25, Jean-Marc LE FEVRE a écrit :

> I've forgot to say that I have to exact same error on the virtual  
> appliance ( that I didn't modify since download) Althought on the  
> virtual appliance, I have the delete / save button OK
> I(ve also notice that on the appliance,  the nagvis locations.xml is  
> empty but the drop down list in the ui have datas.
>
>
>
> Le 29 nov. 09 à 10:21, Jean-Marc LE FEVRE a écrit :
>
>> As I mentionned yestderday, it is not over ....
>>
>> I'v a new errror linked to amf-server.php :
>> When I go to the geomap, and want to set a new location. On the  
>> Monitored object panel, if I try to browse I get channel  
>> disconnected (That step used to work but it maybe a cache issue ?).  
>> I've looked into irebug performance panel and see this error linked  
>> to the amf-server.php call. This is quite not explicit ...
>> You have an error in your SQL syntax; check the manual that  
>> corresponds to your MySQL server version for the right syntax to  
>> use near '' at line 5
>>
>>
>>
>>
>>
>> Le 28 nov. 09 à 13:45, Russell Jennings a écrit :
>>
>>> What version of nagvis? 1.4 or 1.5?
>>> What permissions did you need to adjust?
>>> Please provide any info that may be helpful in other users who are  
>>> trying to get it up and running (such as myself!)
>>>
>>>
>>> On Nov 28, 2009, at 6:04 AM, Jean-Marc LE FEVRE wrote:
>>>
>>>>
>>>> Le 28 nov. 09 à 11:20, Russell Jennings a écrit :
>>>>
>>>>> Not at all what i'm asking.
>>>>>
>>>>> For me, I get "channel disconnected" which, i suspect is because  
>>>>> my
>>>>> nagvis install isn't working (can't seem to get it to play with
>>>>> merlin). So, i imagine if i get that backend working, the frontend
>>>>> will fall in... but thats theory. I agree the geopmap widget is  
>>>>> a big
>>>>> sell for me as well.
>>>>>
>>>>>
>>>>
>>>> Sorry didn't understand ... English is not my mother language and  
>>>> now I wish at listen at school in english lesson :(
>>>> Nagvis is working correctly for the 1.4 branch. When I tested  
>>>> with 1.5 branch I had a doubt because of sqlite intégration.
>>>>
>>>>
>>>> I've checked futher for error with firebug and realize that in  
>>>> network performance I get error message 'from" the swf by  
>>>> studying the POST request / response. (please notice It doesn't  
>>>> appear in the console)
>>>> I had some certificates error , file disk permissions, some few  
>>>> bug due to php 5.3, but  now : I GET IT WORKING !!! using nagvis  
>>>> that was in op5 virtual appliance.
>>>> I've set up my google maps key and  now I can play with it.
>>>>
>>>>
>>>>
>>>> The only features that I didn't find how to use is the location  
>>>> feature. I've set up all fields, but i can't see how to save the  
>>>> datas
>>>> I understand that the link feature is depending of the location  
>>>> feature, and so I couldn't test it.
>>>>
>>>> About geomap for sure it is an important part of the solution. It  
>>>> is sexy, in fashion, could be usefull and save me lots of time  
>>>> because I don't need to create nagvis geographical maps by hand...
>>>>
>>>> Anyway, thank you all for time spending and for all theses  
>>>> advices you gave me !!!
>>>>
>>>>
>>>>
>>>>
>>>>> On Nov 28, 2009, at 5:16 AM, Jean-Marc LE FEVRE wrote:
>>>>>
>>>>>> I can use nagvis, but if I wanted nagvis without geomap, I  
>>>>>> wouldn't
>>>>>> even looked into ninja....
>>>>>>
>>>>>>
>>>>>> Le 28 nov. 09 à 11:13, Russell Jennings a écrit :
>>>>>>
>>>>>>> can you use nagvis, otherwise? or does it not work at all for  
>>>>>>> you?
>>>>>>>
>>>>>>>
>>>>>>> On Nov 28, 2009, at 5:04 AM, Jean-Marc LE FEVRE wrote:
>>>>>>>
>>>>>>>> Le 27 nov. 09 à 13:47, Roman Kyrylych a écrit :
>>>>>>>>
>>>>>>>>> Jean-Marc LE FEVRE wrote:
>>>>>>>>>> Le 26 nov. 09 à 12:58, Roman Kyrylych a écrit :
>>>>>>>>>>> BTW where did you get Geomap?
>>>>>>>>>>
>>>>>>>>>> I didn't write down here I find all release I tested
>>>>>>>>>> (unfortunelty)
>>>>>>>>>> But I found all I get on sourceforge, op5 sites, and nagvis  
>>>>>>>>>> git.
>>>>>>>>>> All
>>>>>>>>>> version I used are public release.
>>>>>>>>>> The lastest 1.4 and 1.5 release of nagvis I tried came from
>>>>>>>>>> respectivly the nagvis nightly build version and  http://nagvis.git.sourceforge.net
>>>>>>>>>
>>>>>>>>> This is the root of all problems.
>>>>>>>>> There are lots of changes going on in NagVis now,
>>>>>>>>> so Geomap can be considered as broken until 1.5 final release.
>>>>>>>>>
>>>>>>>>> In fact, there is no Geomap in nagvis-1.4 branch at all:
>>>>>>>>> http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=tree;h=refs/heads/nagvis-1.4;hb=refs/heads/nagvis-1.4
>>>>>>>>> It was removed long time ago:
>>>>>>>>> http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commitdiff;h=47772ae243e9c09f69eb735104543f3c956089c9
>>>>>>>>>
>>>>>>>>> Can you point me to NagVis release tarball that contains  
>>>>>>>>> Geomap?
>>>>>>>>> You also mentioned op5 sites, can you point me to a place  
>>>>>>>>> where
>>>>>>>>> NagVis
>>>>>>>>> is provided there. Same for NagVis 1.4 nightly builds.
>>>>>>>>>
>>>>>>>>
>>>>>>>> In my memory, I went on the nagvis official site and click on  
>>>>>>>> get
>>>>>>>> nightly buld.
>>>>>>>>
>>>>>>>>> It is just that Geomap is not supposed to be released until  
>>>>>>>>> NagVis
>>>>>>>>> 1.5,
>>>>>>>>> and until it will be released it is only available (in a  
>>>>>>>>> working
>>>>>>>>> state)
>>>>>>>>> as experimental part of the latest op5 Monitor.
>>>>>>>>
>>>>>>>> Lots of version of nagvis have netmap and geomap in the  
>>>>>>>> archive.
>>>>>>>>
>>>>>>>>>
>>>>>>>>>>> And op5's nagvis repo is not available at http://git.op5.org/git/
>>>>>>>>>>> So I suppose you have installed monitor-nagvis package,
>>>>>>>>>>
>>>>>>>>>> Nop, what is it ?
>>>>>>>>>
>>>>>>>>> It's a package of a customized NagVis based on version 1.4.1
>>>>>>>>> with added integration with Ninja.
>>>>>>>>> It is avaliable as part of the latest release op5 Monitor,
>>>>>>>>> There is a tarball and a virtual appliance with a trial  
>>>>>>>>> version
>>>>>>>>> on op5 website.
>>>>>>>>>
>>>>>>>>
>>>>>>>> I've tried the op5 virtual appliance, and geomap work on it.
>>>>>>>> I've seen no mention of monitor-nagvis thought.
>>>>>>>>
>>>>>>>> I made a copy of nagvis to my installation with no success.
>>>>>>>> I'll look deeper on this way as I don't ned op5 monitor, just  
>>>>>>>> ninja
>>>>>>>> and merlin.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> -- 
>>>>>>>>> Roman Kyrylych
>>>>>>>>> Software engineer
>>>>>>>>> N-iX LLC
>>>>>>>>> Solutions for Your success
>>>>>>>>> http://www.n-ix.com
>>>>>>>>> _______________________________________________
>>>>>>>>> op5-users mailing list
>>>>>>>>> op5-users at lists.op5.com
>>>>>>>>> http://lists.op5.com/mailman/listinfo/op5-users
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> op5-users mailing list
>>>>>>>> op5-users at lists.op5.com
>>>>>>>> http://lists.op5.com/mailman/listinfo/op5-users
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> op5-users mailing list
>>>>>>> op5-users at lists.op5.com
>>>>>>> http://lists.op5.com/mailman/listinfo/op5-users
>>>>>>
>>>>>> _______________________________________________
>>>>>> op5-users mailing list
>>>>>> op5-users at lists.op5.com
>>>>>> http://lists.op5.com/mailman/listinfo/op5-users
>>>>>
>>>>> _______________________________________________
>>>>> op5-users mailing list
>>>>> op5-users at lists.op5.com
>>>>> http://lists.op5.com/mailman/listinfo/op5-users
>>>>
>>>> _______________________________________________
>>>> op5-users mailing list
>>>> op5-users at lists.op5.com
>>>> http://lists.op5.com/mailman/listinfo/op5-users
>>>
>>> _______________________________________________
>>> op5-users mailing list
>>> op5-users at lists.op5.com
>>> http://lists.op5.com/mailman/listinfo/op5-users
>>
>> _______________________________________________
>> op5-users mailing list
>> op5-users at lists.op5.com
>> http://lists.op5.com/mailman/listinfo/op5-users
>
> _______________________________________________
> op5-users mailing list
> op5-users at lists.op5.com
> http://lists.op5.com/mailman/listinfo/op5-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.op5.com/pipermail/op5-users/attachments/20091129/2f4e0f09/attachment-0001.html 


More information about the op5-users mailing list