Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monitor 10 or more disks problem #8

Open
ggoodgguy opened this issue Feb 27, 2024 · 0 comments
Open

Monitor 10 or more disks problem #8

ggoodgguy opened this issue Feb 27, 2024 · 0 comments

Comments

@ggoodgguy
Copy link

ggoodgguy commented Feb 27, 2024

Hello,
anyone successfully fixed the script to monitor 10 ore more disks?
For every disk of number 10 and above I get error in zabbix

You cannot call a method on a null-valued expression.
At C:\zabbix\scripts\adaptec-raid.ps1:163 char:5
+ $pd_status = ($response[$partid] -split ':')[1].Trim()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull

Disks are discovered but status is above error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant