[Xymon] How to setup a custom script to attempt server logons and other functions

Phil Crooker Phil.Crooker at orix.com.au
Fri Mar 9 01:37:01 CET 2012


I use expect for this sort of job - scripting of an interactive task.
This uses tcl, so some learning to achieve, but expect works well and is
well documented.

cheers, Phil


>>> On 9/03/2012 at 9:00 AM, in message
<CB7E8F39.12F9%don.kuhlman at schawk.com>, Don
Kuhlman <Don.Kuhlman at schawk.com> wrote:
> Hi folks. I've been googling all day, searching the forums, and
looking at 
> other spots but obviously I'm doing something wrong.
> 
> I'm trying to now setup some customization in Xymon for business 
> applications.
> 
> I want to do it either with a homemade script, download, or using
built in 
> features.
> 
> My first task is to try and login to an ftp server using a test id
and 
> password to verify it is up and accepting connections.
> 
> Next would be to connect via sFTP and try the same thing.
> 
> I'm also trying to do the same kind of tasks with webpages that host

> applications.
> 
> Can someone point me to the best way to do this from our Xymon
server, and 
> if there are code snips of how to make an ftp connection, send an ID,

> Password, and then quit, I would really appreciate knowing where to
find 
> them.
> 
> Regards,
> 
> Don K




More information about the Xymon mailing list