[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing :: View topic - NSCA Daemon Test on Windows 2003 Server
Cheshire Cat Computing
http://www.steveshipway.org/forum/

NSCA Daemon Test on Windows 2003 Server
http://www.steveshipway.org/forum/viewtopic.php?f=22&t=2150
Page 1 of 1

Author:  rmp.dmd1229 [ Sat May 02, 2009 8:26 am ]
Post subject:  NSCA Daemon Test on Windows 2003 Server

Hi,

I have nagevlog 1.8.3 agent on Windows 2003 Server and nagios Server Version 3.0.4.

When I click "test NCSA Daemon" it will work once and display messages on nagios.log. The next test will hang the agent. The following are the errors on window event viewer.

- Hanging application NagEvLogCtrl.exe, version 1.8.0.0, hang module hungapp, version 0.0.0.0, hang address 0x00000000.

- Winsock error 997 trying to send to NSCA. Check the error logs for the NSCA server!

- Error: Could not connect to host x.x.x.x on port 5667

- Connection refused or timed out

Though the telnet x.x.x.x 5667 connects every time.

When I restart nsca. It will work again but only one time.

Sending of eventlog work the same. When a notification is already sent, it will no longer accept any new notification, unless I restart nsca.

Any ideas?

Thanks!

Author:  rmp.dmd1229 [ Sat May 02, 2009 8:31 am ]
Post subject:  Re: NSCA Daemon Test on Windows 2003 Server

BTW, I tried also using nagevlog 1.9.1 and still the same.

If it's also important the Nagios Server has multiple interface but I already bind to specific interface the agent is connecting to.

- )

Author:  stevesh [ Mon May 04, 2009 11:57 am ]
Post subject:  Re: NSCA Daemon Test on Windows 2003 Server

Microsoft have apparently changed (again) the winsock interface in win2k3 and a few things no longer appear to work as expected (this 997 error did not exist before). I've not heard of the control app hangin before, alhtough it could be only the 'send nsca test' bit that's at fault.
Can you confirm if the agent itself is running correctly or not?
The 1.9.1 package has a bit of extra code in the agent to handle the 997 error so things should be OK - also make sure you have not fallen afoul of the new windows execution prevention system which can cause issues on occasion

Author:  rmp.dmd1229 [ Fri May 08, 2009 9:36 am ]
Post subject:  Re: NSCA Daemon Test on Windows 2003 Server

the agent seems to be running fine. though I really cannot tell where the problem is; the agent or the server configuration... as i said earlier, once the agent send an alert, there will be no more update eventhough there are new events on system logs.

One more thing that I noticed is that there is always a connection between the server and agent. This is the ouput on a netstat -an.

tcp 0 0 10.x.x.x:5667 10.x.x.x:3842 ESTABLISHED

it will only be removed when i restart nsca.

this is how I restart
# kill -9 pid
# /usr/local/nagios/bin/nsca -c /usr/local/nagios/etc/nsca.cfg

Author:  stevesh [ Fri May 08, 2009 1:23 pm ]
Post subject:  Re: NSCA Daemon Test on Windows 2003 Server

It sounds as if the agent is getting stuck after it sends the NSCA alert and never closes the connection, so never returns to polling. This is actually a big help in tracking down the location of the problem! I'll check the section on return codes from the socket writes which are probably where the issue is.

Author:  rmp.dmd1229 [ Sat May 09, 2009 7:04 am ]
Post subject:  Re: NSCA Daemon Test on Windows 2003 Server

Just an additional that I've observed...

when NSCA is already running on the server and start the agent. on netstat there'll be already a

tcp 0 0 10.x.x.x:5667 10.x.x.x:3929 ESTABLISHED

this will not happen if, agent is started first then start NSCA.

Author:  rmp.dmd1229 [ Sat May 30, 2009 7:17 am ]
Post subject:  Re: NSCA Daemon Test on Windows 2003 Server

hi steve, is this issue can be fixed? I hope that there will be resolution soon.

Thanks!

Author:  stevesh [ Thu Jun 04, 2009 12:09 am ]
Post subject:  Re: NSCA Daemon Test on Windows 2003 Server

Sorry, not been able to work on this for last few months due to family issues (father passed away) and work pressures; hopefully I can get back to things after I get back to NZ

Author:  rmp.dmd1229 [ Fri Jun 19, 2009 8:03 am ]
Post subject:  Re: NSCA Daemon Test on Windows 2003 Server

sorry to hear that.

If you need further information (debugging files or other output ie netstat), just let me know.

Thanks!

Page 1 of 1 All times are UTC + 12 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/