... | ... | @@ -103,3 +103,11 @@ help |
|
|
exit
|
|
|
```
|
|
|
|
|
|
# extract sensor data
|
|
|
```
|
|
|
VAL=ipmitool sdr get "PS1 Input Power" |grep "Sensor Reading" | cut -d ':' -f2 | cut -d ' ' -f2
|
|
|
```
|
|
|
This value can be then monitored in ganglia:
|
|
|
```
|
|
|
gmetric -n 'ipmi_input_power-PS1' -v $VAL -t int32 -u 'Watts'
|
|
|
``` |
|
|
\ No newline at end of file |