Giter Club home page Giter Club logo

check_truenas's Introduction

Personal GitHub Repositories ๐Ÿ“‚

Hi there, many of my hobby projects can be found here. I created most of them for my own needs. If they're useful to you, you're more than welcome to use any repository. They usually contain documentation, both for myself as reminder but written for everyone.

Links

Other repos

check_truenas's People

Contributors

mkorthof avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

check_truenas's Issues

TrueNAS-SCALE-22.12.1 changes to their MIB file

This script is no longer working on the latest (.1) update as they made significant changes to their MIB.

I got basic health back. I am not convinced that reporting OK on size is working.

diff check_truenas check_truenas.old 
7,9c7,9
< # - snmpwalk -v2c -c public 10.1.1.2 -m /usr/share/snmp/mibs/FREENAS-MIB.txt zpoolName
< #     zpoolName.1 = STRING: boot-pool
< #     zpoolName.2 = STRING: tank
---
> # - snmpwalk -v2c -c public 10.1.1.2 -m /usr/share/snmp/mibs/FREENAS-MIB.txt zpoolDescr
> #     zpoolDescr.1 = STRING: boot-pool
> #     zpoolDescr.2 = STRING: tank
109c109
<   idx="$( func_idx "$ZPOOL" "zpoolName" )"
---
>   idx="$( func_idx "$ZPOOL" "zpoolDescr" )"
111c111
<   if echo "$health" | \grep -q "ONLINE"; then
---
>   if echo "$health" | \grep -q "online"; then
126c126
<   zp_idx="$( func_idx "$ZPOOL" "zpoolName" )"
---
>   zp_idx="$( func_idx "$ZPOOL" "zpoolDescr" )"

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.