resutls = re.sub('(=)(\d+\.\d+|\d+)([a-zA-Z]+)',r'\g<1>'r'\g<2>',results) -- will get rid of the names after the numbers on the right hand side of the =.
After i wrote this i also experimented with just running a single command that would would:
ipmitool -H 192.168.180.100 -U zenny -P macintosh | awk -F'|' '{ print $1 "=" $2 "\t" $1 "Status=" $3 "\t"}' | sed -e 's/ //g' -e 's/=ok/=1/g' -e 's/=ns/=0/g' -e 's/\t/ /g' -e 's/\(=\)\([0-9]*\.[0-9]*\)\([a-zA-Z]*\)/\1\2/g' -e 's/\(=\)\([0-9]*\)\([a-zA-Z]*\)/\1\2/g' -e 's/\(=\)\(-\)\([0-9]*\.[0-9]*\)\([a-zA-Z]*\)/\1\3/g' -e 's/-/negative/g' -e 's/\./_/g' | tr -d '\n' | sed -e '1 s|^|Status OK\||'
Hope this helps
--Rob