init web ems all
This commit is contained in:
9
wxc2_omc/performance/improveCsta/conf/erlang.conf
Executable file
9
wxc2_omc/performance/improveCsta/conf/erlang.conf
Executable file
@@ -0,0 +1,9 @@
|
||||
[All]
|
||||
|
||||
[ConditionCustomizePage]
|
||||
Title="Performance > MSC > Erlang"
|
||||
SubTitle="Customize the statistic condition for Erlang"
|
||||
HelpID=1.2.2
|
||||
MaxInterval=30
|
||||
File=erlang_customize.php
|
||||
|
||||
56
wxc2_omc/performance/improveCsta/csta_customize.php
Executable file
56
wxc2_omc/performance/improveCsta/csta_customize.php
Executable file
@@ -0,0 +1,56 @@
|
||||
<?php
|
||||
require("../../inc/header.inc");
|
||||
require("./function.inc");
|
||||
?>
|
||||
<script language="javascript">
|
||||
|
||||
</script>
|
||||
<body onload="javascript:adjust();" onresize="javascript:adjust();" leftmargin="15" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;">
|
||||
<?php
|
||||
$configuration=parse_ini_file($conf,true);
|
||||
|
||||
|
||||
adjust_head();
|
||||
|
||||
adjust_title_head();
|
||||
echo "<form name=\"myform\" action=\"csta_result.php\" method=\"post\">";
|
||||
echo "<table id=\"table_up\" border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td width=\"50%\">";
|
||||
echo "{$configuration[ConditionCustomizePage][Title]}";
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\" title=\"Help\">";
|
||||
showHelp($configuration[ConditionCustomizePage][HelpID]);
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "<tr>";
|
||||
echo "<td width=\"50%\">";
|
||||
echo " ";
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\">";
|
||||
echo " ";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
adjust_title_tail();
|
||||
adjust_content_head();
|
||||
|
||||
echo "<br>{$configuration[ConditionCustomizePage][SubTitle]}<br><br>";
|
||||
|
||||
if(0)
|
||||
{
|
||||
echo "<pre>";
|
||||
print_r($configuration);
|
||||
echo "</pre>";
|
||||
}
|
||||
|
||||
include($configuration[ConditionCustomizePage][File]);
|
||||
|
||||
|
||||
|
||||
echo "<input type=hidden name=conf value=\"{$conf}\">";
|
||||
|
||||
echo "</form>";
|
||||
adjust_content_tail();
|
||||
?>
|
||||
|
||||
72
wxc2_omc/performance/improveCsta/csta_result.php
Executable file
72
wxc2_omc/performance/improveCsta/csta_result.php
Executable file
@@ -0,0 +1,72 @@
|
||||
<?php
|
||||
require("../../inc/header.inc");
|
||||
require("./function.inc");
|
||||
?>
|
||||
<script language="javascript">
|
||||
|
||||
</script>
|
||||
|
||||
<body onload="javascript:adjust();" onresize="javascript:adjust();" leftmargin="15" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;">
|
||||
<?php
|
||||
$configuration=parse_ini_file($conf,true);
|
||||
|
||||
|
||||
adjust_head();
|
||||
|
||||
adjust_title_head();
|
||||
echo "<form name=\"myform\" action=\"csta_result.php\" method=\"post\">";
|
||||
echo "<table id=\"table_up\" border=\"0\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<td width=\"50%\">";
|
||||
echo "{$configuration[All][Title]}";
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\" title=\"Help\">";
|
||||
showHelp($configuration[All][HelpID]);
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "<tr>";
|
||||
echo "<td width=\"50%\">";
|
||||
echo " ";
|
||||
echo "</td>";
|
||||
echo "<td width=\"50%\" align=\"right\" title=\"Clear\">";
|
||||
echo " ";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</table>";
|
||||
adjust_title_tail();
|
||||
adjust_content_head();
|
||||
|
||||
echo "<br>{$configuration[All][SubTitle]}<br><br>";
|
||||
|
||||
if(0)
|
||||
{
|
||||
echo "<pre>";
|
||||
print_r($configuration);
|
||||
echo "</pre>";
|
||||
}
|
||||
|
||||
if(1)
|
||||
{
|
||||
$maincondcount=$configuration[All][MainConditionCount];
|
||||
$maincondname=$configuration[All][MainConditionListName];
|
||||
for($i=0;$i<$maincondcount;$i++)
|
||||
{
|
||||
$name=$configuration[$maincondname][$i];
|
||||
$value=$$name;
|
||||
echo "{$configuration[$maincondname][$i]}={$value}<br>";
|
||||
}
|
||||
|
||||
$maincondcount=$configuration[All][SubConditionCount];
|
||||
$maincondname=$configuration[All][SubConditionListName];
|
||||
for($i=0;$i<$maincondcount;$i++)
|
||||
{
|
||||
$name=$configuration[$maincondname][$i];
|
||||
$value=$$name;
|
||||
echo "{$configuration[$maincondname][$i]}={$value}<br>";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
echo "</form>";
|
||||
adjust_content_tail();
|
||||
?>
|
||||
28
wxc2_omc/performance/improveCsta/erlang_customize.php
Executable file
28
wxc2_omc/performance/improveCsta/erlang_customize.php
Executable file
@@ -0,0 +1,28 @@
|
||||
<!-- JS -->
|
||||
<!-- Erlang customize -->
|
||||
<table border="1" width="100%" cellpadding="1" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF" bgcolor="#ffffff">
|
||||
<tr bgcolor="#E6E6E6">
|
||||
<td align="center">
|
||||
Type
|
||||
<select name="type">
|
||||
<option value="0" selected>Service</option>
|
||||
<option value="1">Trunk Group</option>
|
||||
</select>
|
||||
</td>
|
||||
<td align="center">
|
||||
Interval
|
||||
<select name="interval">
|
||||
<option value="0" selected>Daily</option>
|
||||
<option value="1">Hourly</option>
|
||||
</select>
|
||||
</td>
|
||||
<td align="center">
|
||||
<select name="start_time">
|
||||
<?php
|
||||
$configuration=parse_ini_file($conf,true);
|
||||
for($i=0;$i<
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
3
wxc2_omc/performance/improveCsta/function.inc
Executable file
3
wxc2_omc/performance/improveCsta/function.inc
Executable file
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user