Sponsored Content
Full Discussion: Monitoring windows logs
Top Forums UNIX for Dummies Questions & Answers Monitoring windows logs Post 302834967 by bakunin on Sunday 21st of July 2013 03:44:42 AM
Old 07-21-2013
Quote:
Originally Posted by SkySmart
is it possible to monitor log files that are on a windows server, from a linux/unix host?

i'm thinking that the directory that the files are located in on windows can be be mounted on the linux host, and then a script or tool can just monitor the log as though it were local?
That will work perfectly. Windows and Unix use different protocol stacks, so you need some software. In the TCP/IP-world there is NFS, which is used to mount remote (parts of) filesystems locally. The respective protocol in NetBIOS (the protocol stack Windows uses) is called SMB.

Either use a NFS server daemon for Windows to export the part with the log files and then NFS-mount it on the Unix system or install a SMB-client on the Unix system to mount the (SMB-)shared Windows drive. Example products for the former would be FreeNFS, an example for the latter would be SAMBA. I am sure there are other similar products for both options too.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix performance monitoring via Windows/NT

We are trying to Monitor Unix via Window95/98 on an NT network. Is there anyone that could point us in the direction on software that runs in Windows on a Telnet connection that we could use to accomplish this? We have tried a program called Unix Watcher by Etasoft and can' get it to connect. ... (6 Replies)
Discussion started by: btrout
6 Replies

2. UNIX for Dummies Questions & Answers

Perl Scripting for monitoring logs

Hi, I am new to perl. I want to write a perl script to monitor logs. Where i want to monitor exceptions logged or any kind of error strings. I have a dir(On Solaris) with multiple log file which keeps rolling to .gz file after some time in that same dir. These logs files size keeps on... (1 Reply)
Discussion started by: solitare123
1 Replies

3. Windows & DOS: Issues & Discussions

Log monitoring in windows

Hi, I'd like to know if there is a way to monitor a log file conitnuously for one or more strings and if found, send an alarm. It should also take care not to inlcude the old log file entries. Thanks. (2 Replies)
Discussion started by: er_ashu
2 Replies

4. UNIX for Advanced & Expert Users

How to view the unix logs in windows ??

Hi ! I have a FTP site, where I softlinked my server log file. Now I want to view the logs in IE as I do in unix Some kind of free tool should be there, Can somebody provide me a pointer. Thanks. (0 Replies)
Discussion started by: dashok.83
0 Replies

5. Shell Programming and Scripting

Logs access in windows fetching the data from a unix server

How I can get the logs that are getting stored in specific location in unix server through an Apache web server installed in unix server? Requirement is to access the logs through the URL in windows browser without any access. (1 Reply)
Discussion started by: alvida
1 Replies

6. Windows & DOS: Issues & Discussions

windows server hardware monitoring

:wall:hi all, as hp support pack has hpasm, hpacu command using in linux server to show and monitor hareware status. hpacu command was avaialbe in windows server also, but where can find hpasm command in windows, it looks hp support pack not support hpasm in windows. any one can help? an... (1 Reply)
Discussion started by: maxlee24
1 Replies

7. AIX

How to send AIX logs to windows

good day all how to send aix syslogs to a shared folder in windows regards , (2 Replies)
Discussion started by: thecobra151
2 Replies

8. Shell Programming and Scripting

Perl script to parse multiple windows event logs.

Hi all, I am developing a log parsing agent in perl to send windows Event logs to Zenoss Monitoring tool. Using Win32::EventLog i can able to get the Event messages but only one Eventype eg Application or System could able to parse at a time. Can you please help to how to open mutiple eventlogs... (3 Replies)
Discussion started by: kar_333
3 Replies

9. Shell Programming and Scripting

Script for monitoring logs

hi, i'm using unix solaris 5.8. I have to write a shell script for monitoring logs. whenever the logs are not updated more than one hour an alert will be send to my mail. I'm new to Unix, so could anyone help me to find this. (3 Replies)
Discussion started by: Arasu
3 Replies

10. Infrastructure Monitoring

How to monitoring windows process using nagios CheckProcState?

Hello, I am trying to get correct syntax to monitoring process running on windows server using CheckProcState. when i am trying below command whether notepad.exe running or not. its showing process running. Could you please provide me correct syantx. /usr/local/nagios/libexec/check_nrpe -H... (0 Replies)
Discussion started by: ghpradeep
0 Replies
mountd(8)						      System Manager's Manual							 mountd(8)

NAME
mountd - Services remote NFS compatible mount requests SYNOPSIS
mountd [-d] [-i] [-n] [-s] [exportsfile] FLAGS
Verifies the Internet addresses of hosts that make mount and unmount requests. If a client's address cannot be translated into a host name by the gethostbyaddr() function and then translated back into the same Internet address by the gethostbyname() function, the request is rejected. This option requires the BIND service for Internet address resolution. It offers the highest level of security, especially when combined with the -i option. Turns on Internet address verification and domain checking. If you are running the BIND service, mountd verifies that a host making a mount or unmount request is in the server's domain. Allows non-root mount requests to be served. This should only be specified if there are clients such as PC's that require it. ULTRIX BSD is allowed non-root mount requests by default. Use the -n flag to allow non-root mount requests. Verifies the Internet address of hosts that make mount and unmount requests. If a client's address cannot be translated into a host name by the gethostbyaddr() function, the request is rejected. If you are running the BIND service, the BIND server is used to translate the address. If you are not, the /etc/hosts file is used. If the -i option is not used and a client's address cannot be translated, the address is converted to a string of the form xx.xx.xx.xx. This allows access to exported file systems that do not specify a list of allowed hostnames. The -i option is automatically enabled when either the -d or the -s option is specified. Turns on Internet address verification and subdomain checking. If you are running the BIND service, mountd verifies that a host making a mount or unmount request is in the server's domain or subdomain. DESCRIPTION
The mountd daemon is the server for NFS protocol mount requests from clients. The mountd daemon responds to requests from remote computer systems to mount directories. When it receives a SIGHUP signal, mountd rereads the exports file. If you are on an NFS client and want to have changes to the export options on existing NFS client mounts take effect immediately, issue the showmount -e command and specify the name of the host that is exporting the directory or file system (where the exports file is located). This ensures that NFS is aware of the export list and options. The optional exportsfile argument specifies an alternate location for the exports file. /etc/exports is the default. Note, NFS Version 2 can export partitions that are greater than 2 gigabytes. However, they appear as 2 gigabyte partitions when viewed from NFS clients. FILES
Specifies the command path Contains a list of directories that can be exported Contains a table of local file systems mounted by remote NFS clients Contains errors logged by the mountd daemon RELATED INFORMATION
Commands: nfsstat(8), nfsd(8), portmap(8), showmount(8) Files: exports(4), mountdtab(4) delim off mountd(8)
All times are GMT -4. The time now is 01:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy