Hello,
We have a host that has NCPA agent version 2.1.6 which was running fine fewdays back, we added 20 + new services to monitor running processes, suddenly i got UNKNOWN: Execution exceeded timeout threshold of 60s error.
I treied restarting the agent but its stuck in starting, we tried terminating it from task manager and start it again but its still wont
Below are the logs we have
Ncpa listener log
[24996] 2019/07/25 12:43:58.285 starting logging at level ERROR
[24996] 2019/07/25 12:43:58.348 Python exception encountered:
[24996] 2019/07/25 12:43:58.348 Internal Message: cannot import service module
[24996] 2019/07/25 12:43:58.348 Type => <type 'exceptions.AttributeError'>
[24996] 2019/07/25 12:43:58.348 Value => 'module' object has no attribute 'openssl_md_meth_names'
[24996] 2019/07/25 12:43:58.348 Traceback (most recent call last):
[24996] 2019/07/25 12:43:58.348 File "C:\ncpa\agent\ncpa_windows.py", line 13, in <module>
[24996] 2019/07/25 12:43:58.348 File "C:\Python27\lib\site-packages\gevent\pywsgi.py", line 338, in <module>
[24996] 2019/07/25 12:43:58.348 File "C:\Python27\lib\mimetools.py", line 6, in <module>
[24996] 2019/07/25 12:43:58.348 File "C:\Python27\lib\tempfile.py", line 35, in <module>
[24996] 2019/07/25 12:43:58.348 File "C:\Python27\lib\random.py", line 49, in <module>
[24996] 2019/07/25 12:43:58.348 File "C:\Python27\lib\hashlib.py", line 138, in <module>
[24996] 2019/07/25 12:43:58.348 AttributeError: 'module' object has no attribute 'openssl_md_meth_names'
this next piece is from ncpa_passive.txt
ImportError: No module named None
2019-07-22 18:08:41,098:ERROR:__init__:Could not import module passive.None, skipping. No module named None
2019-07-22 18:08:41,098:ERROR:__init__:No module named None
Traceback (most recent call last):
File "C:\ncpa\agent\ncpa_windows.py", line 184, in run_all_handlers
ImportError: No module named None
2019-07-22 18:13:41,107:ERROR:__init__:Could not import module passive.None, skipping. No module named None
2019-07-22 18:13:41,107:ERROR:__init__:No module named None
Traceback (most recent call last):
File "C:\ncpa\agent\ncpa_windows.py", line 184, in run_all_handlers
ImportError: No module named None
Ncpa agent failing to start on windows server
Re: Ncpa agent failing to start on windows server
Could you PM me your configuration files? I'd like to see ncpa.cfg, and your passive check configuration files in the ncpa.cfg.d directory.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Ncpa agent failing to start on windows server
i sent a PM, its still in my inbox, let me know if you have received it.
Re: Ncpa agent failing to start on windows server
I've got it, taking a look now.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Ncpa agent failing to start on windows server
I suggest installing the latest version of the NCPA agent on the server.
The errors suggest that there are some corrupt or missing files and they are keeping the agent from starting up.
Plus, there were a couple of bugs that could be causing the issue.
https://www.nagios.org/ncpa/#downloads
The errors suggest that there are some corrupt or missing files and they are keeping the agent from starting up.
Plus, there were a couple of bugs that could be causing the issue.
https://www.nagios.org/ncpa/#downloads
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Ncpa agent failing to start on windows server
Thank you,
We reinstalled the NCPAplugin and its working now.
We reinstalled the NCPAplugin and its working now.
Re: Ncpa agent failing to start on windows server
Glad to hear it's working! Closing thread.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!