Sha256: ad560fa5c8ac892b6bb1836b5b7db99f727cec90a7287e26be9cf847af44c01c
Contents?: true
Size: 1.52 KB
Versions: 1
Compression:
Stored size: 1.52 KB
Contents
= sermont * http://github.com/xinuc/sermont == DESCRIPTION: Sermont is a command line based script to monitor your servers. == SYNOPSIS: type the command in your terminal. sermont [options] === Options: --setup : copy example config file to your home directory -r, --raw : print the report without colors -t TIME, --time TIME : checking every TIME seconds -o FILE, --output FILE: write the report to the FILE -l, --last : log only the last report -d, --daemon : running as a daemon -h, --help : print this help -v, --version : print sermont version === Example: sermont -r -o /var/log/sermont.log -d -t 1800 == REQUIREMENTS: * term-ansicolor * daemons == INSTALL: install term-ansicolor & daemons gem if you haven't sudo gem install term-ansicolor sudo gem install daemons install xinuc-sermont from github.com sudo gem install xinuc-sermont --source=http://gems.github.com == Add Your Own Handler If you have any services that can't be checked by simply open the port, you can add you own service handler. As an example, if you want to check 'weird' service by your own method, you can create a file name "weird.rb" under YOUR_HOME_DIR/.sermont/ Then, the file should be like : # file: weird.rb def weird(host, port) # your own checking algorithm # this method should return true if the service is running # and false if the service is stopped. end == Copyright Copyright (c) 2009 Nugroho Herucahyono. See LICENSE for details.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xinuc-sermont-0.3.0 | README.rdoc |