Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
monitor-ui
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
qinchao
7 years ago
Commit
809f0c946baab509a43bb5ba28bb08e5955c74c6
1 parent
2afd71c2
恶意ip
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
monitor-ui-web/src/main/webapp/jsp/malicious/maliciousIpRecordForbidList.jsp
monitor-ui-web/src/main/webapp/jsp/malicious/maliciousIpRecordForbidList.jsp
View file @
809f0c9
...
...
@@ -111,10 +111,7 @@
<h4
class=
"modal-title"
id=
"myModalLabel"
></h4>
</div>
<div
class=
"modal-body"
>
<div
class=
"widget-title"
style=
"height: 56px;"
>
<div>
<input
id=
"hbasePrefix"
type=
"text"
readonly
style=
"width:150px;"
/>
</div>
<input
id=
"hbasePrefix"
type=
"text"
readonly
disabled
style=
"width:350px;"
/>
<div
id=
"hbaseTable"
style=
"overflow-y: auto; overflow-x:hidden;max-height: 700px"
/></div>
</div>
<div
class=
"modal-footer"
>
...
...
@@ -246,9 +243,21 @@
}
}]
});
}
function
qpsDetailMip
(
mip
,
hbaseTime
){
if
(
!
hbaseTime
){
hbaseTime
=
0
;
}
$
(
"#hbasePrefix"
).
val
(
mip
+
":"
+
hbaseTime
+
":"
);
$
(
"#hbaseTable"
).
table
({
url
:
contextPath
+
"maliciousIp/getMaliciousDetection"
,
queryParams
:{
ip
:
mip
,
timestamp
:
hbaseTime
,
type
:
"alarm"
},
dataType
:
'json'
,
striped
:
true
,
pagination
:
false
,
...
...
@@ -266,15 +275,6 @@
width
:
"100%"
}]
});
}
function
qpsDetailMip
(
mip
,
hbaseTime
){
$
(
"#hbasePrefix"
).
val
(
mip
+
":"
+
hbaseTime
+
":"
);
$
(
"#hbaseTable"
).
table
(
"load"
,{
ip
:
mip
,
timestamp
:
hbaseTime
,
type
:
"alarm"
});
$
(
"#myModal"
).
modal
(
'show'
);
}
...
...
Please
register
or
login
to post a comment