-
Notifications
You must be signed in to change notification settings - Fork 0
Python library that represents a base for a probe (little daemon that collects information about a machine)
License
direvius/probebase
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Base for monitoring probe
-------------------------
A base for the monitoring probe that takes multiple probes,
runs them once in a selected period of time, collects data
from them and send they to the selected listeners.
How to use
----------
1. Install
2. Create a probe function(s) that returns a collection of (metric, value, timestamp) triplets
3. Pass those function(s) to the AppBuilder
4. Add any additional command-line options via add_option method
5. Get an App object from AppBuilder with create() method
6. Invoke a launch() method of the App object. It will automatically detect any command-line options
and run an application in daemonized or interactive mode.
Default command line options
----------------------------
-h, --help show this help message and exit
-l, --log enable logging metrics
-L LOGFILE, --log-file=LOGFILE
log file
-r GRAPHITE_ADDRESS, --graphite-address=GRAPHITE_ADDRESS
graphite server address (use comma for multiple
addresses)
-R GRAPHITE_PORT, --graphite-port=GRAPHITE_PORT
graphite server port
-i INTERVAL, --interval=INTERVAL
collection interval in seconds
-P GRAPHITE_PREFIX, --graphite-prefix=GRAPHITE_PREFIX
graphite prefix
-g, --use-graphite report metrics to graphite
-v, --version show version and exit
-V, --verbose set log level to DEBUG
-I, --interactive do not detach from console
About
Python library that represents a base for a probe (little daemon that collects information about a machine)
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published