NRPE and NMAP problems?

Hiren Patel hir3npatel at gmail.com
Fri Aug 14 23:51:44 CEST 2009


Keller, Mark D wrote:
> Hi,
> 
> Can't seem to find anyone else with this problem, so hopefully this is the right place to ask.
> 
> I am using NRPE 2.12 on many systems. We have an NMAP scan that happens daily. In the logs for our systems we get the following during the nmap scan:
> 
> Aug 12 14:02:33 myserver nrpe[12265]: Error: Network server getpeername() failure (107: Transport endpoint is not connected)
> Aug 12 14:02:33 myserver nrpe[12265]: Daemon shutdown
> 
> I can recreate the error by running: nmap -sT -p 5666 localhost
> 
> The funny thing is that nrpe doesn't actually shutdown, but it does remove the pid file. So any restart scripts that rely on the pid file, now fail.
> 
> Could I be doing something wrong or is this a bug? I can repeat this on Linux, Solaris, and AIX with NRPE 2.12.
> 

it seems like a bug to me, although I haven't been able to reproduce it 
on ubuntu.
could you test the attached diff to see if it helps any.
thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nrpe.diff
Type: text/x-patch
Size: 475 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20090814/5f941bee/attachment.bin>
-------------- next part --------------
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list