Page 1 of 1

code to monitor ssh logs

Posted: Fri Oct 31, 2014 1:23 am
by deepshikha20
Hi,

I would like to monitor ssh logs of a remote windows hosts.

Please let me know if any code is available to do the same.

Thanks.

Regards,
Deepshikha

Re: code to monitor ssh logs

Posted: Fri Oct 31, 2014 8:38 am
by slansing
Do you have an SSH server running on the windows system? Or do you mean you are looking to log RDP attempts/succeeds? You will want to look at using this to get started:

http://assets.nagios.com/downloads/nagi ... ios-XI.pdf

Re: code to monitor ssh logs

Posted: Sun Nov 02, 2014 11:21 pm
by deepshikha20
Hi,

I have installed this client on my Windows Machine.

For this window Machine , I would like to monitor the log RDP attempts/succeeds and the user activities on this server.

Thanks.

Deepshikha

Re: code to monitor ssh logs

Posted: Mon Nov 03, 2014 12:14 pm
by slansing
In that case, you will want to look at using the CheckEventLog directive:
http://www.nsclient.org/nscp/wiki/Check ... ckEventLog