
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2019 04:57 AM
Version : London
Hi Experts,
I am trying to discover the linux system in the environment. I am not getting the serial number for the machine.
When i tried with the putty , access as username & password. I am able to run the command
"dmidecode -t system" I am able to get the ouput but when i run through the discovery
in the payload i am getting the below.
<result>
<output>{"related_data":{"modules":[]}}</output>
</result>
but there is no serial number in payload nor in serial number field. Is this the desired output.
Also when i try to access the host through the ppk authentication. I am getting the below
<results error="Terminal is being asked for a password, and we don't know it" probe_time="11315" result_code="900000">
<result error="Terminal is being asked for a password, and we don't know it">
<output/>
Linux Team confirmed they have the given the permission like below:
ALL=(root:root) NOPASSWD: /usr/sbin/dmidecode, /usr/sbin/lsof, /sbin/fdisk -l, /sbin/dmsetup table *, /sbin/multipath -ll
IN this i am able to scan the CI & a CI is getting created too but not able to get the serial number in both the cases.
Could anyone let me know what went wrong in this.
Solved! Go to Solution.
- Labels:
-
Discovery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2019 07:08 AM
Ahhhh
There was a property which needs to be enabled
MID server property mid.property.ssh.use_snc
This resolved the issue we were facing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2019 11:20 PM
First, I am surprised you got root credentials to run discovery.
To get Serial Number please try below command.
sudo dmidecode -t system | grep Serial
Also if possible try to load the URL with your Server IP and share the screenshot
https://<YOUR INSTANCE>/SaCmdManager.do?ip=<YOUR SERVER IP>

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2019 05:55 AM
Hi,
Thanks for the reply.
But my question is that the output which i am getting
<result>
<output>{"related_data":{"modules":[]}}</output>
</result>
This output is from the payload XML of that device. Is this the desired output through which it populate the serial number in the field.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2019 03:48 AM
You can try with following commands
sudo dmidecode -t system | grep Serial
Please check this URL if you can get something from this
https://community.hpe.com/t5/System-Administration/How-to-get-Serial-number-in-Linux-w-o-using-dmidecode/td-p/6372623#.XI91jSIzbIU
Following is example you can retrive serial number without dmidecode
sudo cat /sys/class/dmi/id/board_serial sudo cat /sys/class/dmi/id/chassis_serial sudo cat /sys/class/dmi/id/product_serial
Which Linux Version you are using ? please makr as helpful or if you are getting any solution on this.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2019 07:08 AM
Ahhhh
There was a property which needs to be enabled
MID server property mid.property.ssh.use_snc
This resolved the issue we were facing