I found in the code a factor 10 for the display of history of events in screen.
Why this 10 ? I don't know, so i remove it to have a normal comportment.
Why this 10 ? I don't know, so i remove it to have a normal comportment.
Code:
diff -ruwBb zabbix-1.1-orig/frontends/php/include/events.inc.php zabbix-1.1/frontends/php/include/events.inc.php
--- zabbix-1.1-orig/frontends/php/include/events.inc.php 2006-06-08 21:39:07.000000000 +0200
+++ zabbix-1.1/frontends/php/include/events.inc.php 2006-07-19 15:22:25.000000000 +0200
@@ -34,8 +34,7 @@
{
$sql="select distinct triggerid,clock,value from alarms order by clock desc";
}
- $result=DBselect($sql,10*($start+$num));
-
+ $result=DBselect($sql,($start+$num));
$table = new CTableInfo(S_NO_EVENTS_FOUND);
$table->setHeader(array(S_TIME, S_DESCRIPTION, S_VALUE, S_SEVERITY));
$col=0;
Comment