Re: Cron job to check available disk vs nagios?
"Chun Tian (binghe)" <[email protected]>
| Newsgroups | gmane.lisp.common-lisp-net.devel |
|---|---|
| Message-ID | <[email protected]> |
> > 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