Giter Site home page Giter Site logo

lasa's Introduction

Lasa

Introduction

Lasa is a simple script for monitoring bits and pieces of your Linux system. It pales in comparison to real monitoring software like Nagios and Zabbix, but its aim is to be useful for non-root users who want to stay well-informed about the systems they work with.

Installation

Nothing to it, just put lasa in your path and it's ready to go.

You probably want to make a ~/.lasa.d directory where you can store your typical checks. Otherwise, you can pass them in on standard input or specify some other configuration directory with -c.

Running

$ lasa

Running with no arguments will run the configured checks and print out anything that fails. Use -v for output of what passed and failed, or -d for debug output on top of that.

Normally lasa writes a report to standard output. You can have it mailed out instead with -m. This only sends a report if there is a failure somewhere.

DSL

Lasa uses a dumb DSL to specify checks. Run lasa with -S to see the syntax. Some examples:

fs exists /data01
dir exists /var/spool/foo
daemon httpd
file exists /etc/something.conf

Put one check per line in each file in your configuration directory. Lines starting with #, empty lines, and blank lines are skipped. Naming a file with the suffix ".off" will turn it off, i.e., get it skipped.

lasa's People

Contributors

bhavanki avatar

Watchers

 avatar  avatar  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.