Jump to content
Martinmc

Start scripts on monitored systems via API

Recommended Posts

Posted (edited)

Hi all

We’d like to start scripts on monitored systems using C# or Powershell, or JSON, or an API you have available.


I’ve looked through your REST API documentation, but haven’t seen any details about starting a script there.

We want to automate the starting of scripts via a trigger, rather than starting them manually.


What API's, SDK's or methods are there available to achieve this?

 

Thanks,


Martin.

Edited by Martinmc

Share this post


Link to post
Share on other sites

We would be interested in knowing the same.

Also being able to start tasks automatically when a device is first added to a group would be very beneficial.

Share this post


Link to post
Share on other sites

Hi,

You can try to create your own Pulseway Plugin using C#. Please check this Client API interface. All these methods are called every 15 seconds, so whatever logic you will put there will be called. All these methods will run in session 0 (Pulseway service will initiate them). The method PluginLoaded() is called only once, when plugin is loaded.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×