No logs from Windows server - permits in place

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: No logs from Windows server - permits in place

Post by scottwilkerson »

I do not see any way in NXLog to do this
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: No logs from Windows server - permits in place

Post by rferebee »

Ok, so this is the command that we're attempting to run:

msiexec.exe /X {B290C1E3-3747-48E2-9CD9-0AF172C11D31} /qn

The issue we're seeing is that the msiexec process is hanging. It works just fine uninstalling it manually, but we'd like to get around having to click the "Yes" prompt.

MSI is pretty standard, there should be a way to uninstall this product via command line.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: No logs from Windows server - permits in place

Post by scottwilkerson »

Hmm, I did find this someone put together
https://www.svanbruggen.nl/powershell-r ... interface/
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: No logs from Windows server - permits in place

Post by rferebee »

I think we've found a way to resolve this issue.

We are going to perform a mass re-deployment of the nxlog client using our software deployment suite and a batch script. Through testing we've determined that the latest version of the nxlog client resolves the issue with the "corrupt" Windows logs.

This thread can be locked. Thank you.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: No logs from Windows server - permits in place

Post by scottwilkerson »

rferebee wrote:I think we've found a way to resolve this issue.

We are going to perform a mass re-deployment of the nxlog client using our software deployment suite and a batch script. Through testing we've determined that the latest version of the nxlog client resolves the issue with the "corrupt" Windows logs.

This thread can be locked. Thank you.
Excellent,

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: No logs from Windows server - permits in place

Post by scottwilkerson »

unlocked per user request
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: No logs from Windows server - permits in place

Post by rferebee »

We have some new details that Nagios may be unaware of. It might help others.

Apparently, the version of nxlog-ce (2.9.1347) we were using only installs under the user profile of the person who installs it. So, if you attempt to script an uninstall using something like Symantec Altiris. You have to run the uninstall script as the account the client was installed with or it will fail. We were trying to use the Windows System account and were having difficulty figuring out why it kept failing.

The other work around is to write into your script to first install the client and then uninstall it using whatever account you want.

I had mentioned previously in the thread that I could not see the client in Add/Remove programs on some servers. Well, that's because it was installed by someone else. I don't know if this issue is fixed in nxlog-ce version 2.10.2150, but if it's not you may want to have something fix your MSI to install for all users on the next update.

Thank you.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: No logs from Windows server - permits in place

Post by scottwilkerson »

Thanks for sharing this!
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: No logs from Windows server - permits in place

Post by rferebee »

Ok folks. I need some assistance here.

We've tried ad nauseam to get the nxlog client (version 2.9.1347) to uninstall cleanly via DOS scripting. Even the PS1 script you provided is leaving remnants of the application.

According to the PS1 script, we need to install the client for all users prior to being able to uninstall it (if we're using an account different from what the client was installed with). The issue we're seeing is that after the re-install and uninstall the original account that was used to install the client now shows both the 2.9 and 2.10 client in Add/Remove Programs.

There must be a way to completely uninstall this application from a machine via the CLI. We can't be the only customer with more than a few dozen servers running the nxlog client and if we're not then your other customers can't be uninstalling and reinstalling the client one by one on every server they have. Based on what we've seen so far, it seems to be the only way.

If the forums can't assist me, is there perhaps a Dev person I can talk to? Or, if what I'm asking for isn't possible can I submit a feature request for an nxlog client quiet uninstall utility?

Thank you!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: No logs from Windows server - permits in place

Post by scottwilkerson »

rferebee wrote:If the forums can't assist me, is there perhaps a Dev person I can talk to? Or, if what I'm asking for isn't possible can I submit a feature request for an nxlog client quiet uninstall utility?
We are not the authors of NXlog, we just provide a link to the community version in the software as a mechanism to send Windows logs to Nagios Log Server. So we would not be able to build in the feature.

The software is originally from here
https://nxlog.co/products/nxlog-community-edition
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked