diff options
| author | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-12-03 13:01:18 +0000 |
|---|---|---|
| committer | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-12-03 13:01:18 +0000 |
| commit | d13ea897eda76d08bac623bb1a6e965b712c8116 (patch) | |
| tree | 847c6a83f946d43b2a8d0ad5a91d582b7a3c258f /frontends/php/include/nodes.inc.php | |
| parent | f9fd0c3bcd9d360fce9429e634c61d1eb4cbb54a (diff) | |
| download | zabbix-d13ea897eda76d08bac623bb1a6e965b712c8116.tar.gz zabbix-d13ea897eda76d08bac623bb1a6e965b712c8116.tar.xz zabbix-d13ea897eda76d08bac623bb1a6e965b712c8116.zip | |
- [DEV-86] DM: Synchronizing all history data with master node
git-svn-id: svn://svn.zabbix.com/trunk@5131 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/nodes.inc.php')
| -rw-r--r-- | frontends/php/include/nodes.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/nodes.inc.php b/frontends/php/include/nodes.inc.php index 0cffb431..758695d1 100644 --- a/frontends/php/include/nodes.inc.php +++ b/frontends/php/include/nodes.inc.php @@ -88,9 +88,9 @@ } $result = DBexecute('insert into nodes (nodeid,name,timezone,ip,port,slave_history,slave_trends,'. - 'event_lastid,nodetype,masterid) values ('. + 'nodetype,masterid) values ('. $new_nodeid.','.zbx_dbstr($name).','.$timezone.','.zbx_dbstr($ip).','.$port.','.$slave_history.','.$slave_trends.','. - '0,'.$nodetype.','.$masterid.')'); + $nodetype.','.$masterid.')'); if($result && $node_type == ZBX_NODE_MASTER) { |
