-
Notifications
You must be signed in to change notification settings - Fork 3
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
Create plugin to monitor host memory #7
Comments
Note: This might be extended to cover host CPU usage as well, but the initial design is intended specifically for host memory monitoring. |
Starting work on this. From the
Basically borrow the ideas from the datastore monitoring plugin, but specific to a single host. Hopefully including the list of VMs (presumably sorted by memory usage) will come in handy to anyone receive an alert for host memory usage. |
It would be good to include the number of VMs running on the host in the one-line summary. Due to access/permissions, the number will likely reflect only those VMs the service account executing the plugin has access to, but that's still useful. If a service account is used by a cluster admin, they'll see the full number (and listing in the extended output), but if the service account is used by a team that is managing only a portion of the resources (e.g., a tenant leasing hosting capacity) they'll see the number and relevant VMs to them. This seems to still be a useful thing. |
TODO: Include HR version of |
As with several other plugins in this project, this one borrows heavily from existing projects. In particular, this plugin is based heavily on the datastore usage plugin while borrowing elements from other recent plugins. Small adjustments were made to shared code in order to support the new plugin. In short, this plugin monitors the memory use on a specified host. This plugin also reports which powered on and powered off VMs are attached to the host along with the memory consumed by each, including the overall percentage of the host's memory. Doc updates have been applied, example usage has been added, including a command definition "contrib" file illustrating how the plugin would be referenced within a production Nagios configuration. refs GH-7
As with several other plugins in this project, this one borrows heavily from existing projects. In particular, this plugin is based heavily on the datastore usage plugin while borrowing elements from other recent plugins. Small adjustments were made to shared code in order to support the new plugin. In short, this plugin monitors the memory use on a specified host. This plugin also reports which powered on and powered off VMs are attached to the host along with the memory consumed by each, including the overall percentage of the host's memory. Doc updates have been applied, example usage has been added, including a command definition "contrib" file illustrating how the plugin would be referenced within a production Nagios configuration. refs GH-7
Unlike GH-5 which is intended to monitor a percentage of a set amount of memory across a cluster (e.g., are "we" within our leased memory range), this plugin is intended to monitor a specific host. This is intended to help identify hosts that are overburdened in a shared hosting environment where an automated rebalancing policy may not be in effect.
The text was updated successfully, but these errors were encountered: