code to monitor ssh logs

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
deepshikha20
Posts: 33
Joined: Fri Oct 31, 2014 1:19 am

code to monitor ssh logs

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: code to monitor ssh logs

Post 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
deepshikha20
Posts: 33
Joined: Fri Oct 31, 2014 1:19 am

Re: code to monitor ssh logs

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: code to monitor ssh logs

Post by slansing »

In that case, you will want to look at using the CheckEventLog directive:
http://www.nsclient.org/nscp/wiki/Check ... ckEventLog
Locked