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

Change how module is executed on the minions #22

Open
neilmunday opened this issue Apr 25, 2019 · 0 comments
Open

Change how module is executed on the minions #22

neilmunday opened this issue Apr 25, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@neilmunday
Copy link
Owner

neilmunday commented Apr 25, 2019

Instead of invoking the inventory.audit function every few hours, implement "inventory.run" to execute every 10-15 minutes. This function should read the config files on the minion (see issue #21) to determine which functions need to be executed.

Proposed functions to run regularly:

  • audit -> existing audit functionality minus logging user info
  • user -> new function to report users currently logged into a minion
  • metrics -> new function to report back metrics for the minion (e.g. CPU load, memory use, disk usage etc. see issue Add minion metric checks #16)

These functions may need to cache data on the minion which can then be used to decide whether to report back to the master or not. For example, if the users logged haven't changed then don't report back. This is similar to the existing audit cache.

@neilmunday neilmunday added the enhancement New feature or request label Apr 25, 2019
@neilmunday neilmunday added this to the Version 2.0 milestone Apr 25, 2019
@neilmunday neilmunday self-assigned this Apr 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant