summaryrefslogtreecommitdiffstats
path: root/frontends/php/services.php
diff options
context:
space:
mode:
authoralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-09-14 11:06:27 +0000
committeralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-09-14 11:06:27 +0000
commit8755f9643aba3cffc5320321618fbe8e7b78b73b (patch)
tree61f79790fee2222b1d3c5c3cd3faf09c9de8f168 /frontends/php/services.php
parent220a18752f8fefdd0af90ccd17cc045c2e6ae1a6 (diff)
downloadzabbix-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/services.php')
-rw-r--r--frontends/php/services.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/services.php b/frontends/php/services.php
index f9afb4d2..5de908d9 100644
--- a/frontends/php/services.php
+++ b/frontends/php/services.php
@@ -130,7 +130,7 @@
S_TRIGGER
));
- $sql = "select serviceid,name,algorithm,triggerid from services order by sortorder,name";
+ $sql = "select serviceid,name,algorithm,triggerid from services where mod(serviceid,100)=$ZBX_CURNODEID order by sortorder,name";
if(isset($_REQUEST["serviceid"]))
{
$form->AddVar("serviceid",$_REQUEST["serviceid"]);
@@ -418,7 +418,7 @@
$frmDetails->AddVar("parentid",$_REQUEST["parentid"]);
$cmbServers = new CComboBox("serverid");
- $result=DBselect("select hostid,host from hosts order by host");
+ $result=DBselect("select hostid,host from hosts where mod(hostid,100)=$ZBX_CURNODEID order by host");
while($row=DBfetch($result))
{
$cmbServers->AddItem($row["hostid"],$row["host"]);