ruuning scripts on different machines from one place

9 views
Skip to first unread message

Athul Krishna

unread,
Apr 2, 2019, 3:03:34 AM4/2/19
to Cloudprober

Hi everyone,

I am able to run an external python script using cloudprober from the directory I installed in a machine and script is on the same machine.

The config file for this is probe {
  name: "python_script_probe"
  type: EXTERNAL
  targets { dummy_targets {} }
  external_probe {
    mode: ONCE

    command: "python <directory>/test.py"

  }
}

Can anyone tell me what change should be made to run script on different machine from a single point.

Regards,
Athul.

Manu Garg

unread,
Apr 2, 2019, 11:52:28 PM4/2/19
to Athul Krishna, Cloudprober
Hi Athul,

Cloudprober doesn't have any in-built capability to run script on remote machines. You'll have to build it in your script itself.

--
You received this message because you are subscribed to the Google Groups "Cloudprober" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloudprober...@googlegroups.com.
To post to this group, send email to cloud...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloudprober/27418040-7888-4b5b-abeb-49b164ebfae5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Manu Garg
Creator of Page Notes & Pacparser
"Journey is the destination of life."

Athul Krishna

unread,
Apr 3, 2019, 12:03:47 AM4/3/19
to Cloudprober
Hi Manu,

Thanks for the reply.Just to clarify things if the same script is present in all the machine in the same path then is it possible to run from a machine by mentioning the target machines at place of dummy targets.

Regards,
Athu;

Athul Krishna

unread,
Apr 3, 2019, 12:08:46 AM4/3/19
to Cloudprober
Hi Manu,

Thanks for the reply.Just to clarify things if the same script is present in all the machine in the same path then is it possible to run from a machine by mentioning the target machines at place of dummy targets.

Regards,
Athul;

On Wednesday, April 3, 2019 at 9:22:28 AM UTC+5:30, Manu Garg wrote:
Hi Athul,

Cloudprober doesn't have any in-built capability to run script on remote machines. You'll have to build it in your script itself.

On Tue, Apr 2, 2019 at 12:03 AM Athul Krishna <athul...@gmail.com> wrote:

Hi everyone,

I am able to run an external python script using cloudprober from the directory I installed in a machine and script is on the same machine.

The config file for this is probe {
  name: "python_script_probe"
  type: EXTERNAL
  targets { dummy_targets {} }
  external_probe {
    mode: ONCE

    command: "python <directory>/test.py"

  }
}

Can anyone tell me what change should be made to run script on different machine from a single point.

Regards,
Athul.

--
You received this message because you are subscribed to the Google Groups "Cloudprober" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud...@googlegroups.com.

To post to this group, send email to cloud...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloudprober/27418040-7888-4b5b-abeb-49b164ebfae5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages