summaryrefslogtreecommitdiffstats
path: root/src/zabbix_agent/zabbix_agent.c
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-02-05 16:33:53 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-02-05 16:33:53 +0000
commitb06870a3d08c9db78c11ddabadd14c500ee8bfbb (patch)
tree1963514a3a0528bd6a522992254fcc1294bddc33 /src/zabbix_agent/zabbix_agent.c
parent2262f9ba9db7d6a54c411488d7fd44a0755c7c0b (diff)
downloadzabbix-b06870a3d08c9db78c11ddabadd14c500ee8bfbb.tar.gz
zabbix-b06870a3d08c9db78c11ddabadd14c500ee8bfbb.tar.xz
zabbix-b06870a3d08c9db78c11ddabadd14c500ee8bfbb.zip
- support for unlimited number of user parameters (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1651 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/zabbix_agent/zabbix_agent.c')
-rw-r--r--src/zabbix_agent/zabbix_agent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zabbix_agent/zabbix_agent.c b/src/zabbix_agent/zabbix_agent.c
index ed716a12..8fcdac2d 100644
--- a/src/zabbix_agent/zabbix_agent.c
+++ b/src/zabbix_agent/zabbix_agent.c
@@ -107,6 +107,8 @@ int main()
signal( SIGTERM, signal_handler );
signal( SIGALRM, signal_handler );
+/* Must be before init_config() */
+ init_metrics();
init_config();
/* Do not create debug files */