Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
Your review has been submitted and is pending approval.
Check Windows Storage Spaces and Status of all local disks through NSClient / NRPE
Sample Output: OK: (POOL:Primordial Health:OK Operational:OK) (DISK:PhysicalDisk0 Health:OK Operational:OK) (DISK:PhysicalDisk1 Health: OK Operational:OK) (DISK:PhysicalDisk2 Health:OK Operational:OK) (DISK:PhysicalDisk3 Health:OK Operational:OK)
NSClient Integration:
copy check_storage_pool.ps1 in the nsclient/script folder
add to nsclient.ini:
[/settings/external scripts/wrappings] ps1=cmd /c echo scripts%SCRIPT% %ARGS%; exit($lastexitcode) | powershell.exe -command –
[/settings/external scripts/wrapped scripts] alias_storage_pool = check_storage_pool.ps1
Current Version
0.1
Last Release Date
2014-08-22
Owner
Martin Weber
Website
https://www.atnd.de
License
GPL
Compatible With
########################################################################## # # NAME: check_storage_pool.ps1 # # AUTHOR: Martin Weber, and GmbH # EMAIL: martin.weber aaaaaaaat atnd.de # # COMMENT: Check status of local disk and all windows storage pools # for NSClient # # CREDITS: To Nadeschda, my lovely dog ;-) # # Return Values for NRPE: # Everything OK - OK (0) # Failed - FAILED (2) # # CHANGELOG: # 0.1 2014-08-22 - initial version # ##########################################################################
You must be logged in to submit a review.
To:
From: