UCMDB 9.05 - NTCMD protocol issue while running Host Connection by Shell (1213 Views)
Reply
Regular Advisor
Praveen_Shan
Posts: 112
Registered: ‎01-12-2012
Message 1 of 6 (1,213 Views)

UCMDB 9.05 - NTCMD protocol issue while running Host Connection by Shell

Hello all,

 

SW Version: HP UCMDB: 9.05.CUP8.250, DDM Content Pack 11.04.735

 

I have created a custom job which uses a custom adapter for Host Connection by Shell. Both the job as well as the adapter are based off of the OOTB package.

 

 

I have SSH and NTCMD credentials saved in the credential locker.

I restrict the protocol under the Required Discovery protocols (adapter definition tab) to SSH only. The OOTB Host Connection by Shell job includes three protocols - SSH, NTCMD and Telnet but I don't want to use them all.

 

Now, when I run the job, it should be picking up only the SSH credential but it picks up NTCMD as well and throws out warnings like these:

 

<< Progress message, Severity: Error>>
SSH: Timeout trying to connect to the remote agent. Try increasing the timeout value.

<< Progress message, Severity: Error>>
NTCMD: Network path is not accessible

 

<< Progress message, Severity: Error>>
NTCMD: Invalid user name or password.

<< Progress message, Severity: Warning>>
SSH: No agent on the remote machine.

 

<< Progress message, Severity: Error>>
SSH: Permission denied.

<< Progress message, Severity: Error>>
NTCMD: Internal error. Details: NTCMD connection: The specified server cannot perform the requested operation.

<< Progress message, Severity: Error>>
NTCMD: Network path is not accessible

 

Is this a known bug ? Or, am I not doing this right ?

 

Kindly share your knowledge and thoughts about this.

 

Thanks,

Praveen

Please use plain text.
Trusted Contributor
b_bravi
Posts: 197
Registered: ‎05-29-2012
Message 2 of 6 (1,187 Views)

Re: UCMDB 9.05 - NTCMD protocol issue while running Host Connection by Shell

SHELL_CLIENT_PROTOCOLS = (ClientsConsts.SSH_PROTOCOL_NAME, ClientsConsts.TELNET_PROTOCOL_NAME, ClientsConsts.NTCMD_PROTOCOL_NAME)

By default script checks for the above protocols as shell_client_protocol , so hence it is trying out.

 

Did you include exclude range for the protocol.

Please use plain text.
Regular Advisor
Praveen_Shan
Posts: 112
Registered: ‎01-12-2012
Message 3 of 6 (1,182 Views)

Re: UCMDB 9.05 - NTCMD protocol issue while running Host Connection by Shell

Hi Bravi,

 

Is it advisable to remove the "ClientsConsts.NTCMD_PROTOCOL_NAME" part from that line in the script ?

 

No, I have not included/excluded any IP ranges from the protocol.  So, I'm assuming you're idea about including/excluding the ranges from the protocol is to target the IP ranges that have shell only, right ?

 

Thanks,

Praveen

Please use plain text.
Trusted Contributor
b_bravi
Posts: 197
Registered: ‎05-29-2012
Message 4 of 6 (1,177 Views)

Re: UCMDB 9.05 - NTCMD protocol issue while running Host Connection by Shell

you can use the exclude range option to make sure that it will not take unwanted protocol for you.

Please use plain text.
Frequent Advisor
Mathew_ucmdb
Posts: 105
Registered: ‎07-03-2013
Message 5 of 6 (795 Views)

Re: UCMDB 9.05 - NTCMD protocol issue while running Host Connection by Shell

Hi,

 

Any solution for this issue? We are facing the same now, NTCMD protocol issue.

 

Thank You

 

Regards

Mathew

Please use plain text.
Regular Advisor
Praveen_Shan
Posts: 112
Registered: ‎01-12-2012
Message 6 of 6 (744 Views)

Re: UCMDB 9.05 - NTCMD protocol issue while running Host Connection by Shell

Hello everyone,

 

Again, I've been seeing a lot of Timeout errors on the Host Connection by Shell job.

<< Progress message, Severity: Error>>
NTCMD: Timeout trying to connect to the remote agent. Try increasing the timeout value.

 

Has anybody changed the script so that it picks up only SSH protocol and ignores NTCMD and telnet ?
 

Kindly oblige.

 

Praveen

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation