Opened 2 years ago
Closed 6 months ago
#462 closed defect (fixed)
Intermittently Connection Refused on Windows Server 2008 SP2 x64
| Reported by: | diesel | Owned by: | mickem |
|---|---|---|---|
| Priority: | 1 | Milestone: | 0.4.1 |
| Component: | NSClientListener | Version: | 0.4.0 |
| Severity: | Bugs | Keywords: | |
| Cc: |
Description
Hi.
In a Windows Server 2008STD SP2 x64, intermittently (every 15-20 minutes aprox.) occurs a Connection Refused error in any check_nt service.
In log appears "e \NSClientListener.cpp(275) Read on socket failed: recv returned SOCKET_ERROR:10054: An existing connection was forcibly closed by the remote host."
Here is a piece of LOG in server.
d NSClient++.cpp(1106) Injecting: checkServiceState: ShowAll, Spooler, nsclient d NSClient++.cpp(1142) Injected Result: OK 'Spooler: Started' d NSClient++.cpp(1143) Injected Performance Result: '' d \NSClientListener.cpp(146) Data: None&5&ShowAll&MSSQL$SQLEXPRESS d \NSClientListener.cpp(171) Data: ShowAll&MSSQL$SQLEXPRESS d NSClient++.cpp(1106) Injecting: checkServiceState: ShowAll, MSSQL$SQLEXPRESS, nsclient d NSClient++.cpp(1142) Injected Result: OK 'MSSQL$SQLEXPRESS: Started' d NSClient++.cpp(1143) Injected Performance Result: '' d \NSClientListener.cpp(146) Data: None&5&ShowAll&ButilWatch d \NSClientListener.cpp(171) Data: ShowAll&ButilWatch d NSClient++.cpp(1106) Injecting: checkServiceState: ShowAll, ButilWatch, nsclient d NSClient++.cpp(1142) Injected Result: OK 'ButilWatch: Started' d NSClient++.cpp(1143) Injected Performance Result: '' d \NSClientListener.cpp(146) Data: None&1 d \NSClientListener.cpp(171) Data: e \NSClientListener.cpp(275) Read on socket failed: recv returned SOCKET_ERROR:10054: An existing connection was forcibly closed by the remote host. d \NSClientListener.cpp(146) Data: None&5&ShowAll&ButilHost d \NSClientListener.cpp(171) Data: ShowAll&ButilHost d NSClient++.cpp(1106) Injecting: checkServiceState: ShowAll, ButilHost, nsclient d NSClient++.cpp(1142) Injected Result: OK 'ButilHost: Started' d NSClient++.cpp(1143) Injected Performance Result: '' d \NSClientListener.cpp(146) Data: None&4&c d \NSClientListener.cpp(171) Data: c d NSClient++.cpp(1106) Injecting: CheckDriveSize: c, nsclient d NSClient++.cpp(1142) Injected Result: OK '37037633536&53684989952' d NSClient++.cpp(1143) Injected Performance Result: '' d \NSClientListener.cpp(146) Data: None&3 d \NSClientListener.cpp(171) Data:
At Nagios, in command line, I made a little script that do a check in a service every 2 seconds with no error during 24 hours.
while true; do date >> /tmp/service.txt; ./check_nt -H <server> -v UPTIME -w 80 -c 90 -p 12489 >> /tmp/service.txt; sleep 2; done
In 20 others servers (Win2k3 x32) the problem not occurs.
I configure timeout to 60 seconds in NSC.INI and check_nt.
nsclient++ version: NSClient++ 0.3.8.76 2010-05-27 x64
check_nt version: check_nt v1.4.14 (nagios-plugins 1.4.14)
Change History (9)
comment:1 follow-up: ↓ 2 Changed 16 months ago by mickem
- Milestone set to 0.4.0
- Resolution set to worksforme
- Status changed from new to closed
comment:2 in reply to: ↑ 1 Changed 13 months ago by diesel
- Resolution worksforme deleted
- Status changed from closed to reopened
- Version changed from 0.3.8 to 0.4.0
Replying to mickem:
Has been rewritten for 0.4.0 so hopefully fixed...
The problem continues... as seen in Alert History:
Windows server 2008 64bits using nsclient++ version 4.0.169 (x64 and win32). There is no firewall on server. This time, in commandline, I have a connection refused too. I think this problem seens multiple connection problem.
May 04, 2012 07:00 [05-04-2012 07:54:46] SERVICE ALERT: <server>;Uptime;OK;SOFT;2;System Uptime - 44 day(s) 21 hour(s) 9 minute(s) [05-04-2012 07:53:46] SERVICE ALERT: <server>;Uptime;CRITICAL;SOFT;1;Connection refused [05-04-2012 07:49:31] SERVICE ALERT: <server>;SQL EXPRESS;OK;SOFT;2;MSSQL$SQLEXPRESS: Started [05-04-2012 07:48:31] SERVICE ALERT: <server>;SQL EXPRESS;CRITICAL;SOFT;1;Connection refused [05-04-2012 07:39:21] SERVICE ALERT: <server>;<service> Host Service;OK;SOFT;2;<service>Host: Started [05-04-2012 07:38:21] SERVICE ALERT: <server>;<service> Host Service;CRITICAL;SOFT;1;Connection refused May 04, 2012 06:00 [05-04-2012 06:59:16] SERVICE ALERT: <server>;NSClient++ Version;OK;SOFT;2;NSClient++ 0,4,0,169 2012-05-01 [05-04-2012 06:58:16] SERVICE ALERT: <server>;NSClient++ Version;CRITICAL;SOFT;1;Connection refused [05-04-2012 06:39:01] SERVICE ALERT: <server>;Spooler;OK;SOFT;2;Spooler: Started [05-04-2012 06:38:01] SERVICE ALERT: <server>;Spooler;CRITICAL;SOFT;1;Connection refused [05-04-2012 06:29:01] SERVICE ALERT: <server>;C: Drive Space;OK;SOFT;2;c:\ - total: 50.00 Gb - used: 38.82 Gb (78%) - free 11.18 Gb (22%) [05-04-2012 06:28:01] SERVICE ALERT: <server>;C: Drive Space;CRITICAL;SOFT;1;Connection refused [05-04-2012 06:19:01] SERVICE ALERT: <server>;D: Drive Space;OK;SOFT;2;d:\ - total: 50.00 Gb - used: 17.24 Gb (34%) - free 32.76 Gb (66%) [05-04-2012 06:18:01] SERVICE ALERT: <server>;D: Drive Space;CRITICAL;SOFT;1;Connection refused May 04, 2012 05:00 [05-04-2012 05:49:01] SERVICE ALERT: <server>;<service> Scheduler;OK;SOFT;2;<service>Watch: Started [05-04-2012 05:48:01] SERVICE ALERT: <server>;<service> Scheduler;CRITICAL;SOFT;1;Connection refused [05-04-2012 05:39:01] SERVICE ALERT: <server>;Memory Usage;OK;SOFT;2;Memory usage: total:8408.73 Mb - used: 1564.56 Mb (19%) - free: 6844.17 Mb (81%) [05-04-2012 05:38:01] SERVICE ALERT: <server>;Memory Usage;CRITICAL;SOFT;1;Connection refused [05-04-2012 05:29:01] SERVICE ALERT: <server>;CPU Load;OK;SOFT;2;CPU Load 5% (5 min average) [05-04-2012 05:28:01] SERVICE ALERT: <server>;CPU Load;CRITICAL;SOFT;1;Connection refused [05-04-2012 05:08:46] SERVICE ALERT: <server>;Uptime;OK;SOFT;2;System Uptime - 44 day(s) 18 hour(s) 23 minute(s) [05-04-2012 05:07:46] SERVICE ALERT: <server>;Uptime;CRITICAL;SOFT;1;Connection refused May 04, 2012 04:00 [05-04-2012 04:38:31] SERVICE ALERT: <server>;SQL EXPRESS;OK;SOFT;2;MSSQL$SQLEXPRESS: Started [05-04-2012 04:37:31] SERVICE ALERT: <server>;SQL EXPRESS;CRITICAL;SOFT;1;Connection refused [05-04-2012 04:01:29] SERVICE ALERT: <server>;<service> Host Service;OK;SOFT;2;<service>Host: Started May 04, 2012 03:00 [05-04-2012 03:58:14] SERVICE ALERT: <server>;<service> Host Service;CRITICAL;SOFT;1;Connection refused [05-04-2012 03:48:52] SERVICE ALERT: <server>;NSClient++ Version;OK;SOFT;2;NSClient++ 0,4,0,169 2012-05-01 [05-04-2012 03:46:07] SERVICE ALERT: <server>;NSClient++ Version;CRITICAL;SOFT;1;Connection refused May 04, 2012 02:00 [05-04-2012 02:56:03] SERVICE ALERT: <server>;C: Drive Space;OK;SOFT;2;c:\ - total: 50.00 Gb - used: 38.82 Gb (78%) - free 11.18 Gb (22%) [05-04-2012 02:55:03] SERVICE ALERT: <server>;C: Drive Space;CRITICAL;SOFT;1;Connection refused [05-04-2012 02:05:58] SERVICE ALERT: <server>;Spooler;OK;SOFT;2;Spooler: Started [05-04-2012 02:04:58] SERVICE ALERT: <server>;Spooler;CRITICAL;SOFT;1;Connection refused May 04, 2012 01:00 [05-04-2012 01:55:53] SERVICE ALERT: <server>;D: Drive Space;OK;SOFT;2;d:\ - total: 50.00 Gb - used: 17.24 Gb (34%) - free 32.76 Gb (66%) [05-04-2012 01:54:53] SERVICE ALERT: <server>;D: Drive Space;CRITICAL;SOFT;1;Connection refused [05-04-2012 01:45:48] SERVICE ALERT: <server>;<service> Scheduler;OK;SOFT;2;<service>Watch: Started [05-04-2012 01:44:48] SERVICE ALERT: <server>;<service> Scheduler;CRITICAL;SOFT;1;Connection refused [05-04-2012 01:25:38] SERVICE ALERT: <server>;Memory Usage;OK;SOFT;2;Memory usage: total:8408.73 Mb - used: 1567.48 Mb (19%) - free: 6841.25 Mb (81%) [05-04-2012 01:24:38] SERVICE ALERT: <server>;Memory Usage;CRITICAL;SOFT;1;Connection refused May 04, 2012 00:00 [05-04-2012 00:25:33] SERVICE ALERT: <server>;CPU Load;OK;SOFT;2;CPU Load 12% (5 min average) [05-04-2012 00:24:38] SERVICE ALERT: <server>;CPU Load;CRITICAL;SOFT;1;Connection refused
comment:3 follow-up: ↓ 4 Changed 13 months ago by mickem
Any logs from nsclient++ when you get a connection refused?
Michael Medin
comment:4 in reply to: ↑ 3 Changed 13 months ago by diesel
Replying to mickem:
Any logs from nsclient++ when you get a connection refused?
Michael Medin
In log juste messages like below (I think this messages is another issue, not connection refused):
2012-05-04 07:05:04: e:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:143: Failed to query performance counters: \238(_total)\6: PdhGetFormattedCounterValue failed {format: 1024}: -2147481642: A counter with a negative denominator value was detected.
2012-05-04 07:37:52: e:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:143: Failed to query performance counters: \238(_total)\6: PdhGetFormattedCounterValue failed {format: 1024}: -2147481642: A counter with a negative denominator value was detected.
2012-05-04 07:44:04: e:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:143: Failed to query performance counters: \238(_total)\6: PdhGetFormattedCounterValue failed {format: 1024}: -2147481642: A counter with a negative denominator value was detected.
2012-05-04 07:48:17: e:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:143: Failed to query performance counters: \238(_total)\6: PdhGetFormattedCounterValue failed {format: 1024}: -2147481642: A counter with a negative denominator value was detected.
2012-05-04 08:00:57: e:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:143: Failed to query performance counters: \238(_total)\6: PdhGetFormattedCounterValue failed {format: 1024}: -2147481642: A counter with a negative denominator value was detected.
2012-05-04 08:01:17: e:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:143: Failed to query performance counters: \238(_total)\6: PdhGetFormattedCounterValue failed {format: 1024}: -2147481642: A counter with a negative denominator value was detected.
2012-05-04 08:17:56: e:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:143: Failed to query performance counters: \238(_total)\6: PdhGetFormattedCounterValue failed {format: 1024}: -2147481642: A counter with a negative denominator value was detected.
2012-05-04 08:26:36: e:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:143: Failed to query performance counters: \238(_total)\6: PdhGetFormattedCounterValue failed {format: 1024}: -2147481642: A counter with a negative denominator value was detected.
comment:5 follow-up: ↓ 6 Changed 13 months ago by mickem
Well, those are another issue :)
And you are sure it is not network related?
Presumably you should get something in the logs when it failes.
Might wanna try enabling debug log perhaps?
Michael Medin
comment:6 in reply to: ↑ 5 Changed 13 months ago by diesel
Replying to mickem:
Well, those are another issue :)
And you are sure it is not network related?
Presumably you should get something in the logs when it failes.
Might wanna try enabling debug log perhaps?
Michael Medin
My Network is fully of other servers with various OS (Win 2003, Win2008) 32bits. This is the first x64 server (2008) with nsclient++
About the log. I catch this piece:
ALERT:
May 04, 2012 09:00 [05-04-2012 09:35:16] SERVICE ALERT: <server>;NSClient++ Version;OK;SOFT;2;NSClient++ 0,4,0,169 2012-05-01 [05-04-2012 09:34:16] SERVICE ALERT: <server>;NSClient++ Version;CRITICAL;SOFT;1;Connection refused
Debug log:
2012-05-04 09:33:27: l:..\..\..\trunk\service\NSClient++.cpp:385: NSClient++ 0,4,0,169 2012-05-01 w32 booting...
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:453: On crash: restart: nscp
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:465: Archiving crash dumps in: C:/Program Files (x86)/NSClient++//crash-dumps
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:532: booting::loading plugins
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:298: Found: CheckDisk
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:298: Found: CheckEventLog
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:298: Found: CheckExternalScripts
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:298: Found: CheckHelpers
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:298: Found: CheckNSCP
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:298: Found: CheckSystem
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:298: Found: NSClientServer
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:830: addPlugin(C:/Program Files (x86)/NSClient++//modules/CheckDisk.dll as )
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:830: addPlugin(C:/Program Files (x86)/NSClient++//modules/CheckEventLog.dll as )
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:830: addPlugin(C:/Program Files (x86)/NSClient++//modules/CheckExternalScripts.dll as )
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:830: addPlugin(C:/Program Files (x86)/NSClient++//modules/CheckHelpers.dll as )
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:830: addPlugin(C:/Program Files (x86)/NSClient++//modules/CheckNSCP.dll as )
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:830: addPlugin(C:/Program Files (x86)/NSClient++//modules/CheckSystem.dll as )
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:830: addPlugin(C:/Program Files (x86)/NSClient++//modules/NSClientServer.dll as )
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:807: Loading plugin: CheckDisk
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:807: Loading plugin: Event log Checker.
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:807: Loading plugin: Check External Scripts
2012-05-04 09:33:27: d:..\..\..\..\trunk\modules\CheckExternalScripts\CheckExternalScripts.cpp:96: No wrappings found (adding default: vbs, ps1 and bat)
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:807: Loading plugin: Helper function
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:807: Loading plugin: Check NSCP
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:807: Loading plugin: CheckSystem
2012-05-04 09:33:27: d:..\..\..\trunk\service\NSClient++.cpp:807: Loading plugin: NSClient server
2012-05-04 09:33:27: d:..\..\..\..\trunk\modules\NSClientServer\NSClientServer.cpp:115: Allowed hosts definition: 10.134.64.111(255.255.255.255)
2012-05-04 09:33:27: d:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:91: Loading counters...
2012-05-04 09:33:27: d:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:94: Loading counter: cpu = \238(_total)\6
2012-05-04 09:33:27: d:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:94: Loading counter: memory commit bytes = \4\26
2012-05-04 09:33:27: d:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:94: Loading counter: memory commit limit = \4\30
2012-05-04 09:33:27: d:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:94: Loading counter: uptime = \2\674
2012-05-04 09:33:28: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:51: Attempting to bind to: :12489
2012-05-04 09:33:28: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:63: Bound to: :12489
2012-05-04 09:33:28: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:78: Thredpool containes: 10
2012-05-04 09:33:28: d:..\..\..\trunk\service\NSClient++.cpp:604: NSClient++ - 0,4,0,169 2012-05-01 Started!
2012-05-04 09:33:28: d:..\..\..\trunk\service\NSClient++.cpp:1315: Starting: DONE
2012-05-04 09:33:53: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:33:53: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:33:54: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:33:54: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&5&ShowAll&ButilHost
2012-05-04 09:33:54: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data: ShowAll&ButilHost
2012-05-04 09:33:54: d:..\..\..\trunk\service\NSClient++.cpp:923: Injecting: checkservicestate...
2012-05-04 09:33:54: d:..\..\..\trunk\service\NSClient++.cpp:947: Result checkservicestate: OK
2012-05-04 09:33:54: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:33:54: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
2012-05-04 09:34:04: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:34:04: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:34:04: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:34:04: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&5&ShowAll&MSSQL$SQLEXPRESS
2012-05-04 09:34:04: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data: ShowAll&MSSQL$SQLEXPRESS
2012-05-04 09:34:04: d:..\..\..\trunk\service\NSClient++.cpp:923: Injecting: checkservicestate...
2012-05-04 09:34:04: d:..\..\..\trunk\service\NSClient++.cpp:947: Result checkservicestate: OK
2012-05-04 09:34:04: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:34:04: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
2012-05-04 09:34:23: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:34:23: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:34:23: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:34:23: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&3
2012-05-04 09:34:23: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data:
2012-05-04 09:34:23: d:..\..\..\trunk\service\NSClient++.cpp:923: Injecting: checkuptime...
2012-05-04 09:34:23: d:..\..\..\trunk\service\NSClient++.cpp:947: Result checkuptime: OK
2012-05-04 09:34:23: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
2012-05-04 09:34:23: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:34:33: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:34:33: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:34:33: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:34:33: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&7
2012-05-04 09:34:33: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data:
2012-05-04 09:34:33: d:..\..\..\trunk\service\NSClient++.cpp:923: Injecting: checkmem...
2012-05-04 09:34:33: d:..\..\..\trunk\service\NSClient++.cpp:947: Result checkmem: OK
2012-05-04 09:34:34: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:34:34: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
2012-05-04 09:34:35: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:34:35: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:34:35: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:34:35: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&2&5
2012-05-04 09:34:35: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data: 5
2012-05-04 09:34:35: d:..\..\..\trunk\service\NSClient++.cpp:923: Injecting: checkcpu...
2012-05-04 09:34:35: d:..\..\..\trunk\service\NSClient++.cpp:947: Result checkcpu: OK
2012-05-04 09:34:35: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
2012-05-04 09:34:35: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:34:36: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:34:36: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:34:36: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:34:36: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&5&ShowAll&ButilWatch
2012-05-04 09:34:36: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data: ShowAll&ButilWatch
2012-05-04 09:34:36: d:..\..\..\trunk\service\NSClient++.cpp:923: Injecting: checkservicestate...
2012-05-04 09:34:36: d:..\..\..\trunk\service\NSClient++.cpp:947: Result checkservicestate: OK
2012-05-04 09:34:36: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
2012-05-04 09:34:36: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:34:36: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:34:36: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:34:36: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:34:36: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&4&d
2012-05-04 09:34:36: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data: d
2012-05-04 09:34:36: d:..\..\..\trunk\service\NSClient++.cpp:923: Injecting: checkdrivesize...
2012-05-04 09:34:36: d:..\..\..\trunk\service\NSClient++.cpp:947: Result checkdrivesize: OK
2012-05-04 09:34:36: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
2012-05-04 09:34:36: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:34:37: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:34:37: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:34:37: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:34:37: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&4&c
2012-05-04 09:34:37: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data: c
2012-05-04 09:34:37: d:..\..\..\trunk\service\NSClient++.cpp:923: Injecting: checkdrivesize...
2012-05-04 09:34:37: d:..\..\..\trunk\service\NSClient++.cpp:947: Result checkdrivesize: OK
2012-05-04 09:34:37: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:34:37: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
2012-05-04 09:34:37: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:34:37: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:34:37: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:34:37: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&5&ShowAll&Spooler
2012-05-04 09:34:37: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data: ShowAll&Spooler
2012-05-04 09:34:37: d:..\..\..\trunk\service\NSClient++.cpp:923: Injecting: checkservicestate...
2012-05-04 09:34:37: d:..\..\..\trunk\service\NSClient++.cpp:947: Result checkservicestate: OK
2012-05-04 09:34:37: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:34:37: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
2012-05-04 09:34:53: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:34:53: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:34:53: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:34:53: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&1
2012-05-04 09:34:53: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data:
2012-05-04 09:34:53: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
2012-05-04 09:34:53: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:35:03: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:35:03: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:35:03: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:35:03: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&5&ShowAll&ButilWatch
2012-05-04 09:35:03: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data: ShowAll&ButilWatch
2012-05-04 09:35:03: d:..\..\..\trunk\service\NSClient++.cpp:923: Injecting: checkservicestate...
2012-05-04 09:35:03: d:..\..\..\trunk\service\NSClient++.cpp:947: Result checkservicestate: OK
2012-05-04 09:35:03: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:35:04: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
2012-05-04 09:36:10: e:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:143: Failed to query performance counters: \238(_total)\6: PdhGetFormattedCounterValue failed {format: 1024}: -2147481642: A counter with a negative denominator value was detected.
2012-05-04 09:38:54: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:38:54: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:38:54: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:38:54: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&5&ShowAll&ButilHost
2012-05-04 09:38:54: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data: ShowAll&ButilHost
2012-05-04 09:38:54: d:..\..\..\trunk\service\NSClient++.cpp:923: Injecting: checkservicestate...
2012-05-04 09:38:54: d:..\..\..\trunk\service\NSClient++.cpp:947: Result checkservicestate: OK
2012-05-04 09:38:54: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:38:54: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
2012-05-04 09:38:56: e:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:143: Failed to query performance counters: \238(_total)\6: PdhGetFormattedCounterValue failed {format: 1024}: -2147481642: A counter with a negative denominator value was detected.
comment:7 Changed 13 months ago by diesel
1 more:
ALERT:
May 04, 2012 09:00 [05-04-2012 09:45:21] SERVICE ALERT: <server>;Butil Host Service;OK;SOFT;2;ButilHost: Started [05-04-2012 09:44:21] SERVICE ALERT: <server>;Butil Host Service;CRITICAL;SOFT;1;Connection refused
LOG:
2012-05-04 09:40:03: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:40:03: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:40:03: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:40:03: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&5&ShowAll&ButilWatch
2012-05-04 09:40:03: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data: ShowAll&ButilWatch
2012-05-04 09:40:03: d:..\..\..\trunk\service\NSClient++.cpp:923: Injecting: checkservicestate...
2012-05-04 09:40:03: d:..\..\..\trunk\service\NSClient++.cpp:947: Result checkservicestate: OK
2012-05-04 09:40:04: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
2012-05-04 09:40:04: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:44:04: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:44:04: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:44:04: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:44:04: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&5&ShowAll&MSSQL$SQLEXPRESS
2012-05-04 09:44:04: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data: ShowAll&MSSQL$SQLEXPRESS
2012-05-04 09:44:04: d:..\..\..\trunk\service\NSClient++.cpp:923: Injecting: checkservicestate...
2012-05-04 09:44:04: d:..\..\..\trunk\service\NSClient++.cpp:947: Result checkservicestate: OK
2012-05-04 09:44:04: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:44:04: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
2012-05-04 09:44:22: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:44:23: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:44:23: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:44:23: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&3
2012-05-04 09:44:23: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data:
2012-05-04 09:44:23: d:..\..\..\trunk\service\NSClient++.cpp:923: Injecting: checkuptime...
2012-05-04 09:44:23: d:..\..\..\trunk\service\NSClient++.cpp:947: Result checkuptime: OK
2012-05-04 09:44:23: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
2012-05-04 09:44:23: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:44:34: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:44:34: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:44:34: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:44:34: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&7
2012-05-04 09:44:34: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data:
2012-05-04 09:44:34: d:..\..\..\trunk\service\NSClient++.cpp:923: Injecting: checkmem...
2012-05-04 09:44:34: d:..\..\..\trunk\service\NSClient++.cpp:947: Result checkmem: OK
2012-05-04 09:44:34: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:44:34: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
2012-05-04 09:44:34: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:44:34: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:44:34: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:44:35: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&2&5
2012-05-04 09:44:35: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data: 5
2012-05-04 09:44:35: d:..\..\..\trunk\service\NSClient++.cpp:923: Injecting: checkcpu...
2012-05-04 09:44:35: d:..\..\..\trunk\service\NSClient++.cpp:947: Result checkcpu: OK
2012-05-04 09:44:35: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:44:35: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
2012-05-04 09:44:36: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:44:36: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:44:36: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:44:36: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&4&d
2012-05-04 09:44:36: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data: d
2012-05-04 09:44:36: d:..\..\..\trunk\service\NSClient++.cpp:923: Injecting: checkdrivesize...
2012-05-04 09:44:36: d:..\..\..\trunk\service\NSClient++.cpp:947: Result checkdrivesize: OK
2012-05-04 09:44:36: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:44:36: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
2012-05-04 09:44:37: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:44:37: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:44:37: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:44:37: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&4&c
2012-05-04 09:44:37: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data: c
2012-05-04 09:44:37: d:..\..\..\trunk\service\NSClient++.cpp:923: Injecting: checkdrivesize...
2012-05-04 09:44:37: d:..\..\..\trunk\service\NSClient++.cpp:947: Result checkdrivesize: OK
2012-05-04 09:44:37: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:44:37: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
2012-05-04 09:44:37: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:44:37: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:44:37: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:44:37: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&5&ShowAll&Spooler
2012-05-04 09:44:37: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data: ShowAll&Spooler
2012-05-04 09:44:37: d:..\..\..\trunk\service\NSClient++.cpp:923: Injecting: checkservicestate...
2012-05-04 09:44:37: d:..\..\..\trunk\service\NSClient++.cpp:947: Result checkservicestate: OK
2012-05-04 09:44:37: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
2012-05-04 09:44:37: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:44:54: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:44:54: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:44:54: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:44:54: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&1
2012-05-04 09:44:54: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data:
2012-05-04 09:44:54: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:44:54: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
2012-05-04 09:44:54: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:44:54: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:44:54: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:44:54: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&5&ShowAll&ButilHost
2012-05-04 09:44:54: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data: ShowAll&ButilHost
2012-05-04 09:44:54: d:..\..\..\trunk\service\NSClient++.cpp:923: Injecting: checkservicestate...
2012-05-04 09:44:54: d:..\..\..\trunk\service\NSClient++.cpp:947: Result checkservicestate: OK
2012-05-04 09:44:54: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:44:54: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
2012-05-04 09:44:58: e:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:143: Failed to query performance counters: \238(_total)\6: PdhGetFormattedCounterValue failed {format: 1024}: -2147481642: A counter with a negative denominator value was detected.
2012-05-04 09:45:04: d:..\..\..\..\trunk\include\check_nt\server\server.cpp:96: Accepting connection from: ::ffff:10.134.64.111
2012-05-04 09:45:04: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:37: starting data connection
2012-05-04 09:45:04: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:61: handle_read data connection
2012-05-04 09:45:04: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:38: Data: None&5&ShowAll&ButilWatch
2012-05-04 09:45:04: d:..\..\..\..\trunk\modules\NSClientServer\handler_impl.cpp:63: Data: ShowAll&ButilWatch
2012-05-04 09:45:04: d:..\..\..\trunk\service\NSClient++.cpp:923: Injecting: checkservicestate...
2012-05-04 09:45:04: d:..\..\..\trunk\service\NSClient++.cpp:947: Result checkservicestate: OK
2012-05-04 09:45:04: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:51: Timeout
2012-05-04 09:45:04: d:..\..\..\..\trunk\include\check_nt\server\connection.cpp:101: Written data
comment:8 Changed 13 months ago by mickem
- Milestone changed from 0.4.0 to 0.4.1
- Owner changed from MickeM to mickem
- Status changed from reopened to new
I will in the next few weeks create a check_nt client and then I will add some unit tests to check_nt subsystem also a new build of 0.4.1 will be out in a few days or so which will feature a new improved server subsystem but nothing concrete yet...
comment:9 Changed 6 months ago by mickem
- Resolution set to fixed
- Status changed from new to closed
This was recently fixed (or atleast something which might cause this)...
Reopen if you still have this issue on recent builds...
Michael Medin









Has been rewritten for 0.4.0 so hopefully fixed...