[Users] strange problem with nagios nrpe server

Steve Wray steve.wray at cwa.co.nz
Wed Dec 5 16:45:27 EST 2007


Just one other possible data point.

I may have just dismissed these problems as some kind of creeping 
senility but I've seen some other bizarre issues with VMs migrated into 
OpenVZ.

One of these is to do with Samba filesharing.

When the VM is migrated into OpenVZ from Xen, samba fileshares on the VM 
can be accessed from Windows *only* by FQDN not by bare hostname.

Note that this broke *existing* mapped network drives for Windows users.

Also note that this did *not* affect Linux nor OSX clients; only Windows.

Since I've verified that this wierdness is *only* apparent when the VM 
was running under OpenVZ not under Xen I'm not inclined to believe that 
I am going insane when I find that NRPE under Debian Sarge has a problem 
when running under OpenVZ and not under Xen.

It starts to seem that OpenVZ can produce all *kinds* of unpredictable 
behavior... either that or I really am going mad complete with 
hallucinations :-/ Not discounting that possibility out of hand...



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.
> 
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users



More information about the Users mailing list