VMWare

PowerCLI Windows Plugin Monitor Datastore

Description:

CapacityGB: 1003GB > FreeSpaceGB: 205GB
WARNING! Datastore AX4-1 > CapacityGB: 1003GB > FreeSpaceGB: 205GB
OK! Datastore AX4-1 > CapacityGB: 1003GB > FreeSpaceGB: 205GB

.EXAMPLE
.check_vmware_triggeredalarms.ps1 -Server VCENTER -Name DataStore-Name -W 50 -C 10

.EXAMPLE
.check_vmware_triggeredalarms.ps1 -Server VCENTER -CredentialFilePath .nagios.monitor.xml -Name DataStore-Name -W 50 -C 10

.EXAMPLE
.check_vmware_triggeredalarms.ps1 -Server VCENTER -User monitor.user -Password MyPassword -Name DataStore-Name -W 50 -C 10

#>

Current Version

1.0

Last Release Date

2018-02-05

Compatible With

  • Nagios 3.x
  • Nagios 4.x

Owner

License

GPL


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!
Project Files
Project Notes
<# .SYNOPSIS This script will connect to vSphere through PowerCLI and using PowerShell, it will return information about the alerts: Will Return Something Like This! CRITICAL! Datastore AX4-1 > CapacityGB: 1003GB > FreeSpaceGB: 205GB WARNING! Datastore AX4-1 > CapacityGB: 1003GB > FreeSpaceGB: 205GB OK! Datastore AX4-1 > CapacityGB: 1003GB > FreeSpaceGB: 205GB .NOTES Author : Pedro Simões .LINK http://blog.mirandasimoes.eu .PARAMETER Server Server Full Address or Machine Name .PARAMETER CredentialFilePath Path For Credential File Generated by Function New-VICredentialStoreItem a Password file can be Generated By » New-VICredentialStoreItem -Host $VIServer -User $user -Password $password -File $CredentialFilePath .PARAMETER Name Datastore Name .PARAMETER W Return Warning in GB .PARAMETER C Return Critical in GB .EXAMPLE .check_vmware_triggeredalarms.ps1 -Server VCENTER -Name DataStore-Name -W 50 -C 10 .EXAMPLE .check_vmware_triggeredalarms.ps1 -Server VCENTER -CredentialFilePath .nagios.monitor.xml -Name DataStore-Name -W 50 -C 10 .EXAMPLE .check_vmware_triggeredalarms.ps1 -Server VCENTER -User monitor.user -Password MyPassword -Name DataStore-Name -W 50 -C 10 #>
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
5,921