-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gaurav Ghimire wrote: > Dear all, > > I have a remote server monitored using NRPE. Recently what I found was when > my LDAP server went off, I was given a "CHECK_NRPE: Socket timeout > after 10 seconds." . This could have been the cause had nsswitch.conf in the > box with NRPE installed has hosts queried via LDAP as well. But > that isn't the case. Can there be any other reason? Any one ever came across > this situation. > > Regards
Dear all, Yes the problem was with my nsswitch.conf. I was on a guess that nrpe was querying my ldap servers for the services, but it wasn't the case (my nsswitch.conf was configured to query only files for the services). Instead NRPE was querying LDAP for the group that was causing the timeouts. The default timeout for NRPE was of 10 seconds and that for my LDAP server was more than 10, that was causing the error. Doing "group files [unavail=return] ldap" in my nsswitch.conf and reducing the gid for nagios group to less than 500 helped solve the problem. Regards, - -- Gaurav Ghimire System Administrator Subisu Cablenet (P.) Ltd. 148 Thirbum Sadak Baluwatar, Kathmandu Nepal T: 00977 1 4429616/17 Ext.: 110 F: 00977 1 4430572 http://www.subisu.net.np First and Only True Cable Internet Service Provider in Nepal (An ISO 9001:2000 Certified Company) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkoNZOsACgkQnfv7imVnL2vOjgCg0TMvkNItwid90GS83VpmpgRf Kd8An08ID5XdLhNUtzUtNMq4Iykm92uC =gkpa -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
