{"id":13530693,"url":"https://github.com/ostrost/ostent","last_synced_at":"2025-12-17T10:59:01.229Z","repository":{"id":15547121,"uuid":"18282081","full_name":"ostrost/ostent","owner":"ostrost","description":"Ostent is a server tool to collect, display and report system metrics.","archived":false,"fork":false,"pushed_at":"2022-12-12T14:53:10.000Z","size":28632,"stargazers_count":180,"open_issues_count":0,"forks_count":14,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-09-21T22:08:56.533Z","etag":null,"topics":["devops","metrics","monitoring"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ostrost.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-31T04:52:10.000Z","updated_at":"2024-12-10T02:24:27.000Z","dependencies_parsed_at":"2023-01-13T18:28:52.825Z","dependency_job_id":null,"html_url":"https://github.com/ostrost/ostent","commit_stats":null,"previous_names":["rzab/ostent"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/ostrost/ostent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostrost%2Fostent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostrost%2Fostent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostrost%2Fostent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostrost%2Fostent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ostrost","download_url":"https://codeload.github.com/ostrost/ostent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostrost%2Fostent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27782144,"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","status":"online","status_checked_at":"2025-12-17T02:00:08.291Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["devops","metrics","monitoring"],"created_at":"2024-08-01T07:00:53.646Z","updated_at":"2025-12-17T10:59:01.212Z","avatar_url":"https://github.com/ostrost.png","language":"Go","readme":"# Ostent [![Travis CI][2]][1]\n[1]: https://travis-ci.org/ostrost/ostent\n[2]: https://travis-ci.org/ostrost/ostent.svg?branch=master\n\nOstent collects metrics to display and report to InfluxDB, Graphite, Librato.\n\n![Screenshot](./screenshot.png)\n\nSystem metrics collected and reported:\n- RAM, swap usage\n- CPU usage, load average\n- Disk space usage in bytes and inodes\n- Network ins and outs in bytes, packets, drops and errors\n\nThe processes top is on-display only.\n\n## Install\n\nOstent is a single executable.\n[Release tarball](https://github.com/ostrost/ostent/releases)\nhas the binary \u0026mdash; download and extract in one go:\n\n```sh\ncurl -L https://github.com/ostrost/ostent/releases/download/v0.7.0/`uname`-`uname -m`.tar.xz | tar Jxf -\n```\n\nThis will place executable in `./usr/**/bin/ostent`.\nFor system-wide install use `sudo tar Jxf - -C / \u003c\u003c\u003c...`.\n\nPlatforms:\n\n   - Linux\n   - FreeBSD\n   - Mac OS X\n\n## Usage\n\n```\n$ ostent -h\nOstent is a server tool to collect, display and report system metrics.\n\nUsage:\n  ostent [flags]\n\nFlags:\n      --bind string         server bind address (default \"\")\n      --bind-port int       server bind port (default 8050)\n      --config string       config filename (default \"$HOME/.ostent.toml\")\n      --interval duration   metrics collection interval (default 10s)\n      --log-requests        log server requests (default false)\n      --upgrade-checks      periodic upgrade checks (default true)\n      --version             print version and exit\n```\n\n## Config\n\nConfiguration file supports all [telegraf][3] settings.\nOstent implementation features extra `[agent]` `bind` and `bind_port`.\nOtherwise same structure, sections and options of [telegraf config][3].\n[3]: https://github.com/influxdata/telegraf/blob/master/docs/CONFIGURATION.md#agent-configuration\n\nDefaults for options and plugins applied when they're not stated in the file.\nEach default plugin can be disabled with it's `disabled = true`.\nEffective runtime config is printed at ostent startup and reload.\n\nTo enable reporting to InfluxDB:\n\n```toml\n[outputs]\n  [outputs.influxdb]\n    database = \"ostent\"\n    urls = [\"http://127.0.0.1:8086\"]\n```\n\nOther outputs sections would be `[outputs.graphite]` and `[outputs.librato]`.\n\n## Running the code\n\n1. `go get github.com/ostrost/ostent`\n2. `ostent` to run.\n\nSee also [Two kind of builds](#two-kinds-of-builds).\n\n### Rebuilding\n\n1. `cd $(go list -f {{.Dir}} github.com/ostrost/ostent)`\n2. `make init` once.\n3. `npm install` once, optional, sets up assets and template rebuilding.\n4. `gulp watch` or `make` after changes.\n\n`make` rebuilds these **commited to the repo** files:\n- `share/assets/bindata.*.go`\n- `share/assets/css/*.css`\n- `share/assets/js/*/*.js`\n- `share/templates/*.html`\n- `share/templates/bindata.*.go`\n- `share/js/*.jsx`\n\nIf you don't change source files, content re-generated\nshould not differ from the commited.\n\n`gulp watch`\n\n- watches share/{js,style,templatesorigin} and rebuilds dependants on changes\n- does live-reloading `ostent` code run\n- acceps all ostent flags e.g. `gulp watch -b 127.0.0.1:8080`\n\n### Two kinds of builds\n\nStandalone and release binaries produced by `make` (or `go get -tags bin`)\ninclude embeded template and assets.\n\nNon-bin builds made by `gulp watch` and `go get`\n- serve assets and use template from actual files\n- have a set of flags facilitating debugging etc.\n","funding_links":[],"categories":["DevOps Tools","Consuming data from InfluxDB","Software Packages","软件包","軟件包","Go Tools","Go 工具"],"sub_categories":["Dashboards and visualization","DevOps Tools","devops 工具","DevOps 工具","Contents","代码分析","DevOps工具"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fostrost%2Fostent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fostrost%2Fostent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fostrost%2Fostent/lists"}