If ncpa.cfg is not modified then the services start but the listener does not listen on port 5693. The log contains the error
2016-12-29 20:28:42,148:INFO:ncpa_windows:Parsed config from: ['C:\\Program Files (x86)\\Nagios\\NCPA\\etc\\ncpa.cfg', 'C:\\Program Files (x86)\\Nagios\\NCPA\\etc\\ncpa.cfg.d\\nrdp.cfg']
2016-12-29 20:28:42,148:INFO:ncpa_windows:Looking for plugins at: C:\Program Files (x86)\Nagios\NCPA\plugins
2016-12-29 20:28:42,148:ERROR:ncpa_windows:invalid literal for int() with base 10: ''
Traceback (most recent call last):
File "C:\ncpa\agent\ncpa_windows.py", line 139, in start
File "C:\Python27\lib\ConfigParser.py", line 359, in getint
File "C:\Python27\lib\ConfigParser.py", line 356, in _get
ValueError: invalid literal for int() with base 10: ''
The comment in the ncpa.cfg says
# Default: port = 5963
I assume this is a typo. I checked port 5963 and the listener is NOT listening on that port either. When I manually specify port = 5693 then everything works fine.
NCAP 2.0.0 installation issues on Windows
Re: NCAP 2.0.0 installation issues on Windows
For reference, could you post your exact, and entire NCPA configuration file for us to review?
Former Nagios Employee
Re: NCAP 2.0.0 installation issues on Windows
You're right, that is not an actual default - if you do not specify anything ... it will error out. I can add this to the list of bugs to be fixed for the next release.
(https://github.com/NagiosEnterprises/ncpa/issues/291)
(https://github.com/NagiosEnterprises/ncpa/issues/291)
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.