[clo-devel] Cron job to check available disk vs nagios?

Chun Tian (binghe) binghe.lisp at gmail.com
Thu Jun 9 18:22:22 UTC 2011


> 
> To compute the available spaces (as a percent) of "/tmp", I can use following form:
> 
>> (apply #'/ (snmp:snmp-get "localhost" (list "hrStorageUsed.33" "hrStorageSize.33")))
> 711/129011

Opps, this is not "available" space, this is used space, should (- 1 *) the result, or I should check if it's going too high.

--binghe





More information about the clo-devel mailing list