diff options
author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2001-09-01 11:50:42 +0000 |
---|---|---|
committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2001-09-01 11:50:42 +0000 |
commit | d6695b516efde0ee340fd580902e8511bfaa8d48 (patch) | |
tree | d19f50a64b4009f543f3b79b68ea576aac200bd7 /src/zabbix_agent/zabbix_agent.c | |
parent | 2748fdac3983f03dca3ee735d61672f46229e7f0 (diff) | |
download | zabbix-d6695b516efde0ee340fd580902e8511bfaa8d48.tar.gz zabbix-d6695b516efde0ee340fd580902e8511bfaa8d48.tar.xz zabbix-d6695b516efde0ee340fd580902e8511bfaa8d48.zip |
- table "Supported parameters by platform" added to manual.txt
- removed recommendation of PostgreSQL from manual.txt
- use of /proc was changed to native calls to sysinfo where possible
git-svn-id: svn://svn.zabbix.com/trunk@180 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/zabbix_agent/zabbix_agent.c')
-rw-r--r-- | src/zabbix_agent/zabbix_agent.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/zabbix_agent/zabbix_agent.c b/src/zabbix_agent/zabbix_agent.c index 3db1439a..acaee6aa 100644 --- a/src/zabbix_agent/zabbix_agent.c +++ b/src/zabbix_agent/zabbix_agent.c @@ -1,3 +1,5 @@ +/*#define TEST_PARAMETERS*/ + #include "config.h" #include <stdlib.h> @@ -79,6 +81,10 @@ float process_input() int main() { +#ifdef TEST_PARAMETERS + test_parameters(); + return SUCCEED; +#endif if(check_security() == FAIL) { exit(FAIL); |