GithubHelp home page GithubHelp logo

apocalypse-client's Introduction

Apocalypse Client

Apocalypse Client is a ruby gem that can be installed on a remote server.

Installation

Apocalypse Client currently focusses on Debian/Ubuntu systems only.

There is only one dependency to the operating system, namely the sysstat package. This package is used to gather information about disk utilisation and performance.

sudo apt-get install sysstat

Next install the ruby gem.

sudo gem install apocalypse-client

once installed run the install|now command apocalypse-client now

This will send metrics data every minute to your Apocalypse server. If you require different intervals, refer to man 5 crontab for details on how to schedule reporting.

If an error occurs cron will try to notify you by email. This depends on how your systems cron is configured.

Choosing a proper hostid

Choosing a proper hostid is important, because it can be arbitrarily chosen. There are several options:

  • Use the format appname-role-number. E.g. ariejannet-db-01 or reddis-memcached-42.
  • IP Address of the server, this guarantees some level of uniqueness

Note: at this time, there is not convention for picking hostids. However, the first method is likely to become the convention and will allow logical grouping of servers by role and application.

Authors

License

Copyright (c) 2011 Ariejan de Vroom

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

apocalypse-client's People

Contributors

ariejan avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

bram--

apocalypse-client's Issues

Older clients spam errors

On an older debian system (Debian 4.0)

 Bcast:[0-9]1.[0-9]1.[0-9]1.[0-9]3: No such file or directory

Somethings off with the client getting networking info.

Reporter doesn't see LVM volumes

The are just ignored, giving a false sense of security.

$ df -h 
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/asdf-root
                       45G  2.7G   40G   7% /
none                  492M  220K  492M   1% /dev
none                  500M     0  500M   0% /dev/shm
none                  500M   60K  500M   1% /var/run
none                  500M     0  500M   0% /var/lock
/dev/sda1             228M   45M  172M  21% /boot

/boot is reported correctly, /dev/mapper/asdf-root is not.

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.