Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ################################################################################################ Mandatory Settings #
- # The latitude, longitude and elevation of your antenna.
- ANTENNA_LATITUDE='53.27726'
- ANTENNA_LONGITUDE='16.48626'
- # Elevation defaults to meters, but units may specified with a 'ft' or 'm' suffix.
- ANTENNA_ELEVATION='121'
- # Create a unique name for this feeder using ONLY the follow characters:
- # abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-
- RECEIVER_NAME='MDA-11b'
- ################################################################################################ Automatic Reboots #
- # To enable automatic reboots uncomment MAINTENANCE_TIMERS and REBOOT_PI_WHEN.
- #MAINTENANCE_TIMERS='sb_reboot.timer'
- # This can be daily, weekly, monthly and yearly.
- #REBOOT_PI_WHEN='daily'
- ################################################################################################ Dump1090 #
- # Choose rtlsdr or modesbeast.
- DUMP1090_DEVICE_TYPE='rtlsdr'
- # Change 0.0.0.0 to 127.0.0.1 for increased LAN privacy.
- DUMP1090_BIND_ADDRESS='0.0.0.0'
- # Max range in NM (nautical miles).
- DUMP1090_MAX_RANGE='600'
- # Use sb_gain1090 to find the best gain for your setup or set here.
- DUMP1090_SDR_GAIN='43.9'
- # Uncomment to adjust the ppm if needed. rtlsdr ONLY!
- DUMP1090_SDR_PPM='--ppm 30'
- ################################################################################################ Dump1090 Map #
- # (1/2) Enable or disable distance circles. (true|false)
- DUMP1090_MAP_SITE_CIRCLES='true'
- # (2/2) The distance in NM (nautical miles) between each circle.
- #DUMP1090_MAP_SITE_CIRCLES_DISTANCE='1,200'
- DUMP1090_MAP_SITE_CIRCLES_DISTANCE='50,100,150,200,250'
- # Uncomment then run 'sudo sb_upintheair' to enable upintheair.json. See sb_help for more details.
- DUMP1090_MAP_UPINTHEAIR_ID='BXC6VUPX'
- ################################################################################################ Dump1090 Feeder #
- # Feed dump1090 data to sky.bup.mx. (my test server)
- DUMP1090_FEED_SERVER_TEST='sky.bup.mx:30004'
- # Feed dump1090 data to the Adsbexchange.
- DUMP1090_FEED_SERVER='feed.adsbexchange.com:30005'
- # Extra options to pass the mlat-client at start. Example, MLAT_OPTIONS_EXTRA='--privacy'
- MLAT_OPTIONS_EXTRA=''
- ################################################################################################ Data Collection#
- # Choose 60, 30, 15 or 10
- #DATA_COLLECTION_INTERVAL_SECONDS='30'
- ######## STOP, NO, DONT! ######## CHANGE NOTHING BELOW! ########
- ################################################################################################ System Config #
- UPDATE_SYSTEM_CONFIGS_JOURNALD='true'
- UPDATE_SYSTEM_CONFIGS_SYSTEM='true'
- UPDATE_SYSTEM_CONFIGS_TIMESYNCD='true'
- ################################################################################################ Service #
- COLLECTOR_SERVICE_STATUS_EXTRAS='ssh.service systemd-timesyncd.service systemd-journald.service rsyslog.service'
- #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'
- DATA_SERVICES='prometheus.service node_exporter.service grafana-server.service'
- DATA_TIMERS='latency-collector.timer rpi-collector.timer service-status-collector.timer'
- DUMP1090_SERVICES='dump1090.service dump1090-feeder-adsbx.service dump1090-feeder-bup.service mlat-client.service dump1090-exporter.service dump1090-lighttpd.service'
- DUMP1090_TIMERS='dump1090-collector.timer lighttpd-restart.timer dongle-watcher.timer sb_motd.timer'
- 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'
- ALL_LOG_SERVICES="${DUMP1090_SERVICES} ${DUMP1090_TIMERS} ${DATA_SERVICES} ${DATA_TIMERS} ${MAINTENANCE_TIMERS} ${TIMER_SERVICES}"
- ALL_SERVICES="${DUMP1090_SERVICES} ${DUMP1090_TIMERS} ${DATA_SERVICES} ${DATA_TIMERS} ${MAINTENANCE_TIMERS}"
- ################################################################################################ Application Startup #
- COLLECTOR_TEXTFILE_DIRECTORY='/run/node_exporter'
- DUMP1090_OPTIONS="--fix --mlat --quiet"
- DUMP1090_OPTIONS_JSON="--json-location-accuracy 2 --write-json /run/dump1090"
- 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"
- MLAT_OPTIONS_INPUT="--input-type dump1090 --input-connect 127.0.0.1:30005"
- MLAT_OPTIONS_SERVER="--server feed.adsbexchange.com:31090 --no-udp"
- MLAT_OPTIONS_RESULTS="--results beast,connect,127.0.0.1:30104 --results beast,connect,4.sky.bup.mx:30104"
- PROMETHEUS_OPTIONS="--log.level=info --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/var/lib/prometheus --storage.tsdb.retention.time=365d"
- 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"
- NODE_EXPORTER_OPTIONS='--log.level=info --web.listen-address=0.0.0.0:9100 --collector.textfile.directory=/run/node_exporter --collector.wifi'
- GRAFANA_OPTIONS="--config=/etc/grafana/grafana.ini --pidfile=/run/grafana/grafana-server.pid --packaging=deb"
- 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"
- GAIN1090_OPTIONS="--device-type ${DUMP1090_DEVICE_TYPE} ${DUMP1090_SDR_PPM} --fix --quiet --stats"
- ################################################################################################ Version
- CONFIG_VERSION=''
- SKYBUP_VERSION='201908221312'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement