diff --git a/htdocs/monitor.php b/htdocs/monitor.php
index dcfd133..a47c881 100644
--- a/htdocs/monitor.php
+++ b/htdocs/monitor.php
@@ -62,7 +62,7 @@ foreach (array(
printf('
';
echo '';
- echo '';
+ echo '';
$attrs = array(
'monitorRuntimeConfig',
@@ -70,10 +70,10 @@ foreach (array(
);
echo '';
- printf('%s | %s | ',_('Type'),'namingContext');
+ printf('%s | %s | ',_('Type'),'namingContext');
foreach ($attrs as $attr)
- printf('%s | ',$attr);
+ printf('%s | ',$attr);
echo ' ';
@@ -136,11 +136,11 @@ foreach (array(
printf('%s | ',$results['cn=Connections,cn=Monitor']['description'],_('LDAP Connections'));
printf('');
echo '';
-echo '';
+echo '';
-printf('%s | %s | ',
+printf('%s | %s | ',
_('Total Connections'),$results['cn=Total,cn=Connections,cn=Monitor']['monitorCounter']);
-printf('%s | %s | ',
+printf('%s | %s | ',
_('Current Connections'),$results['cn=Current,cn=Connections,cn=Monitor']['monitorCounter']);
# Look for some connections
@@ -150,7 +150,7 @@ foreach ($results as $key => $value) {
printf('%s | ',$results[$key]['cn']);
echo '';
- echo '';
+ echo '';
$counter = 0;
foreach (array(
@@ -175,7 +175,7 @@ foreach ($results as $key => $value) {
printf('',$counter++%2==0?'even':'odd');
- printf('%s | %s | ',
+ printf('%s | %s | ',
$metric,isset($results[$key][$metric]) ? $results[$key][$metric] : ' ');
echo ' ';
}
@@ -211,26 +211,26 @@ foreach (array(
printf('%s | ',$description,$dn);
echo '';
echo '';
- echo '';
+ echo '';
if (isset($results[$dn]['monitorOpInitiated']))
- printf('%s | %s | ',
+ printf('%s | %s | ',
'monitorOpInitiated',$results[$dn]['monitorOpInitiated']);
if (isset($results[$dn]['monitorOpCompleted']))
- printf('%s | %s | ',
+ printf('%s | %s | ',
'monitorOpCompleted',$results[$dn]['monitorOpCompleted']);
if (isset($results[$dn]['monitoredInfo']))
- printf('%s | %s | ',
+ printf('%s | %s | ',
'monitoredInfo',$results[$dn]['monitoredInfo']);
# Look for some connecitons
foreach ($results as $key => $value) {
if (preg_match('/^.*,'.$dn.'$/',$key)) {
echo '';
- printf('%s | ',$results[$key]['cn']);
+ printf('%s | ',$results[$key]['cn']);
- echo '';
- echo '';
+ echo '';
+ echo '';
foreach (array(
'labeledURI',
@@ -245,7 +245,7 @@ foreach (array(
if (isset($results[$key][$metric])) {
printf('',$counter++%2==0?'even':'odd');
- printf('%s | %s | ',
+ printf('%s | %s | ',
$metric,$results[$key][$metric]);
echo ' ';
| | |
| | |
| |
|