Nagios NSCA tunning
Posted: Fri Feb 21, 2014 7:12 am
Good day! Could you help me config nsca agent?
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/
The problem is following:
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"
Thanks!
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/
The problem is following:
Code: Select all
$ 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
Thanks!