NSCA Failure
Posted: Thu Nov 10, 2016 2:05 pm
Hello All,
I have been searching Google and these forums for a while trying to solve my NSCA Problem. Ideally we are working to implement Nagios Core for monitoring our clients servers, which it works like a champ when doing active checks but to spare processor time. I have core up and running and ran the install for NSCA and then setup the first server. I was using encryption and decryption method 8 which worked on a later version of all the software. Now I get the following message on the server when a NSCA Check is received:
I have been searching Google and these forums for a while trying to solve my NSCA Problem. Ideally we are working to implement Nagios Core for monitoring our clients servers, which it works like a champ when doing active checks but to spare processor time. I have core up and running and ran the install for NSCA and then setup the first server. I was using encryption and decryption method 8 which worked on a later version of all the software. Now I get the following message on the server when a NSCA Check is received:
From the Client side I see this error/message:Nov 10 14:01:45 natasharomanov xinetd[1175]: START: nsca pid=1291 from=::ffff:[IPofClient]
Nov 10 14:01:45 natasharomanov nsca[1291]: Invalid decryption method (2) in config file '/usr/local/nagios/etc/nsca.cfg' - Line 202
Nov 10 14:01:45 natasharomanov nsca[1291]: Daemon was not compiled with mcrypt library, so decryption is unavailable.
Nov 10 14:01:45 natasharomanov xinetd[1175]: EXIT: nsca status=2 pid=1291 duration=0(sec)
Can anyone help me understand what I did wrong?**Checks Information**
2016-11-10 13:02:42: debug:modules\NSCAAgent\NSCAThread.cpp:272: Sending to server...
2016-11-10 13:02:42: debug:modules\NSCAAgent\NSCAThread.cpp:279: Looked up [IPofServer] to [IPofServer]
2016-11-10 13:02:42: message:modules\NSCAAgent\NSCAThread.cpp:305: Could not read a full NSCA hdr packet from socket, only got: 0