Inventory in Go because why not

Valérianne Dashie 5a0e38d999
Nicest route
2 months ago
agent Fix infinit loop by using Cron's one blocking func 2 months ago
server Nicest route 2 months ago
vendor Add one more vendor 2 months ago
.drone.yml Update Drone CI to reflect split 2 months ago
.gitignore Fix gitignore 2 months ago
LICENSE Add LICENSE 2 months ago
Makefile Add test target 2 months ago
README.md Add README 2 months ago
glide.lock Add one more vendor 2 months ago
glide.yaml Add one more vendor 2 months ago

README.md

goinv

Inventory in Go, because why not.

TODO

  • Write a web frontend with /api/ part
  • Collectors:
    • https://github.com/distatus/battery
    • users on OS
    • packages (rpm, deb, at least) and freshness (are updates availables ?)
    • LXC guests list if host
    • LXD guests list if host
  • Nginx vhost list by parsing configs in a "debian-like way" (nginx/sites-enabled/*)
  • MySQL databases list
  • PostgresSQL databases list
  • Redis db list (is it possible ?)

Install

go get -v -insecure -u dev.sigpipe.me/dashie/goinv

Edit config: conf/app.ini and conf/collectors.cfg

Launch how you want the "./goinv agent" and "./goinv web" Or use the Systemd Unit files in "conf/" directory and adapt them

Contact, issues

  • Main contact: Dashie: dashie (at) sigpipe (dot) me
  • Main repository: https://dev.sigpipe.me/dashie/goinv
  • Main issue tracker: https://dev.sigpipe.me/dashie/goinv/issues

Licensing

  • MIT License