summaryrefslogtreecommitdiffstats
path: root/src/zabbix_agent/zabbix_agent.c
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2001-09-01 11:50:42 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2001-09-01 11:50:42 +0000
commitd6695b516efde0ee340fd580902e8511bfaa8d48 (patch)
treed19f50a64b4009f543f3b79b68ea576aac200bd7 /src/zabbix_agent/zabbix_agent.c
parent2748fdac3983f03dca3ee735d61672f46229e7f0 (diff)
downloadzabbix-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.c6
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);