in reply to Re: Windows Eventlog from unix in thread Windows Eventlog from unix
I want to try to get all my logging in one place. I thought it might be possible to write a Perl script that runs on a Linux box, accesses the Windows EventLog, and then logs anything important (for example Warnings, or whatever they are called in Windows) to the Syslog running on the Linux box. Then all my *nix boxen would be logging to one box and my Windows machines would be logging on the same box.
Re: Re: Re: Windows Eventlog from unix
by arturo (Vicar) on Sep 03, 2002 at 19:35 UTC
|
A fairly straightforward approach that's almost what you want, while leveraging the Win32 classes, is to have the Windows box do the event log parsing using the relevant modules and send the results onto the Linux box via a network socket or a text file on a network-accessible drive.
If not P, what? Q maybe? "Sidney Morgenbesser"
| [reply] |
|
Yea, but then I have to install Perl on every windows box. I was hoping to avoid that. I know that on Windows you can open logs on another box (I have no idea how it does it . . .sockets? RPC? ), I thought that maybe the Eventlog module could do the same--open a connection to a remote box and read its events. Ah well.
| [reply] |
|