sshikov / jsendnsca

Automatically exported from code.google.com/p/jsendnsca
0 stars 0 forks source link

Why aren't my payloads sending correctly #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

I put together a process that reads each record and gathers certain pieces of 
data from a local database which I include in my payloads. For some reason that 
I can no figure out, my payloads are not sending at all, or maybe they are not 
being read, I can't figure out which.

Note: I commented out some lines so that only one line of data will be sent as 
a test for just one selected machine.

Original issue reported on code.google.com by wopp3...@gmail.com on 18 Jul 2012 at 7:17

Attachments:

GoogleCodeExporter commented 9 years ago
sorry, i forgot to remove the pre-enscribed text

Original comment by wopp3...@gmail.com on 18 Jul 2012 at 7:41

GoogleCodeExporter commented 9 years ago
Hi 

Are you getting an exception at all?

Have you got encryption set on your NSCA? If so which? Your current code is set 
to use no encryption with no password (by the way, you can use withNoPassword() 
instead of withPassword(" ")?

Are you able to successfully connect to your server i.e. can you 

telnet 208.83.125.75 5667

from the command line and get a response?

Thanks

Raj

Original comment by rajneeshpatel on 19 Jul 2012 at 8:22

GoogleCodeExporter commented 9 years ago
Hey, I updated from 2.0.0 to 2.0.1 to try .withNoPassword() but still not luck. 
I didn't think an encryption would be set if there was no password but I tried 
adding .withEncryption(Encryption.XOR) anyway and it worked!

Original comment by wopp3...@gmail.com on 21 Jul 2012 at 3:32

GoogleCodeExporter commented 9 years ago

Original comment by rajneeshpatel on 25 Oct 2012 at 8:12