OpenVZ Forum


Home » Mailing lists » Users » strange problem with nagios nrpe server
Re: strange problem with nagios nrpe server [message #24928 is a reply to message #24520] Wed, 12 December 2007 08:57 Go to previous messageGo to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Just for the history/other users the resolution of the problem Steve had:

OpenVZ was installed on XFS, while Xen used ext3 file system.
XFS doesn't support filetype feature (d_type field returned by readdir()/getdents64()),
so d_type is always reported as DT_UNKNOWN.

nrpe application from Debian Sarge repository has a bug
(fixed in Etch?), so it didn't handle files with unknown types and thus
didn't saw config files.

Steve switched to ext3 file system and the problem has gone.

Thanks,
Kirill



Steve Wray wrote:
> Hi there,
> I just took some filesystems from servers which have been running under 
> Xen for some time and converted them to openvz.
> 
> I've found a very strange issue.
> 
> We monitor our servers with Nagios and each server runs the Nagios nrpe 
> server.
> 
> Our config system for Nagios involves several Nrpe config files in 
> /etc/nagios/nrpd.d/ and a config directive in nrpe.cfg pointing to this 
> directory with:
> 
> include_dir=/etc/nagios/nrpe.d
> 
> I have found that while this directive works under Xen this does not 
> work under openvz.
> 
> I've tested this by taking the filesystem back and forth between Xen and 
> Openvz and it is definitely only a problem in Openvz.
> 
> Also, our VMs are running Debian.
> 
> Debian Etch does not exhibit this problem; only Debian Sarge.
> 
> I'm at a loss to explain this... it seems really wierd.
> 
> /proc/user_beancounters shows no failcnt for anything.
> 
> Surely I am missing something here? Any advice on debugging this would 
> be appreciated.
> 
> 
> 
> Thanks
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Network configuration
Next Topic: Question on openvz install on ubuntu
Goto Forum:
  


Current Time: Sat Sep 28 16:12:50 GMT 2024

Total time taken to generate the page: 0.03967 seconds