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

Contents of /rpms/smeserver-zabbix-agent/contribs7/smeserver-zabbix-agent-0.1-several_ups.patch

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


Revision 1.1 - (show annotations) (download)
Mon Jan 4 19:30:22 2010 UTC (14 years, 10 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-zabbix-agent-0_1-48_el4_sme, smeserver-zabbix-agent-0_1-38_el4_sme, smeserver-zabbix-agent-0_1-43_el4_sme, smeserver-zabbix-agent-0_1-39_el4_sme, smeserver-zabbix-agent-0_1-41_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-40_el4_sme, smeserver-zabbix-agent-0_1-49_el4_sme, HEAD
support multiple UPS

1 --- smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_ups.several_ups 2009-12-06 20:04:54.000000000 +0100
2 +++ smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_ups 2010-01-04 20:22:19.000000000 +0100
3 @@ -7,7 +7,7 @@
4 # Units: %
5 # Multiplier: Do not use
6 # Store Value: As is
7 -UserParameter=ups.load,upsc UPS@localhost ups.load
8 +UserParameter=ups.load[*],upsc $1@localhost ups.load
9
10 # Description: Nut UPS Battery Charge
11 # Type: Agent or Agent (active)
12 @@ -16,18 +16,19 @@
13 # Units: %
14 # Multiplier: Do not use
15 # Store Value: As is
16 -UserParameter=ups.battery.charge,upsc UPS@localhost battery.charge
17 +UserParameter=ups.battery.charge[*],upsc $1@localhost battery.charge
18
19 # Description: Nut UPS Status
20 # Type: Agent or Agent (active)
21 # Key: ups.status
22 # Type of information: Character
23 # Show Value: As is (you can also define a dictionnary OL=>On Line etc...)
24 -UserParameter=ups.status,upsc UPS@localhost ups.status
25 +UserParameter=ups.status[*],upsc $1@localhost ups.status
26
27 # Description: Nut UPS Model
28 # Type: Agent or Agent (active)
29 # Key: ups.model
30 # Type of information: Text
31 -UserParameter=ups.model,upsc UPS@localhost ups.model
32 +UserParameter=ups.model[*],upsc $1@localhost ups.model
33 +
34

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