2011-02-01 Junichi Satoh <junichi@rworks.jp>

* unix/FreeBSD/pandora_agent.conf: Fixed invalid cpu usage data is
	returned when system has only one disk device.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3793 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
jsatoh 2011-02-01 01:50:55 +00:00
parent 886bf18d24
commit 1c1cf80f6f
3 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2011-02-01 Junichi Satoh <junichi@rworks.jp>
* unix/FreeBSD/pandora_agent.conf: Fixed invalid cpu usage data is
returned when system has only one disk device.
2011-01-27 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent_daemon: Changed order of 'su' argument.

View File

@ -1,3 +1,8 @@
2011-02-01 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/pandora_agent.conf: Fixed invalid cpu usage data is returned
when system has only one disk device.
2011-01-27 Junichi Satoh <junichi@rworks.jp>
* pandora_agent_daemon: Changed order of 'su' argument.

View File

@ -116,7 +116,7 @@ module_begin
module_name cpu_user
module_type generic_data
module_interval 1
module_exec vmstat 1 2 | tail -1 | awk '{ print $17 }'
module_exec vmstat -n0 1 2 | tail -1 | awk '{ print $15 }'
module_max 100
module_min 0
module_description User CPU Usage (%)
@ -126,7 +126,7 @@ module_begin
module_name cpu_system
module_type generic_data
module_interval 1
module_exec vmstat 1 2 | tail -1 | awk '{ print $18 }'
module_exec vmstat -n0 1 2 | tail -1 | awk '{ print $16 }'
module_max 100
module_min 0
module_description System CPU Usage (%)
@ -136,7 +136,7 @@ module_begin
module_name cpu_idle
module_type generic_data
module_interval 1
module_exec vmstat 1 2 | tail -1 | awk '{ print $19 }'
module_exec vmstat -n0 1 2 | tail -1 | awk '{ print $17 }'
module_max 100
module_min 0
module_description CPU Idle (%)