{"id":19031454,"url":"https://github.com/plandes/gelfglance","last_synced_at":"2025-06-11T17:02:50.042Z","repository":{"id":80107512,"uuid":"134328651","full_name":"plandes/gelfglance","owner":"plandes","description":"Forward Glances statistics as gelf logs","archived":false,"fork":false,"pushed_at":"2019-01-18T02:45:13.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-21T20:25:13.358Z","etag":null,"topics":["gelf","glances","graylog","logging","monitoring"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/plandes.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-21T21:46:09.000Z","updated_at":"2019-01-18T02:45:14.000Z","dependencies_parsed_at":"2023-09-20T18:45:08.529Z","dependency_job_id":null,"html_url":"https://github.com/plandes/gelfglance","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/plandes/gelfglance","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plandes%2Fgelfglance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plandes%2Fgelfglance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plandes%2Fgelfglance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plandes%2Fgelfglance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plandes","download_url":"https://codeload.github.com/plandes/gelfglance/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plandes%2Fgelfglance/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259301676,"owners_count":22836975,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gelf","glances","graylog","logging","monitoring"],"created_at":"2024-11-08T21:23:31.829Z","updated_at":"2025-06-11T17:02:50.027Z","avatar_url":"https://github.com/plandes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Forward glance statistics as gelf logs\n\nThis command line utility forwards [Glances] statistics and forwards the data\nto [Graylog].  The program runs in a loop for an (optional) given number of\ntimes in a timeout.  Each loop cycle collects data from the [Glances] server\nand forwards the data as a \"first class\" (descrete fields) Graylog message.\n\nWith this data you can configured dashboards to report statistics based on\nsystem health, temperatures etc.\n\nThe program currently records the following:\n\n* CPU temperature (sensors)\n* CPU load\n\nOther data from [Glances] is very easy to add, I just haven't had a lot of time\nto add them but I'd be glad to if someone asked for more.  If so, create an\nissue and I'll look into your request.\n\n![Screenshot](doc/snap.png?raw=true \"Dashboard Example\")\n\n## Installing\n\nYou need Python 3 to run the program and the *pip* installer.\n\nInstall the library and program:\n```bash\npip install gelfglance\n```\n\nFor *systemd* operating systems, the example [systemd service] file might be\nuseful.\n\n\n## Usage\n\nExample: forward [Glances] statistics on server `jove.com` at port 61207 to\nthe [Graylog] server `ossage.com` every minute.\n\n```bash\ngelfglance server --gelfserver jove.com --glancesport 61207 --source ossage --glancesserver ossage.com -t 60\n```\n\nHere's the usage for convenience (use `--help`):\n\n```pony\nUsage: gelfglance \u003clist|...\u003e [options]\n\nOptions:\n  --version             show program's version number and exit\n  -h, --help            show this help message and exit\n  -w NUMBER, --whine=NUMBER\n                        add verbosity to logging\n  -x, --short           short output for list\n\n\nUsage: gelfglance server [additional options]\n\nStart in server mode\n\nOptions:\n  -g STRING, --gelfserver=STRING\n                        Graylog host name (defaults to localhost)\n  -p INTEGER, --gelfport=INTEGER\n                        Graylog port (defaults to 12201)\n  -s STRING, --glancesserver=STRING\n                        Glances server port (defaults to localhost)\n  -l INTEGER, --glancesport=INTEGER\n                        Glances port (defaults to 61208)\n  -r STRING, --source=STRING\n                        Graylog port (defaults to 12201)\n  -c STRING, --count=STRING\n                        Number of messages to send (default to infinite)\n  -t STRING, --timeout=STRING\n                        Timeout between each sent message in seconds (defaults to 10)\n  -h, --help            show this help message and exit\n```\n\n\n## Changelog\n\nAn extensive changelog is available [here](CHANGELOG.md).\n\n\n## License\n\nCopyright © 2018 Paul Landes\n\nApache License version 2.0\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n\u003c!-- links --\u003e\n\n[Glances]: https://nicolargo.github.io/glances/\n[Graylog]: https://www.graylog.org\n[systemd service]: config/glancesgelf.service\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplandes%2Fgelfglance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplandes%2Fgelfglance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplandes%2Fgelfglance/lists"}