summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/config.inc.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-12-26 11:41:31 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-12-26 11:41:31 +0000
commit194a86df68e58fe7d34407306a5c5ccd04ba1b44 (patch)
treea1d004ea00e9d8a057a59085322a6c747a79af89 /frontends/php/include/config.inc.php
parentec1c258ec9b31837aadfcda6eac5526f574647b1 (diff)
- added information about table 'trends' to 'Status of
Zabbix' screen (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@1108 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/config.inc.php')
-rw-r--r--frontends/php/include/config.inc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php
index 65f25806..aef64c98 100644
--- a/frontends/php/include/config.inc.php
+++ b/frontends/php/include/config.inc.php
@@ -4235,6 +4235,9 @@ where h.hostid=i.hostid and i.itemid=f.itemid and f.triggerid=$triggerid";
$result=DBselect("select count(*) from history");
$stat["history_count"]=DBget_field($result,0,0);
+ $result=DBselect("select count(*) from trends");
+ $stat["trends_count"]=DBget_field($result,0,0);
+
$result=DBselect("select count(*) from alarms");
$stat["alarms_count"]=DBget_field($result,0,0);