node script to log system info to influxdb