Home Directory Plugins Operating Systems * Virtual Environments VMWare check_vmfs_https.sh - Check vmfs datastores through https

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_vmfs_https.sh - Check vmfs datastores through https

Rating
0 votes
Favoured:
0
Current Version
v1
Last Release Date
2013-11-26
Compatible With
  • Nagios 3.x
Owner
License
GPL
Hits
33146
Files:
FileDescription
check_vmfs_https.shcheck_vmfs_https.sh
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
This Nagios Plugin gets the size (Kb, Mb, Gb) of the vmfs volumes (datastores) of a VMWare Server Esxi 4, using https.
Based on check_vmfs.sh - Check vmfs datastores.
But don't need VCLI install just use wget!

Warning and critical levels can be set, and plugin gives us perfdata output too, so it can be graphed with graphical tools as pnp4nagios, besides the usual Nagios states (OK, WARNING and CRITICAL).
In commands.cfg you can add, by example:

define command{
command_name check_vmfs
command_line $USER1$/check_vmfs.sh -V $ARG1$ -w $ARG2$ -c $ARG3$ -u $ARG4$
}

And in services.cfg by example:
define service{
use generic-service
host_name svrvirtual
service_description Espacio Sauron
check_command check_vmfs!/vmfs/volumes/Sauron!80!90!Gb
}


./check_vmfs_https.sh -C vmware_esxi_conf.txt -S server -V datastore1 -w 10 -c 20 -u Gb
CRITICAL - datastore1 - total: 460.75 Gb - used: 229.70 Gb (49%)- free: 231.04 Gb (51%) | datastore1=229.70Gb;46.07;92.15;;460.75