Active Checks

check_storage_pool.ps1

0 (0)
19,708
0
0

Thank you for your review!

Your review has been submitted and is pending approval.

Description

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


Project Details

Current Version

0.1

Last Release Date

2014-08-22

Owner

Martin Weber

License

GPL

Compatible With

  • Nagios 3.x
  • Nagios 4.x

Recommend

To:


From: