Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email notification for new devices #217

Open
Viking-1 opened this issue Feb 25, 2023 · 1 comment
Open

Email notification for new devices #217

Viking-1 opened this issue Feb 25, 2023 · 1 comment

Comments

@Viking-1
Copy link

Is it possible to set up an email notification for new devices?
Pi.Alert found a few ones, but no notification was sent.
The SMTP-Server is configured as below:

PIALERT_PATH      = '/root/pialert'
DB_PATH           = PIALERT_PATH + '/db/pialert.db'
LOG_PATH          = PIALERT_PATH + '/log'
VENDORS_DB        = '/usr/share/arp-scan/ieee-oui.txt'
PRINT_LOG         = False

SMTP_SERVER       = 'myserver'
SMTP_PORT         = 465
SMTP_USER         = 'myuser'
SMTP_PASS         = 'mypassword'

REPORT_MAIL       = True
REPORT_FROM       = 'PiAlert'
REPORT_TO         = 'mymail'
REPORT_DEVICE_URL = 'http://pi.alert/deviceDetails.php?mac='

# QUERY_MYIP_SERVER = 'https://diagnostic.opendns.com/myip'
QUERY_MYIP_SERVER = 'http://ipv4.icanhazip.com'
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?'

PIHOLE_ACTIVE     = False
PIHOLE_DB         = '/etc/pihole/pihole-FTL.db'
DHCP_ACTIVE       = False
DHCP_LEASES       = '/etc/pihole/dhcp.leases'

# arp-scan options & samples
#
# Scan local network (default)
# SCAN_SUBNETS    = '--localnet'
#
# Scan two subnets
# SCAN_SUBNETS    = '192.168.11.0/24 192.168.144.0/24'
#
# Scan using interface eth0
# SCAN_SUBNETS    = '--localnet --interface=eth0'

SCAN_SUBNETS      = '--localnet'

@jokob-sk
Copy link

I assume you are using my fork. Please check this thread for details: https://github.com/jokob-sk/Pi.Alert/issues/163

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants