Closed poorredneck closed 6 years ago
Environment variables in ~/.profile
will need to be exported:
export COLLECT_INFLUXDB_HOSTNAME="localhost"
export COLLECT_INFLUXDB_USER="someuser"
export COLLECT_INFLUXDB_PASS="somepass"
export COLLECT_MULTIPLIER="10"
export RTLAMR_MSGTYPE="idm"
export RTLAMR_FORMAT="json"
You also don't need semi-colon's at the end of each line.
Awesome thank you!!!!
I know this isn't a specific issue but I'm out of ideas. I have edited ~/.profile and added the variables, rebooted but I still get the error:
My ~/.profile contains this:
I execute from the terminal this command:
rtlamr -format=json -msgtype=idm | rtlamr-collect
I should add that all parts of rtlamr is working fine, I can | output to a log file, have a crontab running and manually processing/parsing the .csv files just to "get it running" and have proof that I can get this far.
Ultimately the beautiful grafana and Cronografs are what I'm after. I'm starting with Cronograf & InfluxDB. I have Cronograf and InfluxDB all working, the rtlamr database was created as outlined in the readme. I'm just having a stupid issue with the environment variables (I am still a linux newbie). I can curl the influxdb and get responses so the database is working/reachable.
Any assistance is greatly appreciated, and many many thanks for these excellent utilities!