Comments (2)
I wonder whether this is too close to the check_vmware_snapshots_age
plugin to provide real value?
from check-vmware.
Cross-post from GH-172:
Not sure yet whether it makes sense to fold this into a combined plugin to handle multiple states or statuses for VMs.
The plugin could be named something like
check_vmware_vm_status
and could check if:
- disk consolidation is needed
- there is an active question
- VM is running on a snapshot
- there are connected optical drives
For the first two, these are boolean states and there is either a situation to be reported, or there isn't. For the last two, there isn't really a problem if either is true for a short period of time, only for an extended period. This seems to suggest that we would need to track state somehow, unless when either became true is provided by vSphere/govmomi. That would allow us to gauge the duration without tracking when the status was first observed. Offhand this would suggest one of two approaches:
don't track duration
- instead provide example configuration (via
contrib
files) which infrequently performs check and when a match is found retry with long delays for a large number of timestrack duration externally
- because service checks are not persistent
- via a local database/datastore of some kind (e.g., SQLite)
from check-vmware.
Related Issues (20)
- Build dev/stable releases using go-ci Docker image
- RPM installation output is "saw-toothed" and "noisy"
- Add support for excluding/ignoring VMs by `Folder` Managed Object ID (MOID) HOT 3
- Add support for excluding/ignoring VMs by Custom Attribute
- Add support for ignoring list of hostnames to the `check_vmware_hs2ds2vms` plugin
- Create plugin to list Virtual Machines in order to test include/exclude options HOT 1
- Evaluate consistency of terminology regarding VM collections HOT 4
- Replace hard-coded flag names with constants HOT 2
- `vsphere.FilterVMsByX` functions have inconsistent return values HOT 1
- Update help text for include/exclude RP flags to emphasize filtering by name HOT 1
- Add support for unescaping URL encoded VirtualMachine names HOT 1
- Create plugin to monitor age of VM templates
- Add support for including/excluding resource pools by Managed Object ID (MOID)
- Add support for including/excluding resource pools by cluster HOT 1
- Add support for including/excluding virtual machines by name
- `gosec` `G601: Implicit memory aliasing in for loop` linting errors
- Refactor objects tally logic used to provide plugin "trailer" summary details HOT 1
- Update datastore plugins to indicate which VMs within datastore are templates
- Add virtual machine templates count to common report "trailer", metrics? HOT 1
- Update `vsphere.VMwareAdminAssistanceNeeded` annotation to point sysadmins to plugin doc HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from check-vmware.