/[smecontribs]/rpms/smeserver-zabbix-agent/contribs9/smeserver-zabbix-agent-0.1-userparam_removeUselessMemStats.patch
ViewVC logotype

Contents of /rpms/smeserver-zabbix-agent/contribs9/smeserver-zabbix-agent-0.1-userparam_removeUselessMemStats.patch

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


Revision 1.1 - (show annotations) (download)
Tue Feb 9 23:18:27 2016 UTC (8 years, 9 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-zabbix-agent-0_1-53_el6_sme, smeserver-zabbix-agent--, HEAD
Error occurred while calculating annotation data.
* Wed Feb 10 stephane de Labrusse <stephdl@de-labrusse.fr> - 0.1-53.sme
- New rpm for sme9

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 2009-02-11 00:22:35.000000000 +0100
3 +++ mezzanine_patched_smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_memory 2009-02-11 00:21:51.000000000 +0100
4 @@ -1,12 +1,3 @@
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.cached,free -b | grep Mem | awk '\{print $7\}'
16 +# Amount of used memory (the agent lacks this stats)
17 +UserParameter=vm.memory.size.used,free -b | grep 'buffers/cache' | awk '\{print $3\}'
18

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