2011-09-26 Sancho Lerena <slerena@artica.es>
* unix/HP-UX/pandora_agent.conf: Bad Disk module in HPUX git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5002 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
49edb05f27
commit
02fb28685b
|
@ -1,5 +1,7 @@
|
|||
2011-09-26 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* unix/HP-UX/pandora_agent.conf: Bad Disk module in HPUX
|
||||
|
||||
* unix/DEBIAN/control
|
||||
unix/DEBIAN/make_deb_package.sh
|
||||
unix/pandora_agent.spec
|
||||
|
|
|
@ -117,13 +117,18 @@ transfer_mode tentacle
|
|||
# System information
|
||||
# All this commands has been tested on a Standard HP-UX B.11.31
|
||||
|
||||
module_begin
|
||||
module_name disk_root_free
|
||||
module_begin
|
||||
module_name disk_usage_/
|
||||
module_type generic_data
|
||||
module_exec bdf / | grep -v "Filesystem" | awk '{print $4}'
|
||||
module_max 100
|
||||
module_min 0
|
||||
module_description Free disk Percentage of root partition
|
||||
module_exec df -P | grep -e "/$" | awk '{print $5}' | tr -d %
|
||||
module_description Disk usage on / (%)
|
||||
module_end
|
||||
|
||||
module_begin
|
||||
module_name disk_usage_/var
|
||||
module_type generic_data
|
||||
module_exec df -P | grep -e "/var$" | awk '{print $5}' | tr -d %
|
||||
module_description Disk usage on / var(%)
|
||||
module_end
|
||||
|
||||
module_begin
|
||||
|
|
Loading…
Reference in New Issue