[op5-users] How to Geomap ?
Jean-Marc LE FEVRE
eos at etatcritik.dyndns.org
Thu Nov 26 19:28:12 CET 2009
Hello,
I checked different PATH tried different path (full, relative) with no
success
I've also tried with latest form git Nagvis aka 1.5. Directory
structure is not the same as 1.4 version and I did some ln -s to make
the test environment work.
I didn't have any success with 1.5 too. I'm also not sure their was an
evolution on netmap in this release.
Le 26 nov. 09 à 11:56, Roman Kyrylych a écrit :
> Jean-Marc LE FEVRE wrote:
>> Hello,
>>
>>
>> I've correct php file, make a little patch to force a ending / on
>> path
>> in getValue function.
>> Now I've corrected this I've got a new error !
>>
>>
>> Call to undefined method GlobalCore::getMainCfg() in /usr/share/
>> nagios/
>> addons/nagvis/netmap/SettingsService.php on line 49
>>
>> The GlobalCore object seems ok to me (I've dump its content into a
>> file) and I checked that getMainCfg() function exists using grep.
>>
>> On the browser I get Error : Error as the amf-server.php is returning
>> an internal server error.
>>
>> Any idea on this error ?
>
> Check if the following lines in amf-server.php produce correct paths:
> define('NAGVIS_PATH', realpath(dirname($_SERVER['SCRIPT_FILENAME']) .
> '/../..') . '/');
> define('INCLUDE_PATH', NAGVIS_PATH . 'share/nagvis/includes/');
> define('CONFIG_PATH', NAGVIS_PATH . 'etc/geomap/');
>
> I suspect that NAGVIS_PATH is not detected correctly.
>
> --
> 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
More information about the op5-users
mailing list