HMC Server Discovery

mihai1107
Tera Contributor

Hello!

 

I am trying to run discovery for an HMC server. 

The pattern triggers, completes successfully, no errors shown in the logs.

 

However, during the discovery, I get the following warnings:

"/bin/bash: PATH: readonly variable
environment: line 4: /bin/systemctl: restricted: cannot specify `/' in command names"

 

"/bin/bash: PATH: readonly variable"

 

In the ECC queue, the first part of the result in payload is the following:

 

<results probe_time="284" result_code="0" warn="/bin/bash: PATH: readonly variable ">
<result warn="/bin/bash: PATH: readonly variable ">
<output>environment: line 6: vmware: command not found</output>
</result>
 
How can those be solved and what impact they have on the overall discovery for HMC server?
 
And secondly, even if the discovery completes, I see that the created CI (cmdb_ci_hmc_server) does not have:
"short_description", "host_name", "fqdn" populated. Would this be expected, because I do not see them being set in the pattern logs, as they are seen in logs for Linux server discovery(for example)?
 
Thank you!
 
2 REPLIES 2

Pratiksha
Mega Sage

I have not tried this my self. 

 

However you can check this out : https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0788147

 

Regards, 

Pratiksha

Hello!

I did this in the first place, to have the pattern triggered. As mentioned, now the pattern triggers, but however I still see those warnings.

Maybe they are generated because the multi-probe "UNIX - Classify" includes 7 probes for UNIX-based systems and tries all of them on the HMC, which does not have all commands available. My problem is if there is an issue or the warnings can be ignored.
Thank you!