summaryrefslogtreecommitdiffstats
path: root/frontends/php/report1.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-12-07 09:44:28 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-12-07 09:44:28 +0000
commit57aba8a89d9da927a39a3ffadf258ead2f27b3c7 (patch)
tree59a8dc852f93f9b9760043a4a2e9388ca4d9249e /frontends/php/report1.php
parentcfacb3b129f95ee9efc41830d0a939875e7732ed (diff)
downloadzabbix-57aba8a89d9da927a39a3ffadf258ead2f27b3c7.tar.gz
zabbix-57aba8a89d9da927a39a3ffadf258ead2f27b3c7.tar.xz
zabbix-57aba8a89d9da927a39a3ffadf258ead2f27b3c7.zip
- all <? ?> were changed to <?php ?>. No changes in php.ini required anymore.
(Alexei) git-svn-id: svn://svn.zabbix.com/trunk@580 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/report1.php')
-rw-r--r--frontends/php/report1.php28
1 files changed, 14 insertions, 14 deletions
diff --git a/frontends/php/report1.php b/frontends/php/report1.php
index 7bf036d2..8f0e4bdb 100644
--- a/frontends/php/report1.php
+++ b/frontends/php/report1.php
@@ -1,11 +1,11 @@
-<?
+<?php
include "include/config.inc.php";
$page["title"] = "Status of Zabbix";
$page["file"] = "report1.php";
show_header($page["title"],0,0);
?>
-<?
+<?php
show_table_header("STATUS OF ZABBIX");
echo "<TABLE BORDER=0 WIDTH=100% BGCOLOR=\"#CCCCCC\" cellspacing=1 cellpadding=3>";
@@ -18,65 +18,65 @@
<tr bgcolor="#eeeeee">
<td>Is zabbix_suckerd running ?</td>
- <?
+ <?php
$str="No";
if(exec("ps -aef|grep zabbix_suckerd|grep -v grep|wc -l")>0)
{
$str="Yes";
}
?>
- <td><? echo $str; ?></td>
+ <td><?php echo $str; ?></td>
</tr>
<tr bgcolor="#dddddd">
<td>Is zabbix_trapperd running ?</td>
- <?
+ <?php
$str="No";
if(exec("ps -aef|grep zabbix_trapperd|grep -v grep|wc -l")>0)
{
$str="Yes";
}
?>
- <td><? echo $str; ?></td>
+ <td><?php echo $str; ?></td>
</tr>
<tr bgcolor="#eeeeee">
<td>Number of values stored in table history</td>
- <td><? echo $stats["history_count"]; ?></td>
+ <td><?php echo $stats["history_count"]; ?></td>
</tr>
<tr bgcolor="#dddddd">
<td>Number of values stored in table alarms</td>
- <td><? echo $stats["alarms_count"]; ?></td>
+ <td><?php echo $stats["alarms_count"]; ?></td>
</tr>
<tr bgcolor="#eeeeee">
<td>Number of values stored in table alerts</td>
- <td><? echo $stats["alerts_count"]; ?></td>
+ <td><?php echo $stats["alerts_count"]; ?></td>
</tr>
<tr bgcolor="#dddddd">
<td>Number of triggers (enabled/disabled)</td>
- <td><? echo $stats["triggers_count"],"(",$stats["triggers_count_enabled"],"/",$stats["triggers_count_disabled"],")"; ?></td>
+ <td><?php echo $stats["triggers_count"],"(",$stats["triggers_count_enabled"],"/",$stats["triggers_count_disabled"],")"; ?></td>
</tr>
<tr bgcolor="#eeeeee">
<td>Number of items (active/trapper/not active/not supported)</td>
- <td><? echo $stats["items_count"],"(",$stats["items_count_active"],"/",$stats["items_count_trapper"],"/",$stats["items_count_not_active"],"/",$stats["items_count_not_supported"],")"; ?></td>
+ <td><?php echo $stats["items_count"],"(",$stats["items_count_active"],"/",$stats["items_count_trapper"],"/",$stats["items_count_not_active"],"/",$stats["items_count_not_supported"],")"; ?></td>
</tr>
<tr bgcolor="#dddddd">
<td>Number of users</td>
- <td><? echo $stats["users_count"]; ?></td>
+ <td><?php echo $stats["users_count"]; ?></td>
</tr>
<tr bgcolor="#eeeeee">
<td>Number of hosts (monitored/not monitored)</td>
- <td><? echo $stats["hosts_count"],"(",$stats["hosts_count_monitored"],"/",$stats["hosts_count_not_monitored"],")"; ?></td>
+ <td><?php echo $stats["hosts_count"],"(",$stats["hosts_count_monitored"],"/",$stats["hosts_count_not_monitored"],")"; ?></td>
</tr>
</table>
-<?
+<?php
show_footer();
?>