Nagios and NSClient++ memory leak issue

Travis Hansen thansen at plurisinc.com
Thu Aug 2 21:22:25 CEST 2007


Greetings,

            We have been using Nagios for a while now and have had
NSClient installed on several boxes with Windows 2003 SP1.  One of the
boxes had an issue with NSClient that involved a memory leak that
consistently brought the server down after approximately 2 days.  We
believe the issue stemmed from an error message that is generated every
~ 70 seconds.

 

            I updated the client to NSClient++ in hopes that this would
fix the issue, but it appears that the issue remains.  The monitoring
still works (which proves we have two way communication), but the error
is created nonetheless.  The log file reports this error approximately
every 70 seconds:

 

2007-08-02 15:05:12: debug:.\PDHCollector.cpp:101: Detected language:
English US (0x0409)

2007-08-02 15:05:12: debug:.\NSClient++.cpp:305: Loading plugin: NRPE
server...

2007-08-02 15:05:12: error:.\PDHCollector.cpp:119: Attempting to open
counter...

2007-08-02 15:05:12: error:.\PDHCollector.cpp:122: Counters opend...

2007-08-02 15:05:12: debug:.\NSClient++.cpp:305: Loading plugin:
NSClient server...

2007-08-02 15:05:12: debug:c:\source\nscp\trunk\include\Socket.h:515:
Bound to: 0.0.0.0:1248

2007-08-02 15:05:12: debug:c:\source\nscp\trunk\include\Socket.h:515:
Bound to: 0.0.0.0:5666

2007-08-02 15:05:12: debug:c:\source\nscp\trunk\include\Socket.h:521:
Socket ready...

2007-08-02 15:05:12: debug:c:\source\nscp\trunk\include\Socket.h:521:
Socket ready...

2007-08-02 15:05:36: debug:.\NSClientListener.cpp:141: Data: GIOP

2007-08-02 15:05:36: error:.\NSClientListener.cpp:155: Invalid password
(GIOP

2007-08-02 15:06:45: debug:.\NSClientListener.cpp:141: Data: GIOP

2007-08-02 15:06:45: error:.\NSClientListener.cpp:155: Invalid password
(GIOP

 

The NSClientListener is reporting an invalid password, but we do not
have a password set in our cfg file and we are not passing it from the
Nagios server.  Anyone seen this issue before?

 

Thanks

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070802/c1d18c69/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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


More information about the Users mailing list