[omd-users] Nagvis "backendNotDefined" error in OMD

Michael Van Wesenbeeck michael+omdu at arionbvba.be
Tue Sep 29 15:30:46 CEST 2015


Hi Simone,

There is still an old backend configured in nagvis.ini.php:

/omd/sites/cre126p12/etc/nagvis/nagvis.ini.php:backend=“lamp" 

You can just replace the previous site name “lamp” with the current one in nagvis.ini.php

It seems “mod cp “ did not alter the config in that ini file.

HTH,
Michael Van Wesenbeeck
Arion bvba



> On 29 Sep 2015, at 14:55, Marcel Schulte <schulte.marcel at gmail.com> wrote:
> 
> All OK here accessing the URL. But we did not copy our site... ;-)
> 
> You could edit ~/share/nagvis/htdocs/frontend/nagvis-js/index.php and add some more debug output so you get more than the provided message. But don't ask me how, I'm not very experienced in PHP.
> 
> Best regards, Good Luck,
> Marcel
> 
> Simone Setti <ssetti at lamp.it <mailto:ssetti at lamp.it>> schrieb am Di., 29. Sep. 2015 um 14:41 Uhr:
> Yes, i copy the previous site (with the command "omd cp") and rename it with the version number, so the site name is "cre126p12". 
> I can see in the output the previuos sites names ("lamp") and other things that I do not know (ndomy, merlinmy ecc.) 
> 
> For the error, if I go to: 
> http://myservername/cre126p12/nagvis/frontend/nagvis-js/index.php <http://nag01.lsp.it/cre126p12/nagvis/frontend/nagvis-js/index.php> 
> I see only " ERROR: backendNotDefined " 
> 
> Thanks, 
> Simone 
> 
> 
> 
> 
> 
> Da:        Marcel Schulte <schulte.marcel at gmail.com <mailto:schulte.marcel at gmail.com>> 
> Per:        Simone Setti <ssetti at lamp.it <mailto:ssetti at lamp.it>> 
> Cc:        omd-users at lists.mathias-kettner.de <mailto:omd-users at lists.mathias-kettner.de> 
> Data:        29/09/2015 14.21 
> Oggetto:        Re: Re: Re: [omd-users] Nagvis "backendNotDefined" error in OMD 
> 
> 
> 
> Hi Simone, 
> 
> many different version files in there... And your site is named like used version? Did you rename it? 
> 
> The exact error message is still missing... 
> 
> Regards, 
> Marcel 
> 
> Simone Setti <ssetti at lamp.it <mailto:ssetti at lamp.it>> schrieb am Di., 29. Sep. 2015 um 14:05 Uhr: 
> I have upgrade from the version Open Monitoring Distribution Version 1.2.6p7.cre 
> Probably the problem there was already in the previous version 1.2.6p5.cre, the first version thast I use with the Check_MK CRE edition. 
> 
> This is the output: 
> 
> OMD[cre126p12]:~$ grep -r backend ~/etc/nagvis/*|grep -v ':;' 
> /omd/sites/cre126p12/etc/nagvis/apache.conf:    # frontend and http in the backend apache servers. 
> /omd/sites/cre126p12/etc/nagvis/conf.d/omd.ini.php:backend="cre126p12" 
> /omd/sites/cre126p12/etc/nagvis/conf.d/omd.ini.php:[backend_cre126p12] 
> /omd/sites/cre126p12/etc/nagvis/conf.d/omd.ini.php:backendtype="mklivestatus" 
> /omd/sites/cre126p12/etc/nagvis/conf.d/demo.ini.php:[backend_demo] 
> /omd/sites/cre126p12/etc/nagvis/conf.d/demo.ini.php:backendtype=Test 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php:backend="lamp" 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php:[backend_live_1] 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php:backendtype="mklivestatus" 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php:[backend_ndomy_1] 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php:backendtype="ndomy" 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php-1.10:[backend_live_1] 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php-1.10:backendtype="mklivestatus" 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php-1.10:[backend_ndomy_1] 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php-1.10:backendtype="ndomy" 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php-1.10:[backend_merlinmy_1] 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php-1.10:backendtype="merlinmy" 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php-1.11.20140225:[backend_live_1] 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php-1.11.20140225:backendtype="mklivestatus" 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php-1.11.20140225:[backend_ndomy_1] 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php-1.11.20140225:backendtype="ndomy" 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php-1.21.20150301:[backend_live_1] 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php-1.21.20150301:backendtype="mklivestatus" 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php-1.21.20150301:[backend_ndomy_1] 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php-1.21.20150301:backendtype="ndomy" 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php.orig:backend="lamp" 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php.orig:[backend_live_1] 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php.orig:backendtype="mklivestatus" 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php.orig:[backend_ndomy_1] 
> /omd/sites/cre126p12/etc/nagvis/nagvis.ini.php.orig:backendtype="ndomy" 
> 
> Thanks 
> Simone 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mathias-kettner.de/pipermail/omd-users/attachments/20150929/830319dd/attachment.html>


More information about the omd-users mailing list