Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agent entity system facts #26

Closed
portertech opened this issue Mar 23, 2017 · 5 comments
Closed

Agent entity system facts #26

portertech opened this issue Mar 23, 2017 · 5 comments
Assignees

Comments

@portertech
Copy link
Contributor

portertech commented Mar 23, 2017

The Sensu agent needs to discover some facts about its system and publish them in keepalives (tags).

Facts to send:

  • hostname
  • network interfaces (more than one address)
  • os
  • platform
  • platform family
  • platform version
  • uptime

Could use a library like:

https://github.com/shirou/gopsutil

@grepory
Copy link
Contributor

grepory commented Mar 23, 2017

@grepory
Copy link
Contributor

grepory commented Mar 23, 2017

@grepory
Copy link
Contributor

grepory commented Mar 23, 2017

you can switch on runtime.GOOS to get OS family, but there's nothing in the runtime that will help there.

@grepory
Copy link
Contributor

grepory commented Mar 23, 2017

gopsutil is interesting, but the readme is confusing me. e.g.:

Several methods have been added which are not present in psutil, but will provide useful information.

@portertech
Copy link
Contributor Author

system facts are just informational, hostname and network interface addresses are mvp, as an incident responder can use these entity attributes/tags to determine the "where"

os, platform, and release help identify what kind of system and what to expect, e.g. ssh or winrm?

uptime helps identify check failures that may have to do with fresh boots

@portertech portertech self-assigned this Mar 24, 2017
@grepory grepory added in progress and removed ready labels Mar 27, 2017
@portertech portertech changed the title agent entity system facts Agent entity system facts Mar 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants