summaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2001-11-24 14:20:36 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2001-11-24 14:20:36 +0000
commit772e6d0f37d4533b39a51f7b5c42c618e6af7c13 (patch)
treed49130bb4b0f06ab440dd288cabeccfb5918a94b /include/common.h
parent3013847c08c1b9c6e8941cbaeb0d2da7cdb002b5 (diff)
downloadzabbix-772e6d0f37d4533b39a51f7b5c42c618e6af7c13.tar.gz
zabbix-772e6d0f37d4533b39a51f7b5c42c618e6af7c13.tar.xz
zabbix-772e6d0f37d4533b39a51f7b5c42c618e6af7c13.zip
- added columns alert_history and alarm_history to table config (Alexei)
- added link from graphs to trends and vs (Alexei) - housekeeping process in zabbix_suckerd will also delete old records from tables alerts and alarms (Alexei) - added directory upgrades/dbpatches/1.0alpha11_to_1.0alpha12 (Alexei) - added index on column "clock" for table alarms (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@252 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index c3badf18..0b85252b 100644
--- a/include/common.h
+++ b/include/common.h
@@ -22,6 +22,12 @@
/* Housekeeping frequency */
#define SUCKER_HK 3600
+/* Keep alrt history (in sec) */
+#define ALERT_HISTORY 12*31*24*3600
+
+/* Keep alarm history (in sec) */
+#define ALARM_HISTORY 12*31*24*3600
+
#define SUCKER_TIMEOUT 5
#define AGENT_TIMEOUT 3