forked from pquerna/ckl
Cloudkick Changelog Tool
License
ampledata/ckl
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Cloudkick Changelog Tool ------------------------------ A command line tool for noting when something was changed on a machine. The contents of the message are POST'ed to another server for logging. === Configuration == There are only two configuration variables. The address of an endpoint, and the secret key to authenticate the client. Both HTTPS and HTTP are supported, althgouh the SSL certificate is not yet validated. == Example Config Flie == Put the following in /etc/ckl.conf: ckl_endpoint http://ckl.example.com/ secret mySuperSecret == Example Usage == $ ckl -m 'I reconfigured postfix' Will post to your configured endpoint the following data: - API Key - Log Message - Machine Hostname - Username - Timestamp Endpoints are just HTTP or HTTPS servers configured with an application to store this data. The API key is just a secret string that it is up to the endpoint to validate. == Endpoints == A simple Python based endpoint is bundled in <webapp/ckl.cgi> which uses an SQLite database to store change log entries. The protocol is a simple HTTP form POST to the endpoint URL. It should be trivial to port the endpoint to any langauge of your choice.
About
Cloudkick Changelog Tool
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Shell 81.9%
- C 17.7%
- Python 0.4%