-------------------------------------------------- From: "Michael Friedrich" <michael.friedr...@gmail.com> Sent: Tuesday, October 23, 2012 3:09 PM To: <icinga-users@lists.sourceforge.net> Subject: Re: [icinga-users] Icinga fails to load npcdmod.o
> On 23.10.2012 20:30, v g wrote: >> >> Actually - can't find it anymore on rf. The only repos I had were centos >> base and rpmforge. > > I guess you installed that by hand, downloaded the rpm and then used yum > install or rpm -i on that one. > >> Now there is no binary on rpmforge, only source rpm >> pnp4nagios-0.6.18-1.src.rpm >> Did icinga yum install pulled those rpms from somewhere else? I followed >> install guide for Centos. Below is rpm info for that binary - if anyone >> knows how it came to be, please, let me know: >> ------------------- >> [root@syslog ~]# rpm -q --info pnp4nagios >> Name : pnp4nagios Relocations: (not relocatable) >> Version : 0.6.18 Vendor: (none) >> Release : icinga.3.el6 Build Date: Wed 01 Aug 2012 >> 07:46:43 AM EDT >> Install Date: Fri 28 Sep 2012 03:43:56 PM EDT Build Host: >> rpm32.nx.lan >> Group : Applications/System Source RPM: >> pnp4nagios-0.6.18-icinga.3.el6.src.rpm >> Size : 5211729 License: GPLv2 >> Signature : RSA/SHA1, Sun 12 Aug 2012 07:25:28 AM EDT, Key ID >> 6148b71579703ac4 >> Packager : Michael Weinberger > ^^^^^^^^^^^^^^^^^^^^^^ > > That is an individual, not someone known in the repoforge eco system. > > i did some google hunting to finally find the "nikoforge" repository > here - http://repo.nikoforge.org/redhat/el6/i386/ > > These are custom built rpms by a user. I highly advise anyone *NOT to > use those rpms* unless you know the consequences of package dependencies > and possible problems. > > repoforge is not always getting the latest and greatest, but there's > also a guide available on how to smoothly create updated rpms buy > yourself - if you trust team icinga ;-) > > https://wiki.icinga.org/display/howtos/Build+PNP+RPMs Yeah - I'm just gonna rebuild all rpms from source. Was trying to avoid it... > >> >> URL : http://www.pnp4nagios.org/ >> Summary : Nagios performance data analysis tool >> Description : >> PNP is an addon to nagios which analyzes performance data provided by >> plugins >> and stores them automatically into RRD-databases. >> >> Adapted to Icinga >> [root@syslog ~]# >> ------------------------- >> >> Anyway, I removed it, > > how? checked that all files were deleted? yum remove... yes - all but .rpmsave config were removed. >> downloaded src.rpm, > > downloaded from which location? rpmforge > >> rebuild it and installed >> pnp4nagios-0.6.18-1.x86_64.rpm, changed user to icinga. module config is >> missing from /etc/icinga/modules of course - I'll try to recover it. > > that is pretty easy, as it's just another module config. you can copy > the idoutils example and adjust it for your needs. Thanks >> >> Always did that + made sure cache dir is actually empty. Changes on >> /etc/icinga-web/conf.d/databases.xml were not reflected in >> /usr/share/icinga-web/app/config/databases.xml > > it is NOT the idea of the files in /etc/icinga-web/conf.d to somehow > update the other xmls - if you expect that. > those config files just allow you to be the last resort - they will > actually overwrite all settings you made within the app/* configs. and > they actually do on my rpm installed testfarm. maybe try use vim with > syntax on - it could be the case that your changes are actually > commented with <!-- foobar --> and icinga web just ignores them. > > >> >> Well, don't know if that's needed unless I can find out where the rpm >> came >> from. But... >> Bellow is actual /var/log/messages line: >> syslog icinga: Error: Could not load module >> '/usr/lib/icinga/brokers/npcdmod.o' -> file not found >> >> [root@syslog ]# su - icinga -s /bin/bash >> -bash-4.1$ pwd >> /var/spool/icinga >> -bash-4.1$ ls -la /usr/lib/icinga/brokers/npcdmod.o >> -rwxrwx---. 1 root root 35686 Aug 1 07:46 >> /usr/lib/icinga/brokers/npcdmod.o >> -bash-4.1$ > > you forgot the file command which is essential in that case. yeah, I did file before - 32-bit ELF, I uninstalled it before I could do ldd. Anyway - back to the beginning. Thank you, - Vadim > > > -- > DI (FH) Michael Friedrich > > mail: michael.friedr...@gmail.com > twitter: https://twitter.com/dnsmichi > jabber: dnsmi...@jabber.ccc.de > irc: irc.freenode.net/icinga dnsmichi > > icinga open source monitoring > position: lead core developer > url: https://www.icinga.org > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > icinga-users mailing list > icinga-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/icinga-users > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ icinga-users mailing list icinga-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/icinga-users