Toggle navigation
Toggle navigation
This project
Loading...
Sign in
guizhou-monitorV2.0.1
/
agent
·
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
zhangmingm
8 years ago
Commit
3b74fb102f9bf561daeac6ea4b15986445117837
1 parent
f0247d57
修改getSSH方法。
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
src/com/sitech/ismp/coll/centercoll/CollLinuxHost.java
src/com/sitech/ismp/coll/centercoll/CollLinuxHost.java
View file @
3b74fb1
...
...
@@ -164,6 +164,7 @@ public class CollLinuxHost implements CollLinuxHostMBean {
}
String
hostName
=
params
.
get
(
"HOSTNAME"
)+
""
;
String
username
=
params
.
get
(
"USERNAME"
)+
""
;
String
protocol
=
params
.
get
(
"PROTOCOL"
)+
""
;
String
password
=
params
.
get
(
"PASSWORD"
)+
""
;
password
=
DES3
.
decrypt
(
password
);
...
...
@@ -174,6 +175,7 @@ public class CollLinuxHost implements CollLinuxHostMBean {
bean
.
setPROTOCOL_PORT
(
port
);
bean
.
setUSER_NAME
(
username
);
bean
.
setPASSWORD
(
password
);
bean
.
setPROTOCOL
(
protocol
);
String
state
=
server
.
getConnectionState4SshOrTelnet
(
bean
);
TblATO_KPIDETAIL
kpidetail
=
new
TblATO_KPIDETAIL
();
...
...
Please
register
or
login
to post a comment