Showing
1 changed file
with
2 additions
and
0 deletions
@@ -164,6 +164,7 @@ public class CollLinuxHost implements CollLinuxHostMBean { | @@ -164,6 +164,7 @@ public class CollLinuxHost implements CollLinuxHostMBean { | ||
164 | } | 164 | } |
165 | String hostName=params.get("HOSTNAME")+""; | 165 | String hostName=params.get("HOSTNAME")+""; |
166 | String username=params.get("USERNAME")+""; | 166 | String username=params.get("USERNAME")+""; |
167 | + String protocol=params.get("PROTOCOL")+""; | ||
167 | String password=params.get("PASSWORD")+""; | 168 | String password=params.get("PASSWORD")+""; |
168 | password=DES3.decrypt(password); | 169 | password=DES3.decrypt(password); |
169 | 170 | ||
@@ -174,6 +175,7 @@ public class CollLinuxHost implements CollLinuxHostMBean { | @@ -174,6 +175,7 @@ public class CollLinuxHost implements CollLinuxHostMBean { | ||
174 | bean.setPROTOCOL_PORT(port); | 175 | bean.setPROTOCOL_PORT(port); |
175 | bean.setUSER_NAME(username); | 176 | bean.setUSER_NAME(username); |
176 | bean.setPASSWORD(password); | 177 | bean.setPASSWORD(password); |
178 | + bean.setPROTOCOL(protocol); | ||
177 | String state=server.getConnectionState4SshOrTelnet(bean); | 179 | String state=server.getConnectionState4SshOrTelnet(bean); |
178 | 180 | ||
179 | TblATO_KPIDETAIL kpidetail=new TblATO_KPIDETAIL(); | 181 | TblATO_KPIDETAIL kpidetail=new TblATO_KPIDETAIL(); |
-
Please register or login to post a comment