GithubHelp home page GithubHelp logo

goid1989 / zbx-adaptec-raid Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 12.0 49 KB

Zabbix Template and PowerShell script with Low Level Discovery (LLD) for Adaptec RAID Controllers

PowerShell 50.22% Shell 49.78%
zabbix-templates adaptec

zbx-adaptec-raid's People

Contributors

a-schild avatar bp2work avatar goid1989 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

zbx-adaptec-raid's Issues

/usr/bin/sg_scan

您好,/usr/bin/sg_scan获取的磁盘数量比实际的要多

Error while executing script

Failed to execute command "powershell -NoProfile -NoLogo -ExecutionPolicy Bypass -File "C:\Program Files\Zabbix Agent\Scripts\adaptec-raid.ps1" lld ad ": Timeout while executing a shell script.
active check "adaptec.raid[lld,ad]" is not supported: Timeout while executing a shell script.

Any help? Thank you

Monitor 10 or more disks problem

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.