Skip to content

Commit

Permalink
removed dev string
Browse files Browse the repository at this point in the history
  • Loading branch information
geek-at committed May 5, 2016
1 parent c293503 commit 8dc36d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyze.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ function sanatizeStringForInflux($string)

function sendToInflux($data,$time)
{
echo "[+] Sending to "."udp://".INFLUX_HOST.":".INFLUX_HOST_UDP_PORT.': '.INFLUX_HOST_MEASUREMENT.','.$data.' '.$time."\n"; //return;
//echo "[+] Sending to "."udp://".INFLUX_HOST.":".INFLUX_HOST_UDP_PORT.': '.INFLUX_HOST_MEASUREMENT.','.$data.' '.$time."\n"; //return;
$socket = stream_socket_client("udp://".INFLUX_HOST.":".INFLUX_HOST_UDP_PORT);
stream_socket_sendto($socket, INFLUX_HOST_MEASUREMENT.','.$data.' '.$time);
stream_socket_shutdown($socket, STREAM_SHUT_RDWR);
Expand Down

0 comments on commit 8dc36d9

Please sign in to comment.