1、修改部分英文翻译
2、修改页面 显示信息
This commit is contained in:
@@ -9,8 +9,13 @@ org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nul
|
|||||||
org.eclipse.jdt.core.compiler.annotation.nullable.secondary=
|
org.eclipse.jdt.core.compiler.annotation.nullable.secondary=
|
||||||
org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
|
org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
|
||||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
|
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
|
||||||
org.eclipse.jdt.core.compiler.compliance=1.8
|
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
|
||||||
|
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||||
|
org.eclipse.jdt.core.compiler.compliance=1.7
|
||||||
|
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||||
|
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||||
|
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||||
org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
|
org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
|
||||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||||
org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
|
org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
|
||||||
@@ -98,4 +103,5 @@ org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
|
|||||||
org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
|
org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
|
||||||
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
|
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
|
||||||
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
|
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
|
||||||
org.eclipse.jdt.core.compiler.source=1.8
|
org.eclipse.jdt.core.compiler.release=disabled
|
||||||
|
org.eclipse.jdt.core.compiler.source=1.7
|
||||||
|
|||||||
@@ -54,12 +54,12 @@
|
|||||||
<th style='text-align:center;vertical-align: middle;'>
|
<th style='text-align:center;vertical-align: middle;'>
|
||||||
<span>#(_res.get("ip"))</span>
|
<span>#(_res.get("ip"))</span>
|
||||||
</th>
|
</th>
|
||||||
<th style='text-align:center;vertical-align: middle;'>
|
<!-- <th style='text-align:center;vertical-align: middle;'>
|
||||||
<span>#(_res.get("uri"))</span>
|
<span>#(_res.get("uri"))</span>
|
||||||
</th>
|
</th>
|
||||||
<th style='text-align:center;vertical-align: middle;'>
|
<th style='text-align:center;vertical-align: middle;'>
|
||||||
<span>#(_res.get("request.way"))</span>
|
<span>#(_res.get("request.way"))</span>
|
||||||
</th>
|
</th> -->
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -78,12 +78,12 @@
|
|||||||
<td class="logmessage">
|
<td class="logmessage">
|
||||||
<span>#(x.remote_addr)</span>
|
<span>#(x.remote_addr)</span>
|
||||||
</td>
|
</td>
|
||||||
<td class="logmessage">
|
<!-- <td class="logmessage">
|
||||||
<span>#(x.request_uri)</span>
|
<span>#(x.request_uri)</span>
|
||||||
</td>
|
</td>
|
||||||
<td class="logmessage">
|
<td class="logmessage">
|
||||||
<span>#(x.method)</span>
|
<span>#(x.method)</span>
|
||||||
</td>
|
</td> -->
|
||||||
</tr>
|
</tr>
|
||||||
#end
|
#end
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -233,7 +233,7 @@ label.control-label{
|
|||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label" for="focusedInput">#(_res.get("mac"))</label>
|
<label class="control-label" for="focusedInput">#(_res.get("mac"))</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<input class="input-medium focused" id=""
|
<input class="input-medium focused" id="" readonly="readonly"
|
||||||
type="text" value="#(deviceInfo.manageMac)"
|
type="text" value="#(deviceInfo.manageMac)"
|
||||||
name="deviceInfo#(for.index).manageMac"
|
name="deviceInfo#(for.index).manageMac"
|
||||||
onblur="checkMac(this, #(deviceInfo.manageMac == null || deviceInfo.manageMac == '' ? 0 : 1))">
|
onblur="checkMac(this, #(deviceInfo.manageMac == null || deviceInfo.manageMac == '' ? 0 : 1))">
|
||||||
|
|||||||
@@ -97,11 +97,11 @@ function mydown(obj) {
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th width="13%">#(_res.get("node.ip"))</th>
|
<th width="13%">#(_res.get("node.ip"))</th>
|
||||||
<th width="13%">#(_res.get("monitor.type"))</th>
|
<!-- <th width="13%">#(_res.get("monitor.type"))</th> -->
|
||||||
<th width="13%">#(_res.get("monitor.setting"))</th>
|
<th width="13%">#(_res.get("monitor"))</th>
|
||||||
<th width="5%">#(_res.get("monitor.status"))</th>
|
<th width="5%">#(_res.get("monitor.status"))</th>
|
||||||
<th width="13%">#(_res.get("monitor.checktime"))</th>
|
<th width="13%">#(_res.get("monitor.checktime"))</th>
|
||||||
<th width="43%">#(_res.get("monitor.information"))</th>
|
<th>#(_res.get("monitor.information"))</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody id="tbody">
|
<tbody id="tbody">
|
||||||
@@ -113,7 +113,7 @@ function mydown(obj) {
|
|||||||
#for(x : page.getList())
|
#for(x : page.getList())
|
||||||
<tr>
|
<tr>
|
||||||
<td>#(x.ip)</td>
|
<td>#(x.ip)</td>
|
||||||
<td>#(x.monitorType)</td>
|
<!-- <td>#(x.monitorType)</td> -->
|
||||||
<td>#(x.monitorSetting)</td>
|
<td>#(x.monitorSetting)</td>
|
||||||
<td>
|
<td>
|
||||||
#if(x.monitorStatus == '1')
|
#if(x.monitorStatus == '1')
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ function mydown(obj) {
|
|||||||
<td colspan="6" style="background-color:#eee;font-size:16px;color:black;">#(_res.get("monitor.data.details"))</td>
|
<td colspan="6" style="background-color:#eee;font-size:16px;color:black;">#(_res.get("monitor.data.details"))</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="logmessage">
|
<tr class="logmessage">
|
||||||
<td class="head">#(_res.get("monitor.setting"))</td>
|
<td class="head">#(_res.get("monitor"))</td>
|
||||||
<td>#(base.get("monitorSetting"))</td>
|
<td>#(base.get("monitorSetting"))</td>
|
||||||
<td class="head">#(_res.get("node.ip"))</td>
|
<td class="head">#(_res.get("node.ip"))</td>
|
||||||
<td>#(base.get("ip"))</td>
|
<td>#(base.get("ip"))</td>
|
||||||
@@ -82,8 +82,10 @@ function mydown(obj) {
|
|||||||
<td>#(base.get("checkTime"))</td>
|
<td>#(base.get("checkTime"))</td>
|
||||||
<td class="head">#(_res.get("monitor.nextchecktime"))</td>
|
<td class="head">#(_res.get("monitor.nextchecktime"))</td>
|
||||||
<td>#(base.get("nextCheckTime"))</td>
|
<td>#(base.get("nextCheckTime"))</td>
|
||||||
<td class="head">#(_res.get("monitor.arriveTime"))</td>
|
<td></td>
|
||||||
<td>#(base.get("arriveTime"))</td>
|
<td></td>
|
||||||
|
<!-- <td class="head">#(_res.get("monitor.arriveTime"))</td>
|
||||||
|
<td>#(base.get("arriveTime"))</td> -->
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="logmessage">
|
<tr class="logmessage">
|
||||||
<td colspan="2" class="head" style="height:100px;">#(_res.get("monitor.information"))</td>
|
<td colspan="2" class="head" style="height:100px;">#(_res.get("monitor.information"))</td>
|
||||||
|
|||||||
@@ -4932,7 +4932,7 @@ metadata.RX_PACKETS.filed_comments=Total Number Of Packages Received
|
|||||||
metadata.dpCpuRatioPeak.filed_comments=Peak CPU Utilization
|
metadata.dpCpuRatioPeak.filed_comments=Peak CPU Utilization
|
||||||
metadata.dpSlotStatus.filed_comments=Status Of Device Slot
|
metadata.dpSlotStatus.filed_comments=Status Of Device Slot
|
||||||
metadata.ifInDiscardsPerc.filed_comments=Enter Packet Loss Rate
|
metadata.ifInDiscardsPerc.filed_comments=Enter Packet Loss Rate
|
||||||
metadata.RX_BPS.filed_comments=Input bps (Unit:bps)
|
metadata.RX_BPS.filed_comments=Input (Unit:bps)
|
||||||
metadata.dpMemRatio.filed_comments=Memory Utilization
|
metadata.dpMemRatio.filed_comments=Memory Utilization
|
||||||
metadata.TX_ERRORS_PERC.filed_comments=Send Error Packet Rate
|
metadata.TX_ERRORS_PERC.filed_comments=Send Error Packet Rate
|
||||||
metadata.ifOutErrors.filed_comments=Outbound Failed Packets
|
metadata.ifOutErrors.filed_comments=Outbound Failed Packets
|
||||||
@@ -4940,13 +4940,13 @@ metadata.PACKETS_LOST_RATE.filed_comments=Packet Loss Rate
|
|||||||
metadata.TIME_CONSUMING_MAX.filed_comments=Maximum Elapsed Time (In Milliseconds)
|
metadata.TIME_CONSUMING_MAX.filed_comments=Maximum Elapsed Time (In Milliseconds)
|
||||||
metadata.ifLastChange.filed_comments=Status Change Time
|
metadata.ifLastChange.filed_comments=Status Change Time
|
||||||
metadata.INOCTETSSPEED.filed_comments=Input Speed
|
metadata.INOCTETSSPEED.filed_comments=Input Speed
|
||||||
metadata.WAIT_CPU_PERC.filed_comments=Current Waiting Rate (wa%)
|
metadata.WAIT_CPU_PERC.filed_comments=IO Wait (%)
|
||||||
metadata.ifInErrors.filed_comments=Inbound Error Packets
|
metadata.ifInErrors.filed_comments=Inbound Error Packets
|
||||||
metadata.OUTERRORSSCALE.filed_comments=Output Error Packet Rate
|
metadata.OUTERRORSSCALE.filed_comments=Output Error Packet Rate
|
||||||
metadata.SYS_USED_CPU_PERC.filed_comments=System Utilization (sy%)
|
metadata.SYS_USED_CPU_PERC.filed_comments=Os (%)
|
||||||
metadata.sysDescr.table_comments=Get Target Host Basic Information
|
metadata.sysDescr.table_comments=Get Target Host Basic Information
|
||||||
metadata.dpMemRatioAverage.filed_comments=Average Memory Utilization
|
metadata.dpMemRatioAverage.filed_comments=Average Memory Utilization
|
||||||
metadata.FREE_DISK_SIZE.filed_comments=Disk Free Capacity (G)
|
metadata.FREE_DISK_SIZE.filed_comments=Disk Free Capacity (GB)
|
||||||
metadata.outPktsSpeed.filed_comments=Package Rate
|
metadata.outPktsSpeed.filed_comments=Package Rate
|
||||||
metadata.ifOutQLen.filed_comments=The Length Of The Output Packet Arrangement (intra-packet)
|
metadata.ifOutQLen.filed_comments=The Length Of The Output Packet Arrangement (intra-packet)
|
||||||
metadata.RX_PPS.filed_comments=Input pps (Packets received per second)
|
metadata.RX_PPS.filed_comments=Input pps (Packets received per second)
|
||||||
@@ -4955,8 +4955,8 @@ metadata.DETECT_DATE.filed_comments=Monitor Time
|
|||||||
metadata.dpCpuTemperature.filed_comments=CPU Temperature
|
metadata.dpCpuTemperature.filed_comments=CPU Temperature
|
||||||
metadata.ifInNUcastPkts.filed_comments=Admitted Non-unidirectional Transport Packets
|
metadata.ifInNUcastPkts.filed_comments=Admitted Non-unidirectional Transport Packets
|
||||||
metadata.sysUpTime.table_comments=Get Target Host Basic Information
|
metadata.sysUpTime.table_comments=Get Target Host Basic Information
|
||||||
metadata.FREE_MEMORY_SIZE.filed_comments=Free Memory (freeG)
|
metadata.FREE_MEMORY_SIZE.filed_comments=Free Memory (GB)
|
||||||
metadata.MEMORY_SIZE.filed_comments=Memory Size (unit: G)
|
metadata.MEMORY_SIZE.filed_comments=Memory Size (GB)
|
||||||
metadata.SEND_TIME.filed_comments=Send Time
|
metadata.SEND_TIME.filed_comments=Send Time
|
||||||
metadata.TX_BYTES.filed_comments=Total Bytes Sent
|
metadata.TX_BYTES.filed_comments=Total Bytes Sent
|
||||||
metadata.ifHighSpeed.filed_comments=Port Rate Units (Mbps)
|
metadata.ifHighSpeed.filed_comments=Port Rate Units (Mbps)
|
||||||
@@ -4966,8 +4966,8 @@ metadata.DELAY_TIME.filed_comments=Delay Time
|
|||||||
metadata.dpCpuRatio.filed_comments=CPU Utilization
|
metadata.dpCpuRatio.filed_comments=CPU Utilization
|
||||||
metadata.SEND_INFO.filed_comments=Send Information
|
metadata.SEND_INFO.filed_comments=Send Information
|
||||||
metadata.PACKETS_LOST.filed_comments=Number Of Lost Packets
|
metadata.PACKETS_LOST.filed_comments=Number Of Lost Packets
|
||||||
metadata.USER_USED_CPU_PERC.filed_comments=User Usage (us%)
|
metadata.USER_USED_CPU_PERC.filed_comments=Application (%)
|
||||||
metadata.NICE_PERC.filed_comments=User Space Process CPU Occupancy Ratio (ni%)
|
metadata.NICE_PERC.filed_comments=User Nice Cpu Time (%)
|
||||||
metadata.ifType.filed_comments=Port Type
|
metadata.ifType.filed_comments=Port Type
|
||||||
metadata.PACKETS_RECEIVED.filed_comments=Number Of Accepted Packages
|
metadata.PACKETS_RECEIVED.filed_comments=Number Of Accepted Packages
|
||||||
metadata.DISK_ISWRITE.filed_comments=Whether The Disk Is Writable
|
metadata.DISK_ISWRITE.filed_comments=Whether The Disk Is Writable
|
||||||
@@ -4985,19 +4985,19 @@ metadata.MEM_USED_PERC.filed_comments=\ Memory Usage Of The Process
|
|||||||
metadata.TX_PACKETS.filed_comments=Total Number Of Packages Sent
|
metadata.TX_PACKETS.filed_comments=Total Number Of Packages Sent
|
||||||
metadata.dpSlotDesc.filed_comments=Description Of Device Hot Swappable Board
|
metadata.dpSlotDesc.filed_comments=Description Of Device Hot Swappable Board
|
||||||
metadata.dpSlotPortNum.filed_comments=Number Of Ports On The Device Hot-pluggable Board
|
metadata.dpSlotPortNum.filed_comments=Number Of Ports On The Device Hot-pluggable Board
|
||||||
metadata.SIZE_STOREDINPAGING_FILES.filed_comments=Total Swap Space (SwaptotalG)
|
metadata.SIZE_STOREDINPAGING_FILES.filed_comments=Total Swap Space (GB)
|
||||||
metadata.CPU_MHZ.filed_comments=Frequency
|
metadata.CPU_MHZ.filed_comments=Cpu MHz
|
||||||
metadata.USED_DISK_PERC.filed_comments=Disk Usage (%)
|
metadata.USED_DISK_PERC.filed_comments=Disk Usage (%)
|
||||||
metadata.PROC_PRIORITY.filed_comments=Priority Of The Process
|
metadata.PROC_PRIORITY.filed_comments=Priority Of The Process
|
||||||
metadata.USED_MEMORY_PERC.filed_comments=Memory Usage (%)
|
metadata.USED_MEMORY_PERC.filed_comments=Memory Usage (%)
|
||||||
metadata.ifInUcastPkts_t1.filed_comments=Acknowledgment Unidirectional Transport Packets
|
metadata.ifInUcastPkts_t1.filed_comments=Acknowledgment Unidirectional Transport Packets
|
||||||
metadata.FREE_SPACE_INPAGING_FILES.filed_comments=Available Swap Space (SwapfreeG)
|
metadata.FREE_SPACE_INPAGING_FILES.filed_comments=Available Swap Space (GB)
|
||||||
metadata.dpCpuRatio5min.filed_comments=CPU utilization in 300 seconds
|
metadata.dpCpuRatio5min.filed_comments=CPU utilization in 300 seconds
|
||||||
metadata.dpSlotType.filed_comments=Type Of Device Hot-pluggable Board
|
metadata.dpSlotType.filed_comments=Type Of Device Hot-pluggable Board
|
||||||
metadata.RX_DROPPED.filed_comments=Number Of Packets Discarded Upon Receipt
|
metadata.RX_DROPPED.filed_comments=Number Of Packets Discarded Upon Receipt
|
||||||
metadata.sysName.table_comments=Get Target Host Basic Information
|
metadata.sysName.table_comments=Get Target Host Basic Information
|
||||||
metadata.OUTOCTETSSPEED.filed_comments=Output Speed
|
metadata.OUTOCTETSSPEED.filed_comments=Output Speed
|
||||||
metadata.TOTAL_MEMORY_SIZE.filed_comments=Total Memory (TotalG)
|
metadata.TOTAL_MEMORY_SIZE.filed_comments=Total Memory (GB)
|
||||||
metadata.ifInUnknownProtos.filed_comments=Inbound Unknown Packets
|
metadata.ifInUnknownProtos.filed_comments=Inbound Unknown Packets
|
||||||
metadata.TIME_CONSUMING_MIN.filed_comments=Minimum Elapsed Time (In Milliseconds)
|
metadata.TIME_CONSUMING_MIN.filed_comments=Minimum Elapsed Time (In Milliseconds)
|
||||||
metadata.RX_ERRORS.filed_comments=Number Of Error Packets Received
|
metadata.RX_ERRORS.filed_comments=Number Of Error Packets Received
|
||||||
@@ -5009,10 +5009,10 @@ metadata.TX_PPS.filed_comments=Output pps (Number of packets sent per second)
|
|||||||
metadata.TIME_DELAY.filed_comments=Time Difference (Unit: Minutes)
|
metadata.TIME_DELAY.filed_comments=Time Difference (Unit: Minutes)
|
||||||
metadata.sysObjectID.table_comments=Get Target Host Basic Information
|
metadata.sysObjectID.table_comments=Get Target Host Basic Information
|
||||||
metadata.inPktsSpeed.filed_comments=Package Rate
|
metadata.inPktsSpeed.filed_comments=Package Rate
|
||||||
metadata.FREE_CPU_PERC.filed_comments=Current Idle Rate (Id%)
|
metadata.FREE_CPU_PERC.filed_comments=Idle Rate (%)
|
||||||
metadata.IS_IDENTICAL.filed_comments=Is it accessible
|
metadata.IS_IDENTICAL.filed_comments=Is it accessible
|
||||||
metadata.ifOutNUcastPkts.filed_comments=Non-unidirectional Data Packets
|
metadata.ifOutNUcastPkts.filed_comments=Non-unidirectional Data Packets
|
||||||
metadata.USED_MEMORY_SIZE.filed_comments=Used Memory (UsedG)
|
metadata.USED_MEMORY_SIZE.filed_comments=Used Memory (GB)
|
||||||
metadata.HOST_NAME.filed_comments=Host Name
|
metadata.HOST_NAME.filed_comments=Host Name
|
||||||
metadata.ifSpecific.filed_comments=Detailed description of the port by the Management Information Base (MIB).
|
metadata.ifSpecific.filed_comments=Detailed description of the port by the Management Information Base (MIB).
|
||||||
metadata.SERVICE_DATE.filed_comments=Server Time
|
metadata.SERVICE_DATE.filed_comments=Server Time
|
||||||
@@ -7036,7 +7036,7 @@ client.NmsClient.ncDeamonStartException=The NC daemon starts an exception
|
|||||||
|
|
||||||
client.SystemInfo.memerySize=Total memory size
|
client.SystemInfo.memerySize=Total memory size
|
||||||
client.SystemInfo.core=core
|
client.SystemInfo.core=core
|
||||||
client.SystemInfo.mhz=frequency
|
client.SystemInfo.mhz=Cpu MHz
|
||||||
client.SystemInfo.currentUsed=Used now
|
client.SystemInfo.currentUsed=Used now
|
||||||
client.SystemInfo.spaceRemain=Remaining
|
client.SystemInfo.spaceRemain=Remaining
|
||||||
client.SystemInfo.shiyonglv=Usage
|
client.SystemInfo.shiyonglv=Usage
|
||||||
@@ -7331,20 +7331,20 @@ procInfoList.text.process=Process
|
|||||||
procInfoList.text.updateFile=Upgrade File
|
procInfoList.text.updateFile=Upgrade File
|
||||||
procInfoList.text.updateSuccess=The update is successful
|
procInfoList.text.updateSuccess=The update is successful
|
||||||
procInfoList.text.updateFaild=Update failed
|
procInfoList.text.updateFaild=Update failed
|
||||||
procInfoList.text.bordName=Board Name
|
procInfoList.text.bordName=Compute Sled
|
||||||
procInfoList.text.procName=Process Name
|
procInfoList.text.procName=Process
|
||||||
procInfoList.text.proceNo=Process No.
|
procInfoList.text.proceNo=Process No.
|
||||||
procInfoList.text.procStartTime=Process Start Time
|
procInfoList.text.procStartTime=Process Start Time
|
||||||
procInfoList.text.cpuUsage=CPU Usage
|
procInfoList.text.cpuUsage=CPU Usage
|
||||||
procInfoList.text.memeryUsage=Memory Footprint
|
procInfoList.text.memeryUsage=Memory Usage
|
||||||
procInfoList.text.procState=Process Status
|
procInfoList.text.procState=Status
|
||||||
procInfoList.text.ok=Normal
|
procInfoList.text.ok=Normal
|
||||||
procInfoList.text.no=Abnormal
|
procInfoList.text.no=Abnormal
|
||||||
procInfoList.text.strengthened=System Strengthened
|
procInfoList.text.strengthened=System Strengthened
|
||||||
procInfoList.text.optimized=System Optimized
|
procInfoList.text.optimized=System Optimized
|
||||||
procInfoList.text.sysname=System Name
|
procInfoList.text.sysname=Compute Sled
|
||||||
procInfoList.text.serviceName=Service Name
|
procInfoList.text.serviceName=Name
|
||||||
procInfoList.text.serviceState=Service Status
|
procInfoList.text.serviceState=Status
|
||||||
|
|
||||||
processReset.text.result=Reset mirror not saved.Reset failed!
|
processReset.text.result=Reset mirror not saved.Reset failed!
|
||||||
processReset.text.confirm=Confirm reset?This oparetion is dangerous and irreversible.
|
processReset.text.confirm=Confirm reset?This oparetion is dangerous and irreversible.
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<title>网络流处理设备</title>
|
<title>Network Flow Processing Equipment</title>
|
||||||
<!-- header页面保存引入的css js样式 -->
|
<!-- header页面保存引入的css js样式 -->
|
||||||
#include("/common/header.html")
|
#include("/common/header.html")
|
||||||
</head>
|
</head>
|
||||||
@@ -123,7 +123,7 @@
|
|||||||
<li class="dropdown-menu-title" style="height:25px">
|
<li class="dropdown-menu-title" style="height:25px">
|
||||||
<a href="/exit" class="international-a" style="width:93.5%">
|
<a href="/exit" class="international-a" style="width:93.5%">
|
||||||
<span>#(_res.get("exit.system"))</span>
|
<span>#(_res.get("exit.system"))</span>
|
||||||
<i class='icon-off'></i>
|
<i class='icon-signout'></i>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -49,12 +49,12 @@
|
|||||||
<th style='text-align:center;vertical-align: middle;'>
|
<th style='text-align:center;vertical-align: middle;'>
|
||||||
<span>i18n_procInfoList.text.procName_n81i</span>
|
<span>i18n_procInfoList.text.procName_n81i</span>
|
||||||
</th>
|
</th>
|
||||||
<th style='text-align:center;vertical-align: middle;'>
|
<!-- <th style='text-align:center;vertical-align: middle;'>
|
||||||
<span>i18n_procInfoList.text.proceNo_n81i</span>
|
<span>i18n_procInfoList.text.proceNo_n81i</span>
|
||||||
</th>
|
</th>
|
||||||
<th style='text-align:center;vertical-align: middle;'>
|
<th style='text-align:center;vertical-align: middle;'>
|
||||||
<span>i18n_procInfoList.text.procStartTime_n81i</span>
|
<span>i18n_procInfoList.text.procStartTime_n81i</span>
|
||||||
</th>
|
</th> -->
|
||||||
<th style='text-align:center;vertical-align: middle;'>
|
<th style='text-align:center;vertical-align: middle;'>
|
||||||
<span>i18n_procInfoList.text.cpuUsage_n81i(%)</span>
|
<span>i18n_procInfoList.text.cpuUsage_n81i(%)</span>
|
||||||
</th>
|
</th>
|
||||||
@@ -86,12 +86,12 @@
|
|||||||
<td class="logmessage">
|
<td class="logmessage">
|
||||||
<span>#(proc["procName"])</span>
|
<span>#(proc["procName"])</span>
|
||||||
</td>
|
</td>
|
||||||
<td class="logmessage">
|
<!-- <td class="logmessage">
|
||||||
<span>#(proc["pid"])</span>
|
<span>#(proc["pid"])</span>
|
||||||
</td>
|
</td>
|
||||||
<td class="logmessage">
|
<td class="logmessage">
|
||||||
<span>#(proc["startTime"])</span>
|
<span>#(proc["startTime"])</span>
|
||||||
</td>
|
</td> -->
|
||||||
<td class="logmessage">
|
<td class="logmessage">
|
||||||
<span>#(proc["cpu"])</span>
|
<span>#(proc["cpu"])</span>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
</noscript>
|
</noscript>
|
||||||
|
|
||||||
<!-- start: Content -->
|
<!-- start: Content -->
|
||||||
<div id="content" class="span10" >
|
<div id="content" class="span10 hidden" style="display:none;">
|
||||||
<div class="row-fluid " style="margin-top:10px">
|
<div class="row-fluid " style="margin-top:10px">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="box-header" data-original-title>
|
<div class="box-header" data-original-title>
|
||||||
|
|||||||
@@ -98,7 +98,7 @@
|
|||||||
aria-controls="DataTables_Table_0" rowspan="1" colspan="1"
|
aria-controls="DataTables_Table_0" rowspan="1" colspan="1"
|
||||||
aria-sort="ascending"
|
aria-sort="ascending"
|
||||||
aria-label="Username: activate to sort column descending"
|
aria-label="Username: activate to sort column descending"
|
||||||
style="width: 153px;">Ip</th>
|
style="width: 153px;">IP</th>
|
||||||
<th style='text-align:center;vertical-align: middle;'class="sorting" role="columnheader" tabindex="0"
|
<th style='text-align:center;vertical-align: middle;'class="sorting" role="columnheader" tabindex="0"
|
||||||
aria-controls="DataTables_Table_0" rowspan="1" colspan="1"
|
aria-controls="DataTables_Table_0" rowspan="1" colspan="1"
|
||||||
aria-label="Date registered: activate to sort column ascending"
|
aria-label="Date registered: activate to sort column ascending"
|
||||||
@@ -110,11 +110,11 @@
|
|||||||
<th style='text-align:center;vertical-align: middle;'class="sorting" role="columnheader" tabindex="0"
|
<th style='text-align:center;vertical-align: middle;'class="sorting" role="columnheader" tabindex="0"
|
||||||
aria-controls="DataTables_Table_0" rowspan="1" colspan="1"
|
aria-controls="DataTables_Table_0" rowspan="1" colspan="1"
|
||||||
aria-label="Role: activate to sort column ascending"
|
aria-label="Role: activate to sort column ascending"
|
||||||
style="width: 126px;">Interface</th>
|
style="width: 126px;">Network Interface</th>
|
||||||
<th style='text-align:center;vertical-align: middle;'class="sorting" role="columnheader" tabindex="0"
|
<th style='text-align:center;vertical-align: middle;'class="sorting" role="columnheader" tabindex="0"
|
||||||
aria-controls="DataTables_Table_0" rowspan="1" colspan="1"
|
aria-controls="DataTables_Table_0" rowspan="1" colspan="1"
|
||||||
aria-label="Actions: activate to sort column ascending"
|
aria-label="Actions: activate to sort column ascending"
|
||||||
style="width: 50px;">Handle</th>
|
style="width: 50px;">Management</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
|
|||||||
@@ -10,13 +10,13 @@ import shutil
|
|||||||
def update_route(data):
|
def update_route(data):
|
||||||
list = []
|
list = []
|
||||||
route_path = '/etc/sysconfig/static-routes'
|
route_path = '/etc/sysconfig/static-routes'
|
||||||
requestOldParam = 'any net ' + data['destination_ip_old'] + ' netmask ' + data['ip_mask_old'] + ' gw ' + data['gateway_old'] + ' ' + \
|
requestOldParam = 'any net ' + data['destination_ip_old'] + ' netmask ' + data['ip_mask_old'] + ' gw ' + data['gateway_old'] + ' dev ' + \
|
||||||
data['interface']
|
data['interface']
|
||||||
result = os.system(
|
result = os.system(
|
||||||
'route add -net ' + data['destination_ip'] + ' netmask ' + data['ip_mask'] + ' gw ' + data['gateway'] + ' ' +
|
'route add -net ' + data['destination_ip'] + ' netmask ' + data['ip_mask'] + ' gw ' + data['gateway'] + ' dev ' +
|
||||||
data['interface'])
|
data['interface'])
|
||||||
result2 = os.system(
|
result2 = os.system(
|
||||||
'route del -net ' + data['destination_ip_old'] + ' netmask ' + data['ip_mask_old'] + ' gw ' + data['gateway_old'] + ' ' +
|
'route del -net ' + data['destination_ip_old'] + ' netmask ' + data['ip_mask_old'] + ' gw ' + data['gateway_old'] + ' dev ' +
|
||||||
data['interface'])
|
data['interface'])
|
||||||
# <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쳣<EFBFBD><ECB3A3><EFBFBD><EFBFBD>ֹ<EFBFBD><D6B9><EFBFBD><EFBFBD>
|
# <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쳣<EFBFBD><ECB3A3><EFBFBD><EFBFBD>ֹ<EFBFBD><D6B9><EFBFBD><EFBFBD>
|
||||||
if (result != 0):
|
if (result != 0):
|
||||||
@@ -30,7 +30,7 @@ def update_route(data):
|
|||||||
lines = f_route.readlines()
|
lines = f_route.readlines()
|
||||||
for line in reversed(lines):
|
for line in reversed(lines):
|
||||||
if (requestOldParam in line):
|
if (requestOldParam in line):
|
||||||
list.append('any net ' + data['destination_ip'] + ' netmask ' + data['ip_mask'] + ' gw ' + data['gateway'] + ' ' + \
|
list.append('any net ' + data['destination_ip'] + ' netmask ' + data['ip_mask'] + ' gw ' + data['gateway'] + ' dev ' + \
|
||||||
data['interface'] + '\n')
|
data['interface'] + '\n')
|
||||||
else:
|
else:
|
||||||
list.append(line)
|
list.append(line)
|
||||||
@@ -41,8 +41,9 @@ def update_route(data):
|
|||||||
|
|
||||||
def new_route(data):
|
def new_route(data):
|
||||||
# <20><><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><C2B7>
|
# <20><><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><C2B7>
|
||||||
|
print('route add -net ' + data['destination_ip'] + ' netmask ' + data['ip_mask'] + ' gw ' + data['gateway'] +' dev '+data['interface'])
|
||||||
result = os.system(
|
result = os.system(
|
||||||
'route add -net ' + data['destination_ip'] + ' netmask ' + data['ip_mask'] + ' gw ' + data['gateway'] +' '+data['interface'])
|
'route add -net ' + data['destination_ip'] + ' netmask ' + data['ip_mask'] + ' gw ' + data['gateway'] +' dev '+data['interface'])
|
||||||
# <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쳣<EFBFBD><ECB3A3><EFBFBD><EFBFBD>ֹ<EFBFBD><D6B9><EFBFBD><EFBFBD>
|
# <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쳣<EFBFBD><ECB3A3><EFBFBD><EFBFBD>ֹ<EFBFBD><D6B9><EFBFBD><EFBFBD>
|
||||||
if (result != 0):
|
if (result != 0):
|
||||||
print(result)
|
print(result)
|
||||||
@@ -54,7 +55,7 @@ def new_route(data):
|
|||||||
with open(route_path, 'w') as f:
|
with open(route_path, 'w') as f:
|
||||||
f.close()
|
f.close()
|
||||||
with open(route_path, 'r+') as f:
|
with open(route_path, 'r+') as f:
|
||||||
strData = 'any net ' + data['destination_ip'] + ' netmask ' + data['ip_mask'] + ' gw ' + data['gateway'] + ' ' + \
|
strData = 'any net ' + data['destination_ip'] + ' netmask ' + data['ip_mask'] + ' gw ' + data['gateway'] + ' dev ' + \
|
||||||
data['interface']
|
data['interface']
|
||||||
f.seek(0, 2)
|
f.seek(0, 2)
|
||||||
f.write('\n' + strData)
|
f.write('\n' + strData)
|
||||||
@@ -64,9 +65,9 @@ def remove_route(data):
|
|||||||
#ɾ<><C9BE>·<EFBFBD><C2B7><EFBFBD><EFBFBD>Ϣ
|
#ɾ<><C9BE>·<EFBFBD><C2B7><EFBFBD><EFBFBD>Ϣ
|
||||||
route_path = '/etc/sysconfig/static-routes'
|
route_path = '/etc/sysconfig/static-routes'
|
||||||
list = []
|
list = []
|
||||||
requestParam='any net ' + data['destination_ip'] + ' netmask ' + data['ip_mask'] + ' gw ' + data['gateway'] + ' ' + data['interface']
|
requestParam='any net ' + data['destination_ip'] + ' netmask ' + data['ip_mask'] + ' gw ' + data['gateway'] + ' dev ' + data['interface']
|
||||||
result = os.system(
|
result = os.system(
|
||||||
'route del -net ' + data['destination_ip'] + ' netmask ' + data['ip_mask'] + ' gw ' + data['gateway'] + ' ' +
|
'route del -net ' + data['destination_ip'] + ' netmask ' + data['ip_mask'] + ' gw ' + data['gateway'] + ' dev ' +
|
||||||
data['interface'])
|
data['interface'])
|
||||||
# <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쳣<EFBFBD><ECB3A3><EFBFBD><EFBFBD>ֹ<EFBFBD><D6B9><EFBFBD><EFBFBD>
|
# <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쳣<EFBFBD><ECB3A3><EFBFBD><EFBFBD>ֹ<EFBFBD><D6B9><EFBFBD><EFBFBD>
|
||||||
if (result != 0):
|
if (result != 0):
|
||||||
@@ -106,7 +107,7 @@ def query_route():
|
|||||||
result['destination_ip'] = data[2]
|
result['destination_ip'] = data[2]
|
||||||
result['ip_mask'] = data[4]
|
result['ip_mask'] = data[4]
|
||||||
result['gateway'] = data[6]
|
result['gateway'] = data[6]
|
||||||
result['r_interface'] = data[7]
|
result['r_interface'] = data[8]
|
||||||
if(result):
|
if(result):
|
||||||
list.append(result)
|
list.append(result)
|
||||||
return list
|
return list
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
msg=International
|
msg=International
|
||||||
admin.common.choice = Choice
|
admin.common.choice = Choice
|
||||||
admin.common.close = Close
|
admin.common.close = Cancel
|
||||||
admin.common.delete = Delete
|
admin.common.delete = Delete
|
||||||
admin.common.determine = Determine
|
admin.common.determine = Determine
|
||||||
admin.common.edit = The editor
|
admin.common.edit = The editor
|
||||||
admin.common.export = Export
|
admin.common.export = Export
|
||||||
system.config = NIC Set
|
system.config = Network Interface
|
||||||
audit.log = Audit Log
|
audit.log = Audit Log
|
||||||
sign.in = Sign In
|
sign.in = Sign In
|
||||||
sign.out = Sign Out
|
sign.out = Sign Out
|
||||||
@@ -14,17 +14,17 @@ page.up = Page Up
|
|||||||
page.down = Page Down
|
page.down = Page Down
|
||||||
total = Total
|
total = Total
|
||||||
page = Page
|
page = Page
|
||||||
creater = Creator
|
creater = Username
|
||||||
create.time = Create Time
|
create.time = Time
|
||||||
cpuuser.usage = CPU Monitor: User Usage Rate\uff08us%\uff09
|
cpuuser.usage = CPU\uff08us%\uff09
|
||||||
cpuuser = User Usage Rate\uff08us%\uff09
|
cpuuser = User Usage Rate\uff08us%\uff09
|
||||||
memory.usage = Memory Monitor: Memory Utilization Rate\uff08us%\uff09
|
memory.usage = Memory\uff08us%\uff09
|
||||||
memory = Memory Utilization Rate\uff08us%\uff09
|
memory = Memory Usage Rate\uff08us%\uff09
|
||||||
disk.usage = Disk Monitor: Disk Usage \uff08us%\uff09
|
disk.usage = Disk\uff08us%\uff09
|
||||||
disk = Disk Usage \uff08us%\uff09
|
disk = Disk Usage \uff08us%\uff09
|
||||||
netdata.usage = Netdata Monitor: Number Of Network Card Packets
|
netdata.usage = Packet I/O
|
||||||
netdata = Number Of Network Card Packets
|
netdata = Number Of Network Card Packets
|
||||||
ip = IP
|
ip = Source IP
|
||||||
uri = URI
|
uri = URI
|
||||||
request.way = Request Way
|
request.way = Request Way
|
||||||
log.message = Log Message
|
log.message = Log Message
|
||||||
@@ -32,17 +32,17 @@ home.page = Home Page
|
|||||||
exit.system = Exit
|
exit.system = Exit
|
||||||
login = Login
|
login = Login
|
||||||
exit = Exit
|
exit = Exit
|
||||||
explain = Explain
|
explain = Operation
|
||||||
route.config = Route Config
|
route.config = Route
|
||||||
route.modify = Route Modify
|
route.modify = Route Modify
|
||||||
config.modify = Config Modify
|
config.modify = Config Modify
|
||||||
monitor = Equipment Monitoring
|
monitor = Monitoring
|
||||||
monitor.card = Card Name
|
monitor.card = Compute Sled
|
||||||
monitor.type = Monitoring Category
|
monitor.type = Current
|
||||||
monitor.setting = Setting Name
|
monitor.setting = History
|
||||||
monitor.status = Status
|
monitor.status = Check
|
||||||
monitor.check = Status Recent Check Time
|
monitor.check = Last Check time
|
||||||
monitor.information = Status Information
|
monitor.information = Status
|
||||||
monitor.performacedata = Performace Data
|
monitor.performacedata = Performace Data
|
||||||
monitor.checktime = Check Time
|
monitor.checktime = Check Time
|
||||||
monitor.nextchecktime = Next Check Time
|
monitor.nextchecktime = Next Check Time
|
||||||
@@ -51,14 +51,14 @@ save.changes = Save
|
|||||||
reset = Reset
|
reset = Reset
|
||||||
reboot = Reboot
|
reboot = Reboot
|
||||||
shutdown = Shutdown
|
shutdown = Shutdown
|
||||||
handle.success = Handle Success
|
handle.success = Success
|
||||||
handle.error = Error ! Please try again later
|
handle.error = Error ! Please try again later
|
||||||
software.type = Software Type
|
software.type = Software Type
|
||||||
software.release = Software Release
|
software.release = Software Release
|
||||||
gateway = Gateway
|
gateway = Gateway
|
||||||
mask = Mask
|
mask = Mask
|
||||||
destination.ip = Destination Ip
|
destination.ip = Destination IP
|
||||||
interface = Interface
|
interface = Network Interface
|
||||||
mac = MAC
|
mac = MAC
|
||||||
account = Account
|
account = Account
|
||||||
password = Password
|
password = Password
|
||||||
@@ -69,28 +69,28 @@ remove.message = Are you sure remove?
|
|||||||
modify = Modify
|
modify = Modify
|
||||||
create = Create
|
create = Create
|
||||||
error.message = Please check again!
|
error.message = Please check again!
|
||||||
handle = Handle
|
handle = Management
|
||||||
signError = Other account login
|
signError = Other account login
|
||||||
loginTimeOut = Time out please login again
|
loginTimeOut = Time out please login again
|
||||||
waitInfo = Please waiting
|
waitInfo = Please waiting
|
||||||
modify.message = Are you sure modify?
|
modify.message = Are you sure modify?
|
||||||
node.ip = Node IP
|
node.ip = IP
|
||||||
normal = Normal
|
normal = Passed
|
||||||
abnormal = Abnormal
|
abnormal = Failed
|
||||||
monitor.error = Monitor Error
|
monitor.error = Monitor Error
|
||||||
monitor.data.details = Monitoring Data Details
|
monitor.data.details = Monitoring Data Details
|
||||||
monitor.data = Monitoring Data
|
monitor.data = Monitoring Data
|
||||||
serviceConfig = Software Management
|
serviceConfig = Device Overview
|
||||||
showProcess = Show Process
|
showProcess = Process
|
||||||
device.config = Device Settings
|
device.config = Device Settings
|
||||||
os.Config = OS Settings
|
os.Config = Service
|
||||||
software.config = Software Configuration
|
software.config = Software Configuration
|
||||||
software.update = Business Software Upgrade
|
software.update = Business Software Upgrade
|
||||||
other.business = Third Party Business Plug-in Management
|
other.business = Third Party Business Plug-in Management
|
||||||
net.config = The Network Configuration
|
net.config = The Network Configuration
|
||||||
device.operate = Equipment Operation
|
device.operate = Equipment Operation
|
||||||
hardware.info = Hardware Information
|
hardware.info = Hardware Information
|
||||||
base.info = The Basic Information
|
base.info = Hardware Information
|
||||||
hardware.config = The Hardware Configuration
|
hardware.config = The Hardware Configuration
|
||||||
snmp = Information Management
|
snmp = Information Management
|
||||||
|
|
||||||
@@ -98,7 +98,7 @@ startTime = Start Time
|
|||||||
endTime = End Time
|
endTime = End Time
|
||||||
chart.submit = Submit
|
chart.submit = Submit
|
||||||
chart.oneMore = Please choose at least one option
|
chart.oneMore = Please choose at least one option
|
||||||
os.Config = OS Settings
|
os.Config = Service
|
||||||
startTime = Start Time
|
startTime = Start Time
|
||||||
endTime = End Time
|
endTime = End Time
|
||||||
chart.submit = Submit
|
chart.submit = Submit
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ public class DeviceInfoNewService {
|
|||||||
public List<Object> getMonitorTypeDetailInfo(Long detectionInfoId, String checkTypeId) {
|
public List<Object> getMonitorTypeDetailInfo(Long detectionInfoId, String checkTypeId) {
|
||||||
List<Object> result = new ArrayList<Object>();
|
List<Object> result = new ArrayList<Object>();
|
||||||
|
|
||||||
String showColunmSql = "select m.TABLE_NAME as tableName, m.FILED_NAME as fieldName, m.FILED_COMMENTS as fieldComments from METADATA m where m.check_type_id=? and m.state=0";
|
String showColunmSql = "select m.TABLE_NAME as tableName, m.FILED_NAME as fieldName, m.FILED_COMMENTS as fieldComments from METADATA m where m.check_type_id=? and m.state=0 order by show_num";
|
||||||
List<Metadata> metadatas = Metadata.dao.find(showColunmSql, checkTypeId);
|
List<Metadata> metadatas = Metadata.dao.find(showColunmSql, checkTypeId);
|
||||||
|
|
||||||
result.add(metadatas);
|
result.add(metadatas);
|
||||||
|
|||||||
Reference in New Issue
Block a user