diff options
| author | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-09-14 11:06:27 +0000 |
|---|---|---|
| committer | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-09-14 11:06:27 +0000 |
| commit | 8755f9643aba3cffc5320321618fbe8e7b78b73b (patch) | |
| tree | 61f79790fee2222b1d3c5c3cd3faf09c9de8f168 /frontends/php/maps.php | |
| parent | 220a18752f8fefdd0af90ccd17cc045c2e6ae1a6 (diff) | |
| download | zabbix-8755f9643aba3cffc5320321618fbe8e7b78b73b.tar.gz zabbix-8755f9643aba3cffc5320321618fbe8e7b78b73b.tar.xz zabbix-8755f9643aba3cffc5320321618fbe8e7b78b73b.zip | |
Initial integration of distributed monitoring.
Changes 3196:HEAD of branches/distributed
git-svn-id: svn://svn.zabbix.com/trunk@3306 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/maps.php')
| -rw-r--r-- | frontends/php/maps.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/maps.php b/frontends/php/maps.php index bd628901..0c192847 100644 --- a/frontends/php/maps.php +++ b/frontends/php/maps.php @@ -45,7 +45,7 @@ if($_REQUEST["sysmapid"] <=0 ) { - $db_sysmaps = DBselect("select sysmapid,name from sysmaps order by name"); + $db_sysmaps = DBselect("select sysmapid,name from sysmaps where mod(sysmapid,100)=$ZBX_CURNODEID order by name"); if($sysmap = DBfetch($db_sysmaps)) { $_REQUEST["sysmapid"] = $sysmap["sysmapid"]; @@ -82,7 +82,7 @@ $form->AddVar("fullscreen",$_REQUEST["fullscreen"]); $cmbMaps = new CComboBox("sysmapid",$_REQUEST["sysmapid"],"submit()"); - $result=DBselect("select sysmapid,name from sysmaps order by name"); + $result=DBselect("select sysmapid,name from sysmaps where mod(sysmapid,100)=$ZBX_CURNODEID order by name"); while($row=DBfetch($result)) { if(!check_right("Network map","R",$row["sysmapid"])) continue; |
