added ZFS + Ceph Scripts

This commit is contained in:
in-famous-raccoon
2022-04-04 21:56:05 +02:00
parent 6781adc77e
commit eabece8193
3 changed files with 19 additions and 1 deletions

8
snmp-zfs-used.sh Normal file
View File

@ -0,0 +1,8 @@
#!/bin/bash
if [ "$1" = "-g" ]
then
echo .1.3.6.1.2.1.25.1.11
echo gauge
zpool list rpool | grep "rpool" | awk '{print $3}' | sed 's/[A-Z]//g'
fi
exit 0