nagvis icon indicating copy to clipboard operation
nagvis copied to clipboard

NagVis 1.9.11 in omd 3.0

Open matrix1000 opened this issue 5 years ago • 1 comments

Hi,

I've tried to install nagvis 1.9.11 into omd (OMD - Open Monitoring Distribution Version 3.00-labs-edition) with omd_install.sh.

But it doesn't work and I got the following errors: OMD[main@...]:/opt/omd/nagvis/nagvis-1.9.11$ ./omd_install.sh +--------------------------------------------------------------------+ | This script installs NagVis into the local/ path of your OMD site. | | The installation in the local/ path will then override the default | | NagVis installation included with OMD. | | | | When installed in local/ path NagVis will use the config and user | | files of the site. | | | | RECOMMENDED ONLY FOR TESTING | +--------------------------------------------------------------------+ Do you really want to continue? [y] y Installing... cp: cannot stat '/omd/sites/main/var/nagvis/userfiles/*': No such file or directory mkdir: cannot create directory ‘/omd/sites/main/etc/nagvis/conf.d’: No such file or directory cp: cannot stat '/omd/sites/main/etc/nagvis/conf.d/omd.ini.php': No such file or directory ./omd_install.sh: line 91: /omd/sites/main/etc/nagvis/conf.d/omd.ini.php: No such file or directory Reloading dedicated Apache for site main ...done.

Any idea?

matrix1000 avatar Apr 18 '19 07:04 matrix1000

Sorry, seems NagVis was removed from the omd-labs packages. Now the sites based on this version miss some directories which were always present before.

The script omd_install.sh would need to be tweaked to detect this situation correctly. I'll leave this open for someone else to solve.

LarsMichelsen avatar Jun 01 '19 22:06 LarsMichelsen