NSCA, mcrypt and Solaris 10 x86

Thomas Guyot-Sionnest dermoth at aei.ca
Sun Nov 4 22:22:49 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 30/10/07 01:10 PM, Alloo, Vincent wrote:
> Hello,
> 
>  
> 
> I have an issue with NSCA on Solaris 10 x86 machine (SunOS svxnagios02
> 5.10 Generic_120012-14 i86pc i386 i86pc):
> 
>  
> 
> On a Linux RH4 machine, no issue:
> 
> % printf "toto\t0\tcomment\n" | /apps/nagios/libexec/send_nsca -H
> monitoring -c /db/sysadmin/nagios/send_nsca.cfg
> 
> 1 data packet(s) sent to host successfully.
> 
>  
> 
> On a Solaris 10 x86 machine:
> 
> --SSH-- > printf "toto\t0\tcomment\n" | /apps/nagios/libexec/send_nsca
> -H monitoring -c /db/sysadmin/nagios/send_nsca.cfg
> 
> Error: Failed to initialize encryption libraries for method 14
> 
> Segmentation fault
> 
>  
> 
> If I select decryption_method=0 or 1, it works fine.
> 
>  
> 
> The error message I have is:
> 
>  
> 
> Oct 30 17:54:36 svxnagios02 send_nsca[22865]: [ID 334271 user.error]
> Could not open mcrypt algorithm 'rijndael-128' with mode 'cfb'

I'd guess your Solaris Mcrypt library doesn't have the Rijndael
algorithm compiled in. The easiest way to fix would be to find an algo
supported on all your servers. You can also uninstall Mcrypt and compile
it from scratch, making sure it compiles in all the algorithms you need.

Any method over 2 should be secure enough.

Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHLjgp6dZ+Kt5BchYRAnpkAJ9hG1PxSH581t99ANfl8ymRf6nRsgCeNuV5
fD8qmyxk8e95pVrECIUrKAw=
=pcS9
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list