Files
proxmox-snmp/snmp-ceph-used.sh
2022-04-04 21:56:05 +02:00

9 lines
130 B
Bash

#!/bin/bash
if [ "$1" = "-g" ]
then
echo .1.3.6.1.2.1.25.1.12
echo gauge
ceph osd df | grep "TOTAL" | awk '{print $14}'
fi
exit 0