NSClient++ Help (#1) - NSClient++ via NSCA to Icinga not working (#806) - Message List
Hi all,
Firstly, thank everyone who works on this project, I've gotten quite far into setting up an open source monitoring system using the documentation that exists, and for that I am thankful.
I have Icinga 1.3 on my debian 6 server, successfully monitoring a number of debian and windows machines, including successfully using NSClient++.
My issue is that while I can monitor a remote windows machine using NSClient++ using active checks from the Icinga server, I cannot get passive checks working from NSClient++ using the NSCA plugin to Icinga.
I just keep getting this error on the server:
Jun 17 17:40:17 palante2 nsca[26316]: Dropping packet with invalid CRC32 - possibly due to client using wrong password or crypto algorithm?
I have tried different versions of NSClient++, (0.3.6, 0.3.8, and 0.3.9rc1 and rc2), and I have tried changing the password and the encryption (blowfish, XOR, RIJNDAEL-128, and no encryption).
Same error.
I have checked that the encryption libraries were installed. I have another debian 6 server using send_nsca sucessfully sending encrypted results to my Icinga server, so I know that the encryption protocols aren't completely broken.
I have reached the limit of my knowledge, and I hope someone can help.
Thanks,
-mk
excerpt from log from NSCLient:
2011-06-17 17:40:25: debug:modules\NSCAAgent\NSCAThread.cpp:206: Executing (from NSCA):
2011-06-17 17:40:25: debug:NSClient++.cpp:1144: Injecting: check_ok:
2011-06-17 17:40:25: debug:NSClient++.cpp:1180: Injected Result: OK 'OK: Lets pretend everything is going to be ok.'
2011-06-17 17:40:25: debug:NSClient++.cpp:1181: Injected Performance Result:
2011-06-17 17:40:25: debug:modules\NSCAAgent\NSCAThread.cpp:206: Executing (from NSCA): my_cpu_check
2011-06-17 17:40:25: debug:NSClient++.cpp:1144: Injecting: checkCPU: warn=80, crit=90, time=20m, time=10s, time=4
2011-06-17 17:40:25: debug:NSClient++.cpp:1180: Injected Result: OK 'OK CPU Load ok.'
2011-06-17 17:40:25: debug:NSClient++.cpp:1181: Injected Performance Result: 20m'=0%;80;90 '10s'=0%;80;90 '4'=0%;80;90'
2011-06-17 17:40:25: debug:modules\NSCAAgent\NSCAThread.cpp:206: Executing (from NSCA): my_mem_check
2011-06-17 17:40:25: debug:NSClient++.cpp:1144: Injecting: checkMem: MaxWarn=80%, MaxCrit=90%, ShowAll, type=page
2011-06-17 17:40:25: debug:NSClient++.cpp:1180: Injected Result: OK 'OK: page file: 648M'
2011-06-17 17:40:25: debug:NSClient++.cpp:1181: Injected Performance Result: page file %'=36%;80;90 'page file'=647.8MB;1432.99;1612.11;0;1791.24'
2011-06-17 17:40:25: debug:modules\NSCAAgent\NSCAThread.cpp:206: Executing (from NSCA): my_svc_check
2011-06-17 17:40:25: debug:NSClient++.cpp:1144: Injecting: checkServiceState: CheckAll?, exclude=wampmysqld, exclude=MpfService?
2011-06-17 17:40:26: debug:NSClient++.cpp:1180: Injected Result: CRITICAL 'CRITICAL: MMCSS: stopped (critical), NSClientpp: stopped (critical), AdobeARMservice: stopped (critical)'
2011-06-17 17:40:26: debug:NSClient++.cpp:1181: Injected Performance Result:
2011-06-17 17:40:26: debug:modules\NSCAAgent\NSCAThread.cpp:272: Sending to server...
2011-06-17 17:40:26: debug:modules\NSCAAgent\NSCAThread.cpp:279: Looked up [my server name] to [my server IP]
2011-06-17 17:40:26: debug:modules\NSCAAgent\NSCAThread.cpp:356: Finnished sending to server...
-
Message #2206
Well this is due to password or encryption not being the same on both sides... be sure to restart nsca as well as nsclient++.
Apart from that I dont know, I assume icinga has the "normal" nsca server?
Michael Medin
mickem06/20/11 06:38:25 (2 years ago)-
Message #2209
Hi Michael,
I have checked about 80 times now that the password and encryption on both sides are written exactly the same in the configuration files, changed both several times to test, and restarted everything copiously. :)
I tried to find out if Icinga uses a different nsca server or client or something, because the Icinga to Icinga send_nsca plugin works, but I was unable to figure that out.
-mk
ladyiconoclast06/21/11 00:39:25 (2 years ago)
-








