--------------------------------------------------
From: "Michael Friedrich" <michael.friedr...@gmail.com>
Sent: Tuesday, October 23, 2012 12:34 PM
To: <icinga-users@lists.sourceforge.net>
Subject: Re: [icinga-users] Icinga fails to load npcdmod.o

> v g wrote:
>> Hello.
>>
>> I'm installing new monitoring server and icinga with pnp is part of it.
>> Running on Centos6 x64 - everything installed from rpmforge rpms:
> see the comment on pnp4nagios - not everything.
>> icinga-api-1.5.1-1.el6.rf.x86_64
> better drop that one, that's deprecated and won't be updated.
>
>> pnp4nagios-0.6.18-icinga.3.el6.i386
>
> where is that from, and why is that i386 and not x86_64? the actual
> repoforge rpm is tagged differently ('rf').

Actually - can't find it anymore on rf. The only repos I had were centos 
base and rpmforge. 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
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, downloaded src.rpm, 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.

>
>> icinga-idoutils-libdbi-mysql-1.7.2-1.el6.rf.x86_64
>>
>> I worked out all the issues with SElinux and the fact that changes to
>> /etc/icinga-web/conf.d/databases.xml do nothing and the file that needs
>> changing is actually in /usr/share/icinga-web/app/config/databases.xml 
>> (can
>> someone look into this btw?)
>
> run the clearcache script after manually applying changes, as every
> documentation or howto outlines.

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


>
>>
>> One thing though I'm not able to figure out  - icinga complains about 
>> npcd
>> not being found, but it is there.
>
> show it to us.

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$

>
>>
>> syslog icinga: Error: Could not load module
>> '/usr/lib/icinga/brokers/npcdmod.o' -> file not found
>>
>> I tried everything - changing permissions, turning off SElinux, moving 
>> the
>> file - no thing helps.
>
> again, be verbose on your shell.
>
>> /usr/lib64/icinga/idomod.so load just OK btw.
>>
>> Please help,
>> - Vadim
>>
>>
>> ------------------------------------------------------------------------------
>> 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
> 

------------------------------------------------------------------------------
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

Reply via email to