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

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

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


Revision 1.1 - (hide annotations) (download)
Mon May 3 16:42:06 2010 UTC (14 years, 7 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-zabbix-agent-0_1-48_el4_sme, smeserver-zabbix-agent-0_1-43_el4_sme, smeserver-zabbix-agent-0_1-47_el4_sme, smeserver-zabbix-agent-0_1-46_el4_sme, smeserver-zabbix-agent-0_1-50_el4_sme, smeserver-zabbix-agent-0_1-45_el4_sme, smeserver-zabbix-agent-0_1-51_el4_sme, smeserver-zabbix-agent-0_1-44_el4_sme, smeserver-zabbix-agent-0_1-52_el4_sme, smeserver-zabbix-agent-0_1-42_el4_sme, smeserver-zabbix-agent-0_1-49_el4_sme, HEAD
* Mon May 03 2010 Daniel B. <daniel@firewall-services.com> 0.1-42
- disable MegaCli log (which can break monitoring if log file reaches 2GB)
- report CRITICAL if both CRITICAL and WARNING are found
- add Squid UserParameters (hit ratio, cache size, req per minute)

1 vip-ire 1.1 --- smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_squid.userparam_squid 2010-05-03 18:38:42.000000000 +0200
2     +++ smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_squid 2010-05-03 18:39:03.000000000 +0200
3     @@ -0,0 +1,53 @@
4     +# Squid
5     +
6     +# Description: Squid Request Hit Ratio
7     +# Type: Agent or Agent (active)
8     +# Key: squid.request_hit_ratio
9     +# Type of information: Numeric (float)
10     +# Units: %
11     +# Custom multiplier: Do not use
12     +# Store Value: As is
13     +
14     +UserParameter=squid.request_hit_ratio,squidclient mgr:info|grep 'Request Hit Ratios:'|cut -d':' -f3|cut -d',' -f1|tr -d ' %'
15     +
16     +# Description: Squid Byte Hit Ratio
17     +# Type: Agent or Agent (active)
18     +# Key: squid.byte_hit_ratio
19     +# Type of information: Numeric (float)
20     +# Units: %
21     +# Custom multiplier: Do not use
22     +# Store Value: As is
23     +
24     +UserParameter=squid.byte_hit_ratio,squidclient mgr:info|grep 'Byte Hit Ratios:'|cut -d':' -f3|cut -d',' -f1|tr -d ' %'
25     +
26     +# Description: Squid Average HTTP request per minute
27     +# Type: Agent or Agent (active)
28     +# Key: squid.avg_http_req_per_min
29     +# Type of information: Numeric (float)
30     +# Units: Req/min
31     +# Custom multiplier: Do not use
32     +# Store Value: As is
33     +
34     +UserParameter=squid.avg_http_req_per_min,squidclient mgr:info|grep 'Average HTTP requests per minute since start:'|cut -d':' -f2| tr -d ' \t'
35     +
36     +# Description: Squid Disk Cache Size
37     +# Type: Agent or Agent (active)
38     +# Key: squid.cache_size_disk
39     +# Type of information: Numeric (integer 64bits)
40     +# Units: Bytes
41     +# Custom multiplier: 1024
42     +# Store Value: As is
43     +
44     +UserParameter=squid.cache_size_disk,squidclient mgr:info|grep 'Storage Swap size:' | awk '\{print $4\}'
45     +
46     +# Description: Squid Memory Cache Size
47     +# Type: Agent or Agent (active)
48     +# Key: squid.cache_size_mem
49     +# Type of information: Numeric (integer 64bits)
50     +# Units: Bytes
51     +# Custom multiplier: 1024
52     +# Store Value: As is
53     +
54     +UserParameter=squid.cache_size_mem,squidclient mgr:info|grep 'Storage Mem size:' | awk '\{print $4\}'
55     +
56     +

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