diff options
author | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-03-15 17:54:37 +0000 |
---|---|---|
committer | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-03-15 17:54:37 +0000 |
commit | 1f5a4a142c53921b74238aa93934be448be5e36f (patch) | |
tree | 4335ada21366762d2117c43362da531f73dffdcb /include/common.h | |
parent | f459deea77b1b44cff468c5b22fb5137f502a33b (diff) | |
download | zabbix-1f5a4a142c53921b74238aa93934be448be5e36f.tar.gz zabbix-1f5a4a142c53921b74238aa93934be448be5e36f.tar.xz zabbix-1f5a4a142c53921b74238aa93934be448be5e36f.zip |
- new tables drules,dchecks,dhosts,dservices (Alexei)
- basic support of auto-discovery (Alexei)
- new Server parameter StartDiscoverers (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@3890 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h index 5aba6814..64a26731 100644 --- a/include/common.h +++ b/include/common.h @@ -144,6 +144,12 @@ typedef enum HTTPTEST_STATE_BUSY } zbx_httptest_state_type_t; +/* Service supported by discoverer */ +typedef enum +{ + SSH = 0 +} zbx_dservice_type_t; + /* Item snmpv3 security levels */ #define ITEM_SNMPV3_SECURITYLEVEL_NOAUTHNOPRIV 0 @@ -235,8 +241,12 @@ typedef enum #define HTTPTEST_STATUS_MONITORED 0 #define HTTPTEST_STATUS_NOT_MONITORED 1 +/* DIscovery rule */ +#define DRULE_STATUS_MONITORED 0 +#define DRULE_STATUS_NOT_MONITORED 1 + /* Host statuses */ -#define HOST_STATUS_MONITORED 0 +#define HOST_STATUS_MONITORED 0 #define HOST_STATUS_NOT_MONITORED 1 /*#define HOST_STATUS_UNREACHABLE 2*/ #define HOST_STATUS_TEMPLATE 3 |