Xymon Mailing List Archive search

monitoring ssh

list Stef Coene
Thu, 23 Aug 2007 20:38:21 +0200
Message-Id: <user-79cec236b386@xymon.invalid>

On Thursday 23 August 2007, Dan Simoes wrote:
I know how to monitor the service availablity on port 22.
I'm wondering if anyone has actually made a script that connects, logs in,
writes a file (say with scp) and only then returns a green status.
We got burned with an ssh keys problem so I have to deploy something like
this.
Take a look at expect.  You can simulate all kind of interactive command line 
stuff.  I use this to remote connect with ssh / telnet and to transfer files 
with scp.


Stef