Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gcoonrod/collectd-collector
OpenShift nodejs cartridge to collect data from Collectd write_http plugin
https://github.com/gcoonrod/collectd-collector
Last synced: about 1 month ago
JSON representation
OpenShift nodejs cartridge to collect data from Collectd write_http plugin
- Host: GitHub
- URL: https://github.com/gcoonrod/collectd-collector
- Owner: gcoonrod
- Created: 2014-05-21T18:04:23.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-28T20:46:29.000Z (over 10 years ago)
- Last Synced: 2023-08-07T05:22:31.160Z (over 1 year ago)
- Language: JavaScript
- Size: 3.72 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
collectd-collector
==================OpenShift nodejs cartridge to collect data from Collectd write_http plugin
Collectd Setup
==================
The write_http plugin needs to be configured to report to the node server.
Make the following change in collectd.conf and replace `LISTENER_HOSTNAME` with your server's FQDN.```
LoadPlugin write_http
Format "JSON"
```
Viewing Collectd Reports
================
collectd-collector writes the incoming collectd reports to `/json/data.json`. Using a browser you can view the latest report at `http://LISTENER_HOSTNAME/data`.Common Errors
=================
* `http://LISTENER_HOSTNAME/data` Only responds with `{}`
* Check that your server is recieving POST commands at `/json`. Use a tool like the Chrome plugin Postman.
* Check that the `write_http` plugin was compiled in your deployment of Collectd. The `write_http` plugin depends on curl and curl-config during compilation. So you may need to install those applications before recompiling collectd. You can see which plugins have been compiled by looking in the `collecd.conf` file. Any plugins preceeded by `##` were not compiled.