Community discussions

MikroTik App
 
Prewest
just joined
Topic Author
Posts: 17
Joined: Tue Oct 20, 2009 3:35 pm

Issue SSH probe commands

Tue Oct 20, 2009 3:40 pm

Hello,

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?
 
lebowski
Forum Guru
Forum Guru
Posts: 1619
Joined: Wed Aug 27, 2008 5:17 pm

Re: Issue SSH probe commands

Wed Oct 21, 2009 5:32 pm

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...

Who is online

Users browsing this forum: No registered users and 1 guest