conduit
Command and control made easy.
Documentation Scripting Download Code

What is Conduit

Conduit is a cross platform, lightweight, client/server system that allows arbitrary commands to be sent to many clients simultaneously. It was built to be help administrate a large number of systems across the internet, using simple scripts.

Virtually any task can be accomplished using a simple Javascript based scripting language. Many OS level and common tasks are exposed to make administration easier.

Simple scripting based on javascript

Conduit uses Javascript to perform tasks. Many system level objects are exposed to the script using special objects. Scripts can be pushed in parallel across many systems and response can be retrieved and reported.


try {
  var ep = "http://...";
  var zf = "/tmp/logZip.zip";
  // Compress log files
  $zip.compress("/var/log/app/*.log", zf);
  // Send them up
  $http.upload(ep, zf);
  $(true);
} catch (err) {
  // Oops! something went wrong
  $(err);
} finally {
  // Cleanup
  if ($file.exists(zf)) {
    $file.delete(zf);
  }
}
Scripting Documentation