Custom Graphs were not refreshing so I modified the following in charts.php:
Code:
diff -ruN zabbix-original/frontends/php/charts.php zabbix/frontends/php/charts.php
--- zabbix-original/frontends/php/charts.php 2008-03-26 09:30:27.000000000 -0400
+++ zabbix/frontends/php/charts.php 2008-03-31 21:58:01.000000000 -0400
@@ -36,11 +36,13 @@
define('ZBX_PAGE_NO_MENU', 1);
}
- if(isset($_REQUEST['graphid']) && $_REQUEST['graphid'] > 0 && !isset($_REQUEST['period']) && !isset($_REQUEST['stime']) && (PAGE_TYPE_HTML == $page['type']))
+/* if(isset($_REQUEST['graphid']) && $_REQUEST['graphid'] > 0 && !isset($_REQUEST['period']) && !isset($_REQUEST['stime']) && (PAGE_TYPE_HTML == $page['type']))
{
define('ZBX_PAGE_DO_REFRESH', 1);
}
+*/
+define('ZBX_PAGE_DO_REFRESH', 1);
include_once 'include/page_header.php';
?>

Comment