lmiltchev wrote:Could these manuals be trusted? We know that NRPE cannot be (learned hard way already).
Is there ANY good way to get ANY of Nagios agents (NRPE or NCPA) on our Linux Suse 11 SP3 and REDHAT EL 6.4/5?
I never had issues installing the Linux agent (NRPE + Nagios plugins) when I followed the official documentation... How did you try to install NRPE? Did you follow the document below?
https://assets.nagios.com/downloads/nag ... _Agent.pdf
Can you show us these errors? We will try to recreate the issue in house.
-----------------------------------------------------------------------------------------------
fikc-sles11-test04:/tmp # rpm -ivh --nomd5 ncpa-1.8.1-1.os11.x86_64.rpm
Preparing... ########################################### [100%]
1:ncpa ########################################### [100%]
insserv: Service syslog is missed in the runlevels 4 to use service ncpa_listener
ncpa_listener 0:off 1:off 2:on 3:on 4:on 5:on 6:off
insserv: Service syslog is missed in the runlevels 4 to use service ncpa_listener
ncpa_passive 0:off 1:off 2:on 3:on 4:on 5:on 6:off
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/hashlib.py", line 139, in <module>
File "/usr/local/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/hashlib.py", line 139, in <module>
File "/usr/local/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/hashlib.py", line 139, in <module>
File "/usr/local/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/hashlib.py", line 139, in <module>
File "/usr/local/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/hashlib.py", line 139, in <module>
File "/usr/local/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/hashlib.py", line 139, in <module>
File "/usr/local/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
ValueError: unsupported hash type sha512
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/cx_Freeze-4.3.4-py2.7-linux-x86_64.egg/cx_Freeze/initscripts/Console.py", line 27, in <module>
File "ncpa_posix_listener.py", line 6, in <module>
File "/root/Development/ncpa/agent/listener/server.py", line 1, in <module>
File "/usr/local/lib/python2.7/site-packages/flask/__init__.py", line 17, in <module>
File "/usr/local/lib/python2.7/site-packages/werkzeug/__init__.py", line 154, in <module>
File "/usr/local/lib/python2.7/site-packages/werkzeug/exceptions.py", line 71, in <module>
File "/usr/local/lib/python2.7/site-packages/werkzeug/wrappers.py", line 26, in <module>
File "/usr/local/lib/python2.7/site-packages/werkzeug/http.py", line 30, in <module>
ImportError: cannot import name md5
Started listener...
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/hashlib.py", line 139, in <module>
File "/usr/local/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/hashlib.py", line 139, in <module>
File "/usr/local/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/hashlib.py", line 139, in <module>
File "/usr/local/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/hashlib.py", line 139, in <module>
File "/usr/local/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/hashlib.py", line 139, in <module>
File "/usr/local/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/hashlib.py", line 139, in <module>
File "/usr/local/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
ValueError: unsupported hash type sha512
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/cx_Freeze-4.3.4-py2.7-linux-x86_64.egg/cx_Freeze/initscripts/Console.py", line 27, in <module>
File "ncpa_posix_passive.py", line 7, in <module>
File "/root/Development/ncpa/agent/passive/nrds.py", line 4, in <module>
File "/root/Development/ncpa/agent/passive/nagioshandler.py", line 3, in <module>
File "/root/Development/ncpa/agent/passive/ncpacheck.py", line 5, in <module>
File "/root/Development/ncpa/agent/listener/server.py", line 1, in <module>
File "/usr/local/lib/python2.7/site-packages/flask/__init__.py", line 17, in <module>
File "/usr/local/lib/python2.7/site-packages/werkzeug/__init__.py", line 154, in <module>
File "/usr/local/lib/python2.7/site-packages/werkzeug/exceptions.py", line 71, in <module>
File "/usr/local/lib/python2.7/site-packages/werkzeug/wrappers.py", line 26, in <module>
File "/usr/local/lib/python2.7/site-packages/werkzeug/http.py", line 30, in <module>
ImportError: cannot import name md5
Started passive agent...
fikc-sles11-test04:/tmp #