GithubHelp home page GithubHelp logo

consol-monitoring / check_vsphere Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 5.0 1.84 MB

A check pugin for naemon/nagios/icinga to monitor various stuff on ESXi Hosts and VCenter

Home Page: https://omd.consol.de/docs/plugins/check_vsphere/

License: GNU Affero General Public License v3.0

Makefile 0.76% Python 90.21% Perl 6.26% Shell 2.77%
icinga icinga2 monitoring naemon nagios vmware vsphere

check_vsphere's People

Contributors

datamuc avatar hiasg avatar nook24 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

check_vsphere's Issues

Datastore Monitoring

A usage monitoring of datastores like the volumes on check_vmware_esx would be nice

Snapshot checks

  • check_vmware_health
  • check_vmware_snapshots.pl

with modes

  • -S snapshots -s age
  • -S snapshots -s count

black/whitelisting is important

implement vsan object health check

In the GUI we can see:

Cluster->Monitor->Skyline Health->vsan object health

We can access that stuff with a stupid addon to pyVmomi:

https://developer.vmware.com/web/sdk/8.0/vsan-python

  • get VsanObjectOverallHealth of the Cluster
  • analyze the objectHealthDetail property
  • create a check result based on vim.host.VsanObjectHealth.VsanObjectHealthState
    of the objectHealthDetails

Here is an in depth explanation of VsanObjectHealthState:

https://kb.vmware.com/s/article/2108319

host-nic help

Review host-nic help, seems --ignored and --unplugged-state have the same docuementation ...

Runtime Health mode

Mode in the old plugin: check_vmware_esx -S runtime -s health

Example output:

OK: All 93 health checks are GREEN: fan (13x), processor (3x), CPU (5x), battery (1x), voltage (4x), systemBoard (1x), memory (1x), other (1x), Memory (5x), Storage (10x), power (10x), temperature (39x)

WARNING: 1 health issue(s) found in 78 checks: 1) [Warning] [Type: battery] [Name: Battery 1 Megacell Status] [Label: Yellow] [Summary: Sensor is operating under conditions that are non-critical]

CRITICAL: 1 health issue(s) found in 110 checks: 1) [Critical] [Type: Storage] [Name: Disk or Disk Bay 0 HDD1_STATUS: Drive Fault - Assert] [Label: Red] [Summary: Sensor is operating under critical conditions]

storage adapter

implement check_vmware_esx' -S storage -s adapter -B vmhba0,vmhba64,vmhba65,vmhba66,vmhba67

host maintenance

implement a check that is critical when a host is in maintenance

net nic

implement check_\vmware_esx' -S net -s nic

dc runtime

Implement replacements for:

check_vmware_esx -D vcenter -S runtime -s listhost --alertonly
check_vmware_esx -D vcenter -S runtime -s listhosts
check_vmware_esx -D vcenter -S runtime -s listvms

probably check_vsphere dc-runtime ....

Check services

i.e.:

check_vmware_esx -S service -s service -W DCUI,vpxa,ntpd

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.