cd /vmfs/volumes/63cbd934-62c2d5f8-d0a5-001999b05dba/tmp/
esxcli software vib install -d /tmp/sas-raid_boss-s1_cli_axx_5.0.13.1107-offline_bundle-15918978.zip
cd /opt/boss-s1/ [root@esxi:/opt/boss-s1] ./mvcli
info -o vd
info -o hba
smart -p 0 SMART STATUS RETURN: OK. SMART STATUS RETURN: OK.
Smart Info ID Attribute Name Current Worst Threshhold RawValue 01 Read Error Rate 130 130 39 000007274B25 05 Reallocated Sectors 77 77 1 000000000000 09 Power-On Hours Count 100 100 0 000000000A4A 0C Power Cycle Count 100 100 0 000000000022
F1 Total Host Written 100 100 0 00000000AC1A F2 Total Host Read 100 100 0 000000004125 F5 Life Remaining 100 100 0 000000000064
F1 Total Host Written 100 100 0 00000000AD44 F2 Total Host Read 100 100 0 000000004238 F5 Life Remaining 100 100 0 000000000064
Scripting from this Github: https://github.com/in-famous-raccoon/proxmox-snmp
/opt/BOSS/mvcli_5.0.13.1111_A00/x64/static
./mvcli info -o vd 1 | nawk '{print $2}'
#!/bin/bash
if [ "$1" = "-g" ]
then
echo .1.3.6.1.2.1.25.1.31
echo STRING
cd /opt/BOSS/mvcli_5.0.13.1111_A00/x64/static
./mvcli info -o vd 1 | grep "functional" | nawk '{print $2}'
fi
exit 0