Page 1 of 1

Issue SSH probe commands

Posted: Tue Oct 20, 2009 3:40 pm
by Prewest

i`m just new to the dude and have a question regarding SSH probe..

on the remote side there`s a linux machine and i need some kind of script to check if an external device there is working.
if i log in the linux device with putty i can isue the following command to check the external device:

/Scripts/PipeCommand /tmp/RIP_Tableau_1037 "STATUS"

the reply from the system will be this:

response : @/tmp/RIP_Tableau_1037@STATUS 3

this means that the device is running properly when status is @ 3,
how can i make a SSH probe that will log in to the linux machine and will issue this command
/Scripts/PipeCommand /tmp/RIP_Tableau_1037 "STATUS"
and then returns the following value back to the dude which checks if the status = 3
response : @/tmp/RIP_Tableau_1037@STATUS 3

is this possible with the dude?

Re: Issue SSH probe commands

Posted: Wed Oct 21, 2009 5:32 pm
by lebowski
As far as I know The Dude doesn't support SSH. But you can verify that the port is available by creating a probe that just does a connect only on port 22.

Or you can create your own external...