On 03.01.2012 22:16, Alan McKay wrote:
> Hi folks,
>
> First question is - where is the "official tarball" for NRPE mentioned here :
> http://docs.icinga.org/latest/en/nrpe.html

on nagios.org or use packages from your distribution (which i consider 
the better way).

>
> For the life of me I can only find a git download, and when I use that
> I see warnings about it being a dev release.   And maybe that is what
> is causing my other issues.

that's true and -dev stands there for a simple reason - do not use that 
git in production. it's being hacked around and when we feel it's ready 
for a release, we will do it from a seperated release branch - just like 
we do in the other icinga projects. until then, please use the old grown 
nrpe mentioned above.

https://dev.icinga.org/projects/core-nrpe/roadmap

>
> For that matter, it links to packages if you do not want to do a
> source install, but there are no packages at that location for NRPE.

true. that change was intended in the mood of release icinga-nrpe soon 
enough. did not happen yet due to some patch reworkings with dualstacked 
ipv4 and ipv6 support (https://dev.icinga.org/issues/2102)

for now, please refer doing some research on the repos yourself, such as

# yum search nrpe
# apt-cache search nrpe

or head over to wiki.icinga.org - howtos and check for some shortcut 
install guides for debian or rhel.


>
> But in general I have been having good luck with sources and building
> my own RPMs - already did that with Icinga and Nagios Plugins, and
> even the GIT tarball of NRPE.  Works well - well done!

mh afaik the provided spec file is not yet uptodate in git. at least 
i've created an issue for that
https://dev.icinga.org/issues/2071
repoforge uses a different one so this needs some love (like the newly 
introduced initscript).

>
> Anyway, I'm trying to get NRPE running on a single host so far.   My
> Icinga server is running, and I want to now set up come check_nrpe
> checks on other systems.   And for the love of gawd I don't want to
> use SSL please :-)

hmmm, this isn't the git snapshot right? this won't work that exact way, 
as the dh encryption was removed and replaced with x509 certificates.

>
> So when it comes down to my test, I do this :
>
> -bash-3.2$ /usr/lib/nagios/plugins/check_nrpe -n -H solexa2 -c check_users
> CHECK_NRPE: Error receiving data from daemon.

do a tcpdump on both hosts, grepping for the 5668 port.

# tcpdump -vv -i eth0 | grep 5668

maybe the handshake cannot even complete ...

>
> But I just cannot figure out why it is not connecting.
>
> On my remote system I have enabled debugging, so I check the
> /var/log/messages and see this :
>
> Jan  3 16:12:32 solexa2 nrpe[12532]: Connection from 192.168.160.10 port 57563
>
> Which matches up with my server trying to contact me.   I have the
> server IP enabled in my nrpe.cfg, and I see when nrpe starts up that
> it reports this :
>
> Jan  3 15:49:35 solexa2 nrpe[10141]: Allowing connections from:
> 127.0.0.1,192.168.160.10
>
> I just cannot find any more useful debug info or messages anywhere to
> tell me why it is not working.  I did some googling and found a bunch
> of stuff but no solutions for my problem :-(

can i see the configs? likewise

# egrep -v "^#|^$" nrpe.cfg

>
> Seems pretty basic to be having this much trouble.   So I must be
> doing something really stupid :-)   Oh, and I am running the
> check_nrpe command as using icinga.

show us the complete shell output, especially how you become icinga user 
and which environment that is.

and last but not least

* versions used
* os used on client and master
* does nrpe run as daemon or within (x)inetd

kind regards,
michael

>
> thanks,
> -Alan
>


-- 
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email:     [email protected]
phone:     +43 1 4277 14359
mobile:    +43 664 60277 14359
fax:       +43 1 4277 14338
web:       http://www.univie.ac.at/zid
            http://www.aco.net

Lead Icinga Core Developer
http://www.icinga.org


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to