/[smecontribs]/rpms/smeserver-zabbix-agent/contribs7/smeserver-zabbix-agent-0.1-userparam_MemStats.patch
ViewVC logotype

Annotation of /rpms/smeserver-zabbix-agent/contribs7/smeserver-zabbix-agent-0.1-userparam_MemStats.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Mon Mar 2 23:28:57 2009 UTC (15 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-zabbix-agent-0_1-22_el4_sme, smeserver-zabbix-agent-0_1-34_el4_sme, smeserver-zabbix-agent-0_1-35_el4_sme, smeserver-zabbix-agent-0_1-21_el4_sme, smeserver-zabbix-agent-0_1-46_el4_sme, smeserver-zabbix-agent-0_1-42_el4_sme, smeserver-zabbix-agent-0_1-41_el4_sme, smeserver-zabbix-agent-0_1-25_el4_sme, smeserver-zabbix-agent-0_1-49_el4_sme, smeserver-zabbix-agent-0_1-27_el4_sme, smeserver-zabbix-agent-0_1-38_el4_sme, smeserver-zabbix-agent-0_1-47_el4_sme, smeserver-zabbix-agent-0_1-30_el4_sme, smeserver-zabbix-agent-0_1-50_el4_sme, smeserver-zabbix-agent-0_1-32_el4_sme, smeserver-zabbix-agent-0_1-39_el4_sme, smeserver-zabbix-agent-0_1-45_el4_sme, smeserver-zabbix-agent-0_1-51_el4_sme, smeserver-zabbix-agent-0_1-29_el4_sme, smeserver-zabbix-agent-0_1-44_el4_sme, smeserver-zabbix-agent-0_1-52_el4_sme, smeserver-zabbix-agent-0_1-28_el4_sme, smeserver-zabbix-agent-0_1-26_el4_sme, smeserver-zabbix-agent-0_1-48_el4_sme, smeserver-zabbix-agent-0_1-36_el4_sme, smeserver-zabbix-agent-0_1-37_el4_sme, smeserver-zabbix-agent-0_1-33_el4_sme, smeserver-zabbix-agent-0_1-43_el4_sme, smeserver-zabbix-agent-0_1-31_el4_sme, smeserver-zabbix-agent-0_1-23_el4_sme, smeserver-zabbix-agent-0_1-24_el4_sme, smeserver-zabbix-agent-0_1-40_el4_sme, HEAD
Initial import of smeserver-zabbix-agent

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_memory mezzanine_patched_smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_memory
2     --- smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_memory 1970-01-01 01:00:00.000000000 +0100
3     +++ mezzanine_patched_smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_memory 2009-02-10 18:18:13.000000000 +0100
4     @@ -0,0 +1,12 @@
5     +# Amount of used memory
6     +UserParameter=vm.memory.size.used,echo $(($(free -b | grep Mem | awk '\{print $2\}')-$(free -b | grep 'buffers/cache' | awk '\{print $3\}')))
7     +
8     +# Amount of free memory
9     +UserParameter=vm.memory.size.free,free -b | grep Mem | awk '\{print $4\}'
10     +
11     +# Amount of buffers memory
12     +UserParameter=vm.memory.size.buffers,free -b | grep Mem | awk '\{print $6\}'
13     +
14     +# Amount of cached memory
15     +UserParameter=vm.memory.size.buffers,free -b | grep Mem | awk '\{print $7\}'
16     +
17     diff -Nur -x '*.orig' -x '*.rej' smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_usedMem mezzanine_patched_smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_usedMem
18     --- smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_usedMem 2009-02-10 18:53:36.000000000 +0100
19     +++ mezzanine_patched_smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_usedMem 1970-01-01 01:00:00.000000000 +0100
20     @@ -1,3 +0,0 @@
21     -# Amount of used memory
22     -UserParameter=vm.memory.size.used,echo $(($(free -b | grep Mem | awk '\{print $2\}')-$(free -b | grep 'buffers/cache' | awk '\{print $3\}')))
23     -

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed