Also I disabled Selinux, Iptables and I have connectivity between pc's (I can test that via ping).
The log client says:
Aug 20 06:16:09 gbnagios nsca[10992]: Handling the connection...
Aug 20 06:16:09 gbnagios nsca[10992]: Time difference in packet: 0 seconds for host localhost
Aug 20 06:16:09 gbnagios nsca[10992]: SERVICE CHECK -> Host Name: 'localhost', Service Description: 'TestMessage', Return Code: '0', Output: 'This is a test message.'
Aug 20 06:16:09 gbnagios nsca[10992]: Attempting to write to nagios command pipe
Aug 20 06:16:09 gbnagios nsca[10992]: End of connection...
Note: I have created /nagios/var/rw/nagios.cmd manually. Also I commented password and encyption lines on both servers.
What am I doing wrong
Any help will be appreciated.