Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
I try to send messages from the client host (CentOS 6) to the nagios host (CentOS 6 also). I have nsca installed on the nagios host and nsca client installed in client machine.
I installed nagios-nsca-client-2.7.2-4.el6.rf.x86_64.rpm from this location: http://pkgs.repoforge.org/nagios-nsca/
$ echo -e "foo.example.com\ttest\t0\t0" | /usr/sbin/send_nsca -H 10.66.48.29 -c /etc/nagios/send_nsca.cfg
Error: Server closed connection before init packet was received
Error: Could not read init packet from server
On the client side, file /etc/nagios/send_nsca.cfg has default content i.e. a lot of commented rows and a row "encryption_method=1"