Two fixes in the database response time probe script, used by
the dbping PMDA - the socket output needs to be flushed right
after every print statement, else we operate in block mode and
output is not timely. Second, evaluate localtime in a scalar
content, otherwise we get an array which doesn't do what we're
expecting & the dbping.control.timestamp metric holds garbage.
Two fixes in the database response time probe script, used by
the dbping PMDA - the socket output needs to be flushed right
after every print statement, else we operate in block mode and
output is not timely. Second, evaluate localtime in a scalar
content, otherwise we get an array which doesn't do what we're
expecting & the dbping.control.timestamp metric holds garbage.