Giter VIP home page Giter VIP logo

Comments (2)

atc0005 avatar atc0005 commented on June 1, 2024

I wonder whether this is too close to the check_vmware_snapshots_age plugin to provide real value?

from check-vmware.

atc0005 avatar atc0005 commented on June 1, 2024

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 times
  • track 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.