Code Monkey home page Code Monkey logo

pelo's Introduction

pelo

pelo is a periodic host monitor that utilizes ping to check for host availability.

Table of contents

If you simply want to try pelo without having to build all the dependencies, run:

docker run --security-opt seccomp=unconfined ebzzry/pelo 8.8.8.8

If you’re satisfied, you may create a shell function:

pelo () { docker run --security-opt seccomp=unconfined ebzzry/pelo $@; }

a shell alias:

alias pelo="docker run --security-opt seccomp=unconfined ebzzry/pelo"

or even a script in ~/bin:

cat > ~/bin/pelo << MEH
#!/usr/bin/env bash
docker run --security-opt seccomp=unconfined ebzzry/pelo $@
MEH
chmod +x ~/bin/pelo

Install the dependencies using the following commands, on Debian and NixOS systems, respectively:

sudo apt-get install -y curl sbcl cl-launch make git iputils-ping sox
nix-env -i curl sbcl cl-launch gnumake git iputils sox

Then, install pelo:

mkdir -p ~/bin ~/common-lisp
git clone https://github.com/fare/asdf ~/common-lisp/asdf
git clone https://github.com/zhaqenl/pelo ~/common-lisp/pelo
curl -O https://beta.quicklisp.org/quicklisp.lisp
sbcl --noinform --load quicklisp.lisp --eval  '(quicklisp-quickstart:install)' --eval '(let ((ql-util::*do-not-prompt* t)) (ql:add-to-init-file) (sb-ext:exit))'
sbcl --noinform --eval "(progn (mapc #'ql:quickload '(:inferior-shell :clon :cl-launch :fare-utils :cl-scripting)) (sb-ext:exit))"
make -C ~/common-lisp/pelo install

The executable program will then be available at:

~/bin/pelo

To build the Docker image, run the following command inside the repository directory:

docker build -t ogag/pelo .

To test it out:

docker run --security-opt seccomp=unconfined ogag/pelo --help

This was inspired by pell and the structure of this README was based on baf.

pelo's People

Contributors

zhaqenl avatar

Stargazers

Priyadarshan avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.