fsictl tool rmc -q -p ALL -j 'echo -n $(hostname); dmidecode -t system |grep -i serial'
Output example:
servername1 Serial Number: xxxxxx