[Users] strange problem with nagios nrpe server

Kirill Korotaev dev at sw.ru
Thu Dec 6 03:38:55 EST 2007


Steve Wray wrote:
> Gregor Mosheh wrote:
> 
>>The good news is that I use Nagios with our VPSs, and it works brilliantly.
>>
>>
>>>include_dir=/etc/nagios/nrpe.d
>>>I have found that while this directive works under Xen this does not 
>>>work under openvz.
>>
>>I find that surprising. Are you sure that the permissions didn't get 
>>mangled when you copied it over to ovz? That's the first thing I'd 
>>check: making sure that /etc/nagios/nrpe.d is in fact a directory, and 
>>that's readable by the user who runs nrpe (user nagios?).
> 
> 
> Believe me, thats the first thing I checked.
> 
> I've run nrpd under strace and see nothing out of the ordinary; it finds 
> the correct number of files in the nrpd.d directory. Not much of a whizz 
> with strace tho so don't know where to go from here.

Can you take
# strace -f -o somefile <nrpe>
from both working (Xen) and non-working (OVZ) installations?

Is it possible to get a login with exact instructions how to reproduce the issue
on your box? this would help to resolve it ASAP and make sure it's not a black magic :@)

Thanks,
Kirill



More information about the Users mailing list