{"id":20066287,"url":"https://github.com/ossobv/gocollect","last_synced_at":"2025-05-05T18:32:37.216Z","repository":{"id":57525890,"uuid":"54962661","full_name":"ossobv/gocollect","owner":"ossobv","description":"Data collector using go, periodically posts json to a REST api","archived":false,"fork":false,"pushed_at":"2024-06-13T11:41:19.000Z","size":514,"stargazers_count":6,"open_issues_count":15,"forks_count":1,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2024-06-20T02:12:03.342Z","etag":null,"topics":["auditing","monitoring-stack"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ossobv.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","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":"2016-03-29T09:20:06.000Z","updated_at":"2024-06-13T11:31:21.000Z","dependencies_parsed_at":"2023-09-22T22:03:56.442Z","dependency_job_id":"10f0ee3b-5427-4555-9f34-231f84e72d06","html_url":"https://github.com/ossobv/gocollect","commit_stats":null,"previous_names":[],"tags_count":53,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossobv%2Fgocollect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossobv%2Fgocollect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossobv%2Fgocollect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossobv%2Fgocollect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ossobv","download_url":"https://codeload.github.com/ossobv/gocollect/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224461886,"owners_count":17315116,"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":["auditing","monitoring-stack"],"created_at":"2024-11-13T13:55:55.931Z","updated_at":"2024-11-13T13:55:56.531Z","avatar_url":"https://github.com/ossobv.png","language":"Shell","readme":"|GoCollect|\n===========\n\n|goreportcard|\n\nGoCollect collects various pieces of system info and publishes them to a\ncentral server.\n\nThe intent of GoCollect is to create a map of your servers with slow and\nnever changing data items. Where you may use Zabbix for semi-realtime\nmonitoring of integer values like current CPU usage, *you use GoCollect\nto collect values like hard drive serial numbers, IPMI IP-addresses and\nversions of installed OS packages.*\n\n\nInstalling\n----------\n\n::\n\n    make \u0026\u0026 make install\n    cp /etc/gocollect.conf.sample /etc/gocollect.conf\n    # edit /etc/gocollect.conf\n    # then start/restart gocollect using your favorite init method\n\nYou may need to set up a go path first::\n\n    mkdir -p ~/go\n    export GOPATH=~/go\n\nAnd check this out inside that::\n\n    git clone https://github.com/ossobv/gocollect \\\n      $GOPATH/src/github.com/ossobv/gocollect\n\nAnd install prerequisites::\n\n    go get github.com/ossobv/go-getopt\n\nPossibly set env to old style module handling::\n\n    # go.mod file not found in current directory or any parent directory...\n    go env -w GO111MODULE=off  # sets ~/.config/go/env: GO111MODULE=off\n\n\nPackaging for Debian\n--------------------\n\nPrerequisites:\n\n.. code-block:: console\n\n    $ sudo apt-get install git-buildpackage dh-make dh-systemd\n\nOptional:\n\n.. code-block:: console\n\n    $ cat \u003e .git/gbp.conf \u003c\u003c EOF\n    [DEFAULT]\n    upstream-branch=main\n    debian-branch=debian\n\n    [buildpackage]\n    upstream-tag = v%(version)s\n    EOF\n\nRunning:\n\n.. code-block:: console\n\n    $ git checkout debian\n    $ gbp buildpackage -sa \\\n        --git-debian-branch=debian --git-upstream-tag='v%(version)s'\n\nNote that release candidate versions must be tagged as ``v1.2_rc3``.\ngbp-buildpackage rewrites the underscore to a debian-style tilde.\nPre-release development versions shall be called ``v1.3_dev`` which\nsorts before ``v1.3_rc1``, which in turn sorts before ``v1.3``.\n\n\nPackaging a tarball\n-------------------\n\nTo to create a tarball with the latest version, including a config file,\ndo this:\n\n.. code-block:: console\n\n    $ cd gocollect-client\n    $ TGZ_CONFIG=/path/to/gocollect.conf make tgz\n    ...\n    Created: gocollect-v0.4~rc6+1.g83d4-md5conf-c0f48c3.tar.gz\n\nYou can then extract and run that archive on the target machine like\nthis:\n\n.. code-block:: console\n\n    $ cat gocollect-v0.4~rc6+1.g83d4-md5conf-c0f48c3.tar.gz | sudo tar -xzvC /\n    $ sudo /etc/init.d/gocollect start\n\nYou may need to install additional dependencies first to get all\ncollectors to work properly. For example ``smartmontools`` or\n``ipmitool``.\n\n\nGolang notes to self\n--------------------\n\n- https://golang.org/doc/code.html\n- http://openmymind.net/\n- https://jamescun.com/golang/binary-size/\n\n\nLicense\n-------\n\nThe source code is licensed according to the GNU GPLv3+;\nsee `LICENSE\n\u003chttps://github.com/ossobv/gocollect/blob/main/LICENSE\u003e`_.\n\nThe artwork |--| the GoCollect logo |--| is licensed according to the\n*Attribution-NonCommercial-ShareAlike 4.0 International* Creative Commons\nlicense (CC BY-NC-SA 4.0);\nsee `LICENSE.CC.BY-NC-SA.4-0.txt\n\u003chttps://github.com/ossobv/gocollect/blob/main/artwork/LICENSE.CC.BY-NC-SA.4-0.txt\u003e`_.\n\n\n\n.. |GoCollect| image:: https://raw.githubusercontent.com/ossobv/gocollect/main/gocollect.png\n    :alt: GoCollect\n.. |goreportcard| image:: https://goreportcard.com/badge/github.com/ossobv/gocollect\n    :target: https://goreportcard.com/report/github.com/ossobv/gocollect\n.. |--| unicode:: U+2013   .. en dash\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fossobv%2Fgocollect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fossobv%2Fgocollect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fossobv%2Fgocollect/lists"}