Discovery Serial Number HP-UX 11
during the Host Connection job execution, the 'echo "sel path system\infolog\next" | cstm | grep -i "system serial"' command (used to discovery Serial Number in HP-UX 11.00) fails. We have tried to launch this command manually on the server, with the same access user used by discovery job, and it works getting serial number, correctly.
The used function is the following:
output = self.client.execAlternateCmds('echo "sel path system\\ninfolog\\nexit" | cstm | grep -i "system serial"','echo "sel path system\\ninfolog\\nexit" | /usr/sbin/cstm | grep -i "system serial"')
matcher = re.search(':\s*(.+)', output)
logger.warn("Failed getting host serial number by cstm")
Could you help us, please?
Thank you and best regards.
I hope you are doing well .
Would you please provide us the communication log of this job ?
Customer Support Engineer
If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation. “