1
0
mirror of https://github.com/librenms/librenms-agent.git synced 2024-05-09 09:54:52 +00:00
Commit Graph

8 Commits

Author SHA1 Message Date
Zane C. Bowers-Hadley
f846574884 smart-v1: fix handling of cciss when it a disk is being replaced (#483)
* only add connectors that have not been seen for cciss

* rework seen logic to also have a ignore logic as well for cciss

* add a comment explaining why it is being ignored

* minor version bump
2023-07-06 15:36:29 -06:00
Zane C. Bowers-Hadley
4e78072daf smart-v1: add handling unknown cciss devs (#482)
* add -u option

* add a small fix for when smart fails and useSN is false

* some more possible cciss error handling

* rename -u for with guess to -U to avoid conflict

* add U to getopts
2023-07-06 12:27:56 -06:00
Zane C. Bowers-Hadley
4778070b90 smart-v1: send useSN value along in the data (#480)
* send useSN along in the data

* remove a extra ,
2023-07-03 14:49:18 -06:00
Zane C. Bowers-Hadley
6af12e74b8 smart-v1: add the ability to run tests on all configured devs via the extend and fix when useSN=1 (#479)
* add the ability to run tests on all specified devices via -t

* properly save the results when exit is non-zero and useSN=1
2023-07-02 19:01:13 -05:00
Zane C. Bowers-Hadley
4bd6909f99 add the ability to run tests on all specified devices via -t for smart-v1 (#478) 2023-06-28 10:23:39 -06:00
Zane C. Bowers-Hadley
1328a11f48 various smart-v1 fixes (#477)
* use $sg_int when composing lines for cciss devs

* more cleanup for cciss stuff for when it does not recognize a device

* use -i with smart for the cciss -C test

* add in virt checking

* fix regex typos for virt check
2023-06-28 07:37:37 -06:00
Zane C. Bowers-Hadley
442e691b1a update smart-v1 some more (#476)
* add various HP specific bits for identity info

* more HP related cleanup

* add initial ccis guessing support

* ccis -> cciss

* rework cciss support some more

* derp, fix qoute type

* make useSN configuration with -g

* rework self test logs to be more HP friendly

* more test cleanup

* more test cleanup

* finally get the extended test playing nice with HP stuff

* don't print needless error messages if cciss_vol_status is not found

* cleanup a edge case, add a new edge case, and now find the max temp

* add id 232

* make the scan modes selectable and begin reworking cciss forproperly checking all possible devices

* rework how the cciss device path is generated

* add exit status checking

* improve cciss guess

* cleanup the cciss checks some more

* convert to IO::Compress::Gzip and update docs
2023-06-26 22:33:44 -05:00
Zane C. Bowers-Hadley
3bb46945c4 add smart-v1, a new JSON based smart poller (#474)
Now also grabs....

    general health status
    FW version
    selftest log
    make
    model
    disk + serial
2023-06-19 20:00:16 -06:00