Liking cljdoc? Tell your friends :D

re-mote.repl

Main remote workflow functions of Re-mote, it includes functions for performing a range of operations from updating packages to running an Nmap scan and collecting metrics. For more info check https://re-ops.github.io/re-ops/

Main remote workflow functions of Re-mote, it includes functions for performing a range of operations from updating packages to running an Nmap scan and collecting metrics.
For more info check https://re-ops.github.io/re-ops/
raw docstring

browse-toclj

(browse-to hs url)

Open a browser url: (browse-to hs "github.com")

Open a browser url:
(browse-to hs "github.com")
sourceraw docstring

copy-fileclj

(copy-file hs src dest)

Copy a local file to hosts

Copy a local file to hosts
sourceraw docstring

cpu-persistclj

(cpu-persist hs)

Collect CPU and idle usage with persistence (metrics collection): (cpu-persist hs)

Collect CPU and idle usage with persistence (metrics collection):
(cpu-persist hs)
sourceraw docstring

deployclj

(deploy {:keys [auth] :as hs} bin)

Deploy re-gent and setup .curve remotely: (deploy hs "re-gent/target/re-gent")

Deploy re-gent and setup .curve remotely:
(deploy hs "re-gent/target/re-gent")
sourceraw docstring

du-persistclj

(du-persist hs)

Collect disk usage with persist (metrics collection): (du-persist hs)

Collect disk usage with persist (metrics collection):
(du-persist hs)
sourceraw docstring

failingclj

(failing hs)

A workflow that always fail: (failing hs)

A workflow that always fail:
(failing hs)
sourceraw docstring

filter-hostsclj

(filter-hosts hs f)

Filter a sub group out of the provided hosts, the filtering function gets OS information: (filter-hosts hs (fn [os] TODO ))

Filter a sub group out of the provided hosts, the filtering function gets OS information:
(filter-hosts hs (fn [os] TODO ))
sourceraw docstring

inactive-firewallclj

(inactive-firewall hs)

Find hosts with inactive firewall: (inactive-firewall hs)

Find hosts with inactive firewall:
(inactive-firewall hs)
sourceraw docstring

installclj

(install hs pkg)

Install a package on hosts: (install hs "openjdk8-jre")

Install a package on hosts:
(install hs "openjdk8-jre")
sourceraw docstring

killclj

(kill hs)

Kill a re-gent process on all of the hosts: (kill hs)

Kill a re-gent process on all of the hosts:
(kill hs)
sourceraw docstring

launchclj

(launch {:keys [auth] :as hs})

Start a re-gent process on hosts: (launch hs)

Start a re-gent process on hosts:
(launch hs)
sourceraw docstring

listingclj

(listing hs)

List directories under / on the remote hosts: (listing hs)

List directories under / on the remote hosts:
(listing hs)
sourceraw docstring

load-persistclj

(load-persist hs)

Read average load and persist is (metrics collection): (load-persist hs)

Read average load and persist is (metrics collection):
(load-persist hs)
sourceraw docstring

low-diskclj

(low-disk hs f)

Detect machines with low available disk space: (low-disk (fn [p] TODO))

Detect machines with low available disk space:
(low-disk (fn [p] TODO))
sourceraw docstring

net-persistclj

(net-persist hs)

Collect networking in/out kbps and persist (metric collection): (net-persist hs)

Collect networking in/out kbps and persist (metric collection):
(net-persist hs)
sourceraw docstring

nmap-scanclj

(nmap-scan hs flags network)

Run an Nmap scan from the provided hosts: (nmap-scan hs "-T5" "192.168.1.0/24")

Run an Nmap scan from the provided hosts:
(nmap-scan hs "-T5" "192.168.1.0/24")
sourceraw docstring

open-fileclj

(open-file hs src)

Open a file using a remote browser: (open-file hs "/home/foo/bar.pdf")

Open a file using a remote browser:
(open-file hs "/home/foo/bar.pdf")
sourceraw docstring

pakage-fixclj

(pakage-fix hs)

Attempt to fix a broken package provider (like apt) by applying common known fixes. (package-fix hs)

Attempt to fix a broken package provider (like apt) by applying common known fixes.
(package-fix hs)
sourceraw docstring

process-matchingclj

(process-matching hs target)

Find processes matching target name: (process-matching hs "ssh"); find all ssh processes

Find processes matching target name:
(process-matching hs "ssh"); find all ssh processes
sourceraw docstring

provisionclj

(provision hs {:keys [src args]})

Sync Reconf source code into the remote machine and apply it: (provision hs {:src "base-sandbox"})

Sync Reconf source code into the remote machine and apply it:
(provision hs {:src "base-sandbox"})
sourceraw docstring

pullclj

(pull hs {:keys [repo remote branch]})

Pull latest git repository changes: (pull hs {:repo "re-core" :branch "master" :remote "git://github.com/re-ops/re-mote.git"})

Pull latest git repository changes:
(pull hs {:repo "re-core" :branch "master" :remote "git://github.com/re-ops/re-mote.git"})
sourceraw docstring

puppet-runclj

(puppet-run hs {:keys [src args]})

Sync Puppet source code into the remote machine and apply it: (provision hs {:src "base-sandbox"})

Sync Puppet source code into the remote machine and apply it:
(provision hs {:src "base-sandbox"})
sourceraw docstring

ram-persistclj

(ram-persist hs)

Collect free and used RAM usage with persistence (metrics collection): (ram-persist hs)

Collect free and used RAM usage with persistence (metrics collection):
(ram-persist hs)
sourceraw docstring

setupclj

(setup)

Setup Re-mote environment as a part of the Reload workflow

Setup Re-mote environment as a part of the Reload workflow
sourceraw docstring

singleclj

(single h & m)

Create a single hosts instance

Create a single hosts instance
sourceraw docstring

specclj

(spec hs src target)

Run spec test against hosts (spec hs "/home/foo/base-sandbox" "minimal")

Run spec test against hosts
(spec hs "/home/foo/base-sandbox" "minimal")
sourceraw docstring

temperature-persistclj

(temperature-persist hs)

Collect CPU temperature (using lm-sensors) and persist (metric collection): (temperature-persist hs)

Collect CPU temperature (using lm-sensors) and persist (metric collection):
(temperature-persist hs)
sourceraw docstring

tofromclj

(tofrom desc)

Email configuration used to send emails

Email configuration used to send emails
sourceraw docstring

updateclj

(update hs)

Update the package repository of the hosts: (update hs)

Update the package repository of the hosts:
(update hs)
sourceraw docstring

upgradeclj

(upgrade hs)

Run package update followed by an upgrade on hosts that were updated successfully: (upgrade hs)

Run package update followed by an upgrade on hosts that were updated successfully:
(upgrade hs)
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close