Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.94 KB | None | 0 0
  1. ################################################################################################ Mandatory Settings #
  2. # The latitude, longitude and elevation of your antenna.
  3. ANTENNA_LATITUDE='53.27726'
  4. ANTENNA_LONGITUDE='16.48626'
  5. # Elevation defaults to meters, but units may specified with a 'ft' or 'm' suffix.
  6. ANTENNA_ELEVATION='121'
  7. # Create a unique name for this feeder using ONLY the follow characters:
  8. # abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-
  9. RECEIVER_NAME='MDA-11b'
  10.  
  11. ################################################################################################ Automatic Reboots #
  12. # To enable automatic reboots uncomment MAINTENANCE_TIMERS and REBOOT_PI_WHEN.
  13. #MAINTENANCE_TIMERS='sb_reboot.timer'
  14. # This can be daily, weekly, monthly and yearly.
  15. #REBOOT_PI_WHEN='daily'
  16.  
  17. ################################################################################################ Dump1090 #
  18. # Choose rtlsdr or modesbeast.
  19. DUMP1090_DEVICE_TYPE='rtlsdr'
  20. # Change 0.0.0.0 to 127.0.0.1 for increased LAN privacy.
  21. DUMP1090_BIND_ADDRESS='0.0.0.0'
  22. # Max range in NM (nautical miles).
  23. DUMP1090_MAX_RANGE='600'
  24. # Use sb_gain1090 to find the best gain for your setup or set here.
  25. DUMP1090_SDR_GAIN='43.9'
  26. # Uncomment to adjust the ppm if needed. rtlsdr ONLY!
  27. DUMP1090_SDR_PPM='--ppm 30'
  28.  
  29. ################################################################################################ Dump1090 Map #
  30. # (1/2) Enable or disable distance circles. (true|false)
  31. DUMP1090_MAP_SITE_CIRCLES='true'
  32. # (2/2) The distance in NM (nautical miles) between each circle.
  33. #DUMP1090_MAP_SITE_CIRCLES_DISTANCE='1,200'
  34. DUMP1090_MAP_SITE_CIRCLES_DISTANCE='50,100,150,200,250'
  35. # Uncomment then run 'sudo sb_upintheair' to enable upintheair.json. See sb_help for more details.
  36. DUMP1090_MAP_UPINTHEAIR_ID='BXC6VUPX'
  37.  
  38. ################################################################################################ Dump1090 Feeder #
  39. # Feed dump1090 data to sky.bup.mx. (my test server)
  40. DUMP1090_FEED_SERVER_TEST='sky.bup.mx:30004'
  41. # Feed dump1090 data to the Adsbexchange.
  42. DUMP1090_FEED_SERVER='feed.adsbexchange.com:30005'
  43. # Extra options to pass the mlat-client at start. Example, MLAT_OPTIONS_EXTRA='--privacy'
  44. MLAT_OPTIONS_EXTRA=''
  45.  
  46. ################################################################################################ Data Collection#
  47. # Choose 60, 30, 15 or 10
  48. #DATA_COLLECTION_INTERVAL_SECONDS='30'
  49.  
  50. ######## STOP, NO, DONT! ######## CHANGE NOTHING BELOW! ########
  51. ################################################################################################ System Config #
  52. UPDATE_SYSTEM_CONFIGS_JOURNALD='true'
  53. UPDATE_SYSTEM_CONFIGS_SYSTEM='true'
  54. UPDATE_SYSTEM_CONFIGS_TIMESYNCD='true'
  55. ################################################################################################ Service #
  56. COLLECTOR_SERVICE_STATUS_EXTRAS='ssh.service systemd-timesyncd.service systemd-journald.service rsyslog.service'
  57. #COLLECTOR_SERVICE_STATUS_EXTRAS='dbus.service dhcpcd.service rsyslog.service ssh.service systemd-logind.service systemd-journald.service systemd-timesyncd.service systemd-udevd.service wpa_supplicant.service'
  58. DATA_SERVICES='prometheus.service node_exporter.service grafana-server.service'
  59. DATA_TIMERS='latency-collector.timer rpi-collector.timer service-status-collector.timer'
  60. DUMP1090_SERVICES='dump1090.service dump1090-feeder-adsbx.service dump1090-feeder-bup.service mlat-client.service dump1090-exporter.service dump1090-lighttpd.service'
  61. DUMP1090_TIMERS='dump1090-collector.timer lighttpd-restart.timer dongle-watcher.timer sb_motd.timer'
  62. TIMER_SERVICES='dongle-watcher.service dump1090-collector.service latency-collector.service lighttpd-restart.service rpi-collector.service sb_motd.service sb_reboot.service service-status-collector.service'
  63. ALL_LOG_SERVICES="${DUMP1090_SERVICES} ${DUMP1090_TIMERS} ${DATA_SERVICES} ${DATA_TIMERS} ${MAINTENANCE_TIMERS} ${TIMER_SERVICES}"
  64. ALL_SERVICES="${DUMP1090_SERVICES} ${DUMP1090_TIMERS} ${DATA_SERVICES} ${DATA_TIMERS} ${MAINTENANCE_TIMERS}"
  65. ################################################################################################ Application Startup #
  66. COLLECTOR_TEXTFILE_DIRECTORY='/run/node_exporter'
  67. DUMP1090_OPTIONS="--fix --mlat --quiet"
  68. DUMP1090_OPTIONS_JSON="--json-location-accuracy 2 --write-json /run/dump1090"
  69. DUMP1090_OPTIONS_NETWORK="--net --net-heartbeat 60 --net-ro-size 1000 --net-ro-interval 1 --net-ri-port 0 --net-ro-port 30002 --net-sbs-port 30003 --net-bi-port 30004,30104 --net-bo-port 30005"
  70. MLAT_OPTIONS_INPUT="--input-type dump1090 --input-connect 127.0.0.1:30005"
  71. MLAT_OPTIONS_SERVER="--server feed.adsbexchange.com:31090 --no-udp"
  72. MLAT_OPTIONS_RESULTS="--results beast,connect,127.0.0.1:30104 --results beast,connect,4.sky.bup.mx:30104"
  73. PROMETHEUS_OPTIONS="--log.level=info --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/var/lib/prometheus --storage.tsdb.retention.time=365d"
  74. PROMETHEUS_OPTIONS_WEB="--web.console.templates=/etc/prometheus/consoles --web.console.libraries=/etc/prometheus/console_libraries --web.enable-lifecycle --web.listen-address=0.0.0.0:9090"
  75. NODE_EXPORTER_OPTIONS='--log.level=info --web.listen-address=0.0.0.0:9100 --collector.textfile.directory=/run/node_exporter --collector.wifi'
  76. GRAFANA_OPTIONS="--config=/etc/grafana/grafana.ini --pidfile=/run/grafana/grafana-server.pid --packaging=deb"
  77. GRAFANA_OPTIONS_CFG="cfg:default.log.console.level=info cfg:default.log.mode=console cfg:default.paths.data=/var/lib/grafana cfg:default.paths.plugins=/var/lib/grafana/plugins cfg:default.paths.provisioning=/etc/grafana/provisioning"
  78. GAIN1090_OPTIONS="--device-type ${DUMP1090_DEVICE_TYPE} ${DUMP1090_SDR_PPM} --fix --quiet --stats"
  79. ################################################################################################ Version
  80. CONFIG_VERSION=''
  81. SKYBUP_VERSION='201908221312'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement