NagiosEnterprises / ncpa

Nagios Cross-Platform Agent
Other
177 stars 95 forks source link

Debugging NCPA on Windows #860

Closed MrPippin66 closed 2 years ago

MrPippin66 commented 2 years ago

Does the Windows version have different debugging options for the command line? When I try to manually start the agent from powershell with the "-n" option, it still "daemonizes" with no output going to the shell session.

This is what I do on Unix to debug issues with errors coming from openssl.

We're running 2.4.0.

jomann09 commented 2 years ago

Are you running a development version of NCPA or are you trying to run the regular exe from the command line?

MrPippin66 commented 2 years ago

The pre-packaged regular version.

jomann09 commented 2 years ago

Ah okay that makes sense, due to how cx_Freeze bundles the Windows version you can't run it as anything but a service so it will basically just start a service when you run the exe file. I don't know of a good way around it without using the repo/dev version.

jomann09 commented 2 years ago

Closing this since no response.