You need to send data in line protocol.
https://docs.influxdata.com/influxdb/v1.5//write_protocols/line_protocol_tutorial/#timestamp
removing the timestamp= part will make influxdb give the data a timestamp.
However, if you are sending data into the database with your script - If you leave the time stamp out completely and the data will be given a time stamp from the database server.
Also, if you start inserting your own time stamps you run the risk of high series cardinlity and ultimately performance issues.
I don't have sufficient rep to comment and ask questions so there is a chance this might be deleted but if i knew what type of script (powershell/bash/some other) i could offer more.
However if you are running a bash or powershell script you can also use the Telegraf agent (part of the Influx stack) with a built in ping test. If you want a more custom ping test you could write your script in bash or powershell and then use the EXEC plugin to run the script and get the information.
Still though, the fact is that if you ommit the timestamp then Influx will add one when the data is written. If that is the only requirement for the time stamp then i'd drop it from the script completely.
EXEC PLUGIN
this link is for a powershell script that will send data into the database.
Hope that helps, i had a horrible time trying to get powershell to send data to influx. The exec plugin isn't well documented.
Also, if you haven't already i would recommend updating to influxDB 1.4/1.5 - New features involving the way memory is handled by Influx (plus a lot more).
Regards
Phil
Edit: also I don't think the time stamp value is valid. You're
Gonna need to escape the none numerical parts.
https://docs.influxdata.com/influxdb/v1.5/write_protocols/line_protocol_reference/#quoting-special-characters-and-additional-naming-guidelines
Sorry if the link isn't formatted I'm posting from my phone I can't work out how to post it correctly.