# General Settings # ---------------------- PIALERT_PATH = '/home/iberpotash/pialert' DB_PATH = PIALERT_PATH + '/db/pialert.db' LOG_PATH = PIALERT_PATH + '/log' PRINT_LOG = False VENDORS_DB = '/usr/share/arp-scan/ieee-oui.txt' PIALERT_APIKEY = '' PIALERT_WEB_PROTECTION = False PIALERT_WEB_PASSWORD = '8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92' NETWORK_DNS_SERVER = 'localhost' AUTO_UPDATE_CHECK = False AUTO_DB_BACKUP = False AUTO_DB_BACKUP_KEEP = 5 REPORT_NEW_CONTINUOUS = False NEW_DEVICE_PRESET_EVENTS = True NEW_DEVICE_PRESET_DOWN = False # Other Modules # ---------------------- SCAN_WEBSERVICES = True ICMPSCAN_ACTIVE = True SATELLITES_ACTIVE = False # Special Protocol Scanning # ---------------------- SCAN_ROGUE_DHCP = False DHCP_SERVER_ADDRESS = '0.0.0.0' # Custom Cronjobs # ---------------------- # The shortest interval is 3 minutes. All larger intervals must be integer multiples of 3 minutes. AUTO_UPDATE_CHECK_CRON = '0 3,9,15,21 * * *' AUTO_DB_BACKUP_CRON = '0 3 */2 * *' REPORT_NEW_CONTINUOUS_CRON = '0 * * * *' SPEEDTEST_TASK_CRON = '00 7,22 * * *' # Mail-Account Settings # ---------------------- SMTP_SERVER = 'smtp.gmail.com' SMTP_PORT = 587 SMTP_USER = 'user@gmail.com' SMTP_PASS = 'password' SMTP_SKIP_TLS = False SMTP_SKIP_LOGIN = False # WebGUI Reporting # ---------------------- REPORT_WEBGUI = True REPORT_WEBGUI_WEBMON = True # Mail Reporting # ---------------------- REPORT_MAIL = False REPORT_MAIL_WEBMON = False REPORT_FROM = 'Pi.Alert <' + SMTP_USER + '>' REPORT_TO = 'user@gmail.com' REPORT_DEVICE_URL = 'http://pi.alert/deviceDetails.php?mac=' REPORT_DASHBOARD_URL = 'http://pi.alert/' # Pushsafer # ---------------------- REPORT_PUSHSAFER = False REPORT_PUSHSAFER_WEBMON = False PUSHSAFER_TOKEN = 'ApiKey' PUSHSAFER_DEVICE = 'a' PUSHSAFER_PRIO = 0 PUSHSAFER_SOUND = 22 # Pushover # ---------------------- REPORT_PUSHOVER = False REPORT_PUSHOVER_WEBMON = False PUSHOVER_TOKEN = '' PUSHOVER_USER = '' PUSHOVER_PRIO = 0 PUSHOVER_SOUND = 'siren' # NTFY #--------------------------- REPORT_NTFY = False REPORT_NTFY_WEBMON = False NTFY_HOST = 'https://ntfy.sh' NTFY_TOPIC = 'replace_my_secure_topicname_91h889f28' NTFY_USER = 'user' NTFY_PASSWORD = 'password' NTFY_PRIORITY = 'default' NTFY_CLICKABLE = True # Shoutrrr # ---------------------- SHOUTRRR_BINARY = 'armhf' # SHOUTRRR_BINARY = 'armhf' # SHOUTRRR_BINARY = 'arm64' # SHOUTRRR_BINARY = 'x86' # Telegram via Shoutrrr # ---------------------- REPORT_TELEGRAM = False REPORT_TELEGRAM_WEBMON = False TELEGRAM_BOT_TOKEN_URL = '/shoutrrr generate telegram>' # DynDNS and IP # ---------------------- QUERY_MYIP_SERVER = 'https://myipv4.p1.opendns.com/get_my_ip' DDNS_ACTIVE = False DDNS_DOMAIN = 'your_domain.freeddns.org' DDNS_USER = 'dynu_user' DDNS_PASSWORD = 'A0000000B0000000C0000000D0000000' DDNS_UPDATE_URL = 'https://api.dynu.com/nic/update?' # Automatic Speedtest # ---------------------- SPEEDTEST_TASK_ACTIVE = False # Arp-scan Options & Samples # ---------------------- ARPSCAN_ACTIVE = True MAC_IGNORE_LIST = [] IP_IGNORE_LIST = [] SCAN_SUBNETS = '--localnet' # SCAN_SUBNETS = '--localnet' # SCAN_SUBNETS = '--localnet --interface=eth0' # SCAN_SUBNETS = ['192.168.1.0/24 --interface=eth0','192.168.2.0/24 --interface=eth1'] # ICMP Monitoring Options # ---------------------- ICMP_ONLINE_TEST = 1 ICMP_GET_AVG_RTT = 2 # Pi-hole Configuration # ---------------------- PIHOLE_ACTIVE = False PIHOLE_VERSION = 5 PIHOLE_DB = '/etc/pihole/pihole-FTL.db' PIHOLE6_URL = '' PIHOLE6_PASSWORD = '' DHCP_ACTIVE = False DHCP_LEASES = '/etc/pihole/dhcp.leases' # Fritzbox Configuration # ---------------------- FRITZBOX_ACTIVE = False FRITZBOX_IP = '192.168.17.1' FRITZBOX_USER = 'user' FRITZBOX_PASS = 'password' # Mikrotik Configuration # ---------------------- MIKROTIK_ACTIVE = False MIKROTIK_IP = '10.0.0.1' MIKROTIK_USER = 'user' MIKROTIK_PASS = 'password' # UniFi Configuration # ------------------- UNIFI_ACTIVE = False UNIFI_IP = '10.0.0.2' UNIFI_API = 'v5' UNIFI_USER = 'user' UNIFI_PASS = 'password' # Possible UNIFI APIs are v4, v5, unifiOS, UDMP-unifiOS, default # Satellite Configuration # ----------------------- SATELLITE_PROXY_MODE = False SATELLITE_PROXY_URL = '' # Maintenance Tasks Cron # ---------------------- DAYS_TO_KEEP_ONLINEHISTORY = 60 DAYS_TO_KEEP_EVENTS = 180