Every morning, I get emails from my Linux servers with the output of 'logwatch' summarizing interesting events that occurred the day before, often leading to some corrective action.
Does anyone have an equivalent utility for Windows machines?
A client called with a support issue and I logged onto their machine and reviewed the Event Log. It was full of interesting stuff, some of which I'm still trying to resolve.
One of the more interesting was a C0000118-something "AirSpace" error that was caused by an Office log which was locked to a max size of 1Mb and needed to be cleared manually, rather than being set to Overwrite or Rotate. Every time the client got a "Do you want to save your changes?" error, all the details were written to the log. The change was easy to apply, once the error became known. There was nothing in the desktop UI nor pop-up notices that this was happening.
I know this is more a sysop question than a developer question, hence [NF] for Not Fox but not Off-Topic.
On 4/13/2017 10:28 AM, Ted Roche wrote:
Every morning, I get emails from my Linux servers with the output of 'logwatch' summarizing interesting events that occurred the day before, often leading to some corrective action.
Does anyone have an equivalent utility for Windows machines?
I wrote an email call into two of my vfp programs that send me a fax and email error/completion status every morning. I use the West Wind library. Don't know if that's what you're talking about or not. I suspect you're looking for something at the server level.
But thanks for reminding me I need to email Laura.
On Thu, Apr 13, 2017 at 11:07 AM, Vince Teachout teachv@taconic.net wrote:
I wrote an email call into two of my vfp programs that send me a fax and email error/completion status every morning. I use the West Wind library. Don't know if that's what you're talking about or not. I suspect you're looking for something at the server level.
Yup, using IPStuff or BLAT to send emails out of VFP is a piece of cake. SMTP good, MAPI Bad.
You're right, I was look at more of a Non-Fox solution, for the Windows Event Viewer, either workstation or server, as I've taken on some DevOp duties at a couple of clients. Small firms without a dedicated "computer guy" often get themselves into situations where nothing works any more, and it's easier to debug and fix the network problem or the upcoming hardware failure than to argue with them that it's not a Foxpro problem.
A Google search for "windows event viewer email errors" yielded about 3 million hits, so it's possible someone has solved this problem before.
Here is a good primer on powershell for log files. You have to put in the specific log you are interested it getting the details from. After that, the data is an object which is what we all like to play with.
https://www.petri.com/how-to-pull-data-from-log-files-using-powershell
This one points to the windows upgrade log by you can put in any you want.
On Thu, Apr 13, 2017 at 9:28 AM, Ted Roche tedroche@gmail.com wrote:
Every morning, I get emails from my Linux servers with the output of 'logwatch' summarizing interesting events that occurred the day before, often leading to some corrective action.
Does anyone have an equivalent utility for Windows machines?
A client called with a support issue and I logged onto their machine and reviewed the Event Log. It was full of interesting stuff, some of which I'm still trying to resolve.
One of the more interesting was a C0000118-something "AirSpace" error that was caused by an Office log which was locked to a max size of 1Mb and needed to be cleared manually, rather than being set to Overwrite or Rotate. Every time the client got a "Do you want to save your changes?" error, all the details were written to the log. The change was easy to apply, once the error became known. There was nothing in the desktop UI nor pop-up notices that this was happening.
I know this is more a sysop question than a developer question, hence [NF] for Not Fox but not Off-Topic.
-- Ted Roche Ted Roche & Associates, LLC http://www.tedroche.com
[excessive quoting removed by server]
Thanks!
On Thu, Apr 13, 2017 at 12:17 PM, Stephen Russell srussell705@gmail.com wrote:
Here is a good primer on powershell for log files. You have to put in the specific log you are interested it getting the details from. After that, the data is an object which is what we all like to play with.
https://www.petri.com/how-to-pull-data-from-log-files-using-powershell
This one points to the windows upgrade log by you can put in any you want.
On Thu, Apr 13, 2017 at 9:28 AM, Ted Roche tedroche@gmail.com wrote:
Every morning, I get emails from my Linux servers with the output of 'logwatch' summarizing interesting events that occurred the day before, often leading to some corrective action.
Does anyone have an equivalent utility for Windows machines?
A client called with a support issue and I logged onto their machine and reviewed the Event Log. It was full of interesting stuff, some of which I'm still trying to resolve.
One of the more interesting was a C0000118-something "AirSpace" error that was caused by an Office log which was locked to a max size of 1Mb and needed to be cleared manually, rather than being set to Overwrite or Rotate. Every time the client got a "Do you want to save your changes?" error, all the details were written to the log. The change was easy to apply, once the error became known. There was nothing in the desktop UI nor pop-up notices that this was happening.
I know this is more a sysop question than a developer question, hence [NF] for Not Fox but not Off-Topic.
-- Ted Roche Ted Roche & Associates, LLC http://www.tedroche.com
[excessive quoting removed by server]