kafelez / jsendnsca

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

Patch for /branches/1.2/jsendnsca-core/src/main/java/com/googlecode/jsendnsca/core/NagiosSettings.java #38

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Why not allow empty password?
Our installation is setup without, probably to be compatible with
send_nsca.pl (
Send NSCA Perl Client 1.14 for NSCA 2.3
Last modified 7/16/03 by Jason Lancaster <nospam.jason AT teklabs.net> )

Original issue reported on code.google.com by hans.jue...@gmail.com on 9 Mar 2012 at 10:00

Attachments:

GoogleCodeExporter commented 8 years ago
version 2.0.1 supports no password, see

http://code.google.com/p/jsendnsca/wiki/Changes201

Are you able to use 2.0.1?

Original comment by rajneeshpatel on 10 Mar 2012 at 10:10

GoogleCodeExporter commented 8 years ago
If you are unable to upgrade to 2.0.1 for any reason, you can use empty space 
as password

NagiosSettingsBuilder() 
...
        .withPassword(" ") 
        .create(); 

Original comment by rajneeshpatel on 10 Mar 2012 at 10:20

GoogleCodeExporter commented 8 years ago
Thanks for your advise. I'm using jsendnsca via the Apache camel-nagios 
component which is still based on 1.3. So I can't currently use 2.0.1.
I suppose evan a "space" as password will be applied as XOR mask and thus 
modify the data so Nagios won't recoginze them.
Camel-nagios is working with my patched version now.

Original comment by hans.jue...@gmail.com on 10 Mar 2012 at 4:31