Giter VIP home page Giter VIP logo

leiweibau / pi.alert Goto Github PK

View Code? Open in Web Editor NEW
303.0 303.0 22.0 707.36 MB

Scan the devices connected to your WIFI / LAN and alert you the connection of unknown devices. It also warns if a "always connected" device disconnects. In addition, it is possible to check web services for availability. For this purpose HTTP status codes and the response time of the service are evaluated.

Home Page: https://leiweibau.net

License: GNU General Public License v3.0

Shell 3.88% JavaScript 18.36% Python 8.74% PHP 57.45% CSS 9.95% Hack 0.11% HTML 1.51%
arp-scan network-security pi-hole pialert security self-hosted

pi.alert's Introduction

Hi there 👋

At the moment I dedicate parts of my free time to improve Pi.Alert

pi.alert's People

Contributors

absoblogginlutely avatar derekpurdy avatar leiweibau avatar malenurse avatar pucherot avatar pyrrolizin avatar samjakbal avatar striffly avatar terorero avatar tteck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pi.alert's Issues

Speedtest-cli not working.

Under Internet the speedtest button not working. Verified speedtest-cli is in the /pialert/back directory.

[FAQ] arp-scan needs sudo privledges

When a non-standard user is used, e.g. piadmin then the arp-scan fails in the cronjob

A file needs to be created /etc/sudoers.d/pialert-arpscan

piadmin ALL=(ALL) NOPASSWD: /usr/sbin/arp-scan

Maybe you can add that file for the user that is running pialert during install?

en_en.php

Some german words in the english version of the faq page.

Multiple VLANs and DHCP Servers

We have different VLANs. I each of them a Pi-Hole is placed.

It would be nice to merge the DHCP Leases from Pi-Hole and the possibility to work with multiple VLANs and Network ranges, maybe a Pi-Alert Satellite is a great Idea.

[FAQ] Make Pi.Alert useable in offline Networks

Hi my friend
I have an issue, when I m configure "mode offline" on Pialert to scan a network without internet, when i try to modify any device, i cant,

the logs shows:

Pi.Alert 3.7.9 (2022-10-28)

Scan Devices
ScanCycle: 1
Timestamp: 2022-12-21 17:45:00

Scanning...
arp-scan Method...
Pi-hole Method...
Traceback (most recent call last):
File "/root/pialert/back/pialert.py", line 1776, in
sys.exit(main())
File "/root/pialert/back/pialert.py", line 97, in main
res = scan_network()
File "/root/pialert/back/pialert.py", line 456, in scan_network
copy_pihole_network()
File "/root/pialert/back/pialert.py", line 604, in copy_pihole_network
sql.execute ("DELETE FROM PiHole_Network")
sqlite3.OperationalError: database is locked
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@>

that database is locked, has any idea to do for unlock DB?

Validation in maintenance.php don´t work

Dear leiweibau,

first, thank you for your work of this addon of pialert.

Now i found possible a bug in the maintenance.php. At my installation this site show no content after the header. After debugging i found that the if statement from the skin- and languageselector is not working.

This solves the Problem:
//if (submit && isset($_POST['skinselector_set'])) {
if (isset($_POST['skinselector_set']) && isset($_POST['skinselector'])) {

and:

//if (submit && isset($_POST['langselector_set']) {
if (isset($_POST['langselector_set']) && isset($_POST['langselector'])) {

And in the es_es.php language file there are some unfilled variables:

$pia_lang['Maintenance_Github_package_b'] ='';
$pia_lang['Maintenance_Tool_loginenable'] ='';
$pia_lang['Maintenance_Tool_loginenable_text'] ='';
$pia_lang['Maintenance_Tool_loginenable_noti'] ='';
$pia_lang['Maintenance_Tool_loginenable_noti_text'] ='';
$pia_lang['Maintenance_Tool_logindisable'] ='';
$pia_lang['Maintenance_Tool_logindisable_text'] ='';
$pia_lang['Maintenance_Tool_logindisable_noti'] ='';
$pia_lang['Maintenance_Tool_logindisable_noti_text'] ='';

Thank you for your work!!

Scan on 3 phisical interfaces

Hello man how are you?,

I m very interested in pi.alert, currently I have it installed in a container with a physical interface in proxmox and it works great, but I would like to add 3 more interfaces, will it be possible to scan that entirety?

According to the documentation, you would have to make changes to back\pialert.py by commenting and uncommenting some lines. I have tried to do it with a single additional interface and when making the modification in the Back I have not been able to make it work. which may be the issue?

Regards

update impossible

Hello!
Sorry, but I'm not an expert on RPI, but I tried to update mt Pi Alert and I'm getting this error:
"chmod: changing permissions of '/home/pi/pialert/db/setting_darkmode': Operation not permitted"
Thanks

pi@Pi-hole:~ $ curl -sSL https://github.com/leiweibau/Pi.Alert/raw/main/install/pialert_update.sh | bash

############################################################
 Pi.Alert Update
############################################################
Wed 21 Dec 07:38:21 CET 2022
Logfile: pialert_update_2022-12-21_07-38.log

- Checking Python...
- Creating new Pi.Alert backup...
.....................................................................................................
- Cleaning previous version...
- Checking package apt-utils...
- Checking package sqlite3...
- Checking packages dnsutils & net-tools...
- Downloading update file...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 95.5M  100 95.5M    0     0  9371k      0  0:00:10  0:00:10 --:--:-- 18.1M

- Uncompressing tar file
.................................................................................................
- Deleting downloaded tar file...
- Config backup...
- Updating config file...
- Updating DB permissions...
chmod: changing permissions of '/home/pi/pialert/db/setting_darkmode': Operation not permitted
chmod: changing permissions of '/home/pi/pialert/db/pialertdb_20221213_105159.zip': Operation not permitted
chmod: changing permissions of '/home/pi/pialert/db/pialertdb_20221213_103841.zip': Operation not permitted

Unable to upgrade

Sorry, I'm back here with almost the same problem :)

This is what I have when I want to upgrade from Dec 18, 2022 to Dec 25, 2022 version.

pi@Pi-hole:~ $ curl -sSL https://github.com/leiweibau/Pi.Alert/raw/main/install/pialert_update.sh | bash

############################################################
 Pi.Alert Update
############################################################
Tue  3 Jan 13:31:00 CET 2023
Logfile: pialert_update_2023-01-03_13-31.log

- Checking Python...
- Creating new Pi.Alert backup...
......tar: pialert/db/pialertdb_20221213_105159.zip: Cannot open: Permission denied
tar: pialert/db/pialertdb_20221221_081332.zip: Cannot open: Permission denied
...................................................................................................tar: Exiting with failure status due to previous errors
pi@Pi-hole:~ $

graph misleading

I have 16 Devices, 1 Archived with 14 connected but the graph shows online/offline/
pialert
archived 27/-10/0 or 28/-11/0 throughout the day?

Unmet dependencies on Ubuntu 22.04 LTS

Running this on an Ubuntu 22.04 LTS minimal server required me to install cron and whiptail PRIOR to running the install script.

Once they were installed the script ran through and installed PiAlert just fine, minus PiHole which I didn't need to install.

Might want to think about adding checks for the presence of cron and whiptail at the beginning and installing them if not found.

Q: Is it possible to add this to an exising PiHole

This looks like an awesome project! Just wanted to check if I could run the install script on an existing PiHole running on a RPI3 without losing my current config (DNS, DHCP etc). Or is there a better way to do this?

No Scan and Install error

Can only get the WAN nothing else.
It looks like on module is missing
I'm getting this error: /pialert/back/pialert.py", line 30, in import requests
In the following logs: pialert.1 and pialert.IP and pialert_install

Pi.Alert status info faded

Hello,
I'd like to ask about status info (left top corner). After update it seems grayed out ...see picture.
image
Could you please help me to be not grayed out?

404 Not Found when trying to access pi alert

I just installed pi alert on my raspberry pi zero 2 w, alongside pi-hole. The installation was successful, but when I try to access the dashboard I simply get a 404 error.
image

Any solutions?

Some installation observations

Posting here as well after I seem to have been chasing the wrong repo.

After my first issue https://github.com/jokob-sk/Pi.Alert/issues/56 was resolved by manually adding a db file I ran into another issue right away when when trying to change some details of a device. The UI reported that the DB is read only. After playing around with groups and user rights for a while I gave up on Docker and went for a native install on my PiHole (DietPi OS)

First observation, the detailed installation link points to the wrong package: curl -LO https://github.com/leiweibau/Pi.Alert/Pi.Alert/raw/main/tar/pialert_latest.tar Pucherot, insteat of leiweibau.
I didn't notice and it did install nevertheless but I obviously got the version without your new maintenance screen. This version also showed the "DB is read only error"?

After I noticed that I got the wrong link I started all over with the links from your main page https://github.com/jokob-sk/Pi.Alert
Given that I am already running PiHole I went with the second link which worked, answered all the questions but then the installation stopped with

…
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.lastuseddate#PS'

- Deleting downloaded tar file...
- Settting Pi.Alert config file
sed: can't read /home/thomas/pialert/config/pialert.conf: No such file or directory
…

The error is correct because somehow the installer didn't install the directories in /home/thomas/pialert but in ~ (/home/thomas)
I tried to launch a second time from within a manually created ~/pialert folder which didn't work because the folder was already there.

So I moved all folders manually to ~/pialert and updated the pialert directory in the config file manualy followed by running one of the cron commands:
python3 ~/pialert/back/pialert.py 1
This time it was complaining about a table "Online_History"

sqlite3.OperationalError: table Online_History has no column named Archived_Devices
So I went ahead and moved the template DB I used yesterday over the newly created database, but this one doesn't seem to have the table Online_History at all?

python3 ~/pialert/back/pialert.py 1
sqlite3.OperationalError: no such table: Online_History

I then discovered the pialert_patch_DB.sh script which adds the missing table, but after running that one I am stuck with
sqlite3.OperationalError: table Online_History has no column named ScanCycle

Here's a screenshot of the "DB read only" error I got on the Docker install as well as now on my PiHole:

image

There's another DB related issue when trying to create a backup (both on Docker and PiHole), after confirming that I am sure I want to create a backup I get the following error(?)
image

Lastly, I read somewhere that using 'SCAN_SUBNETS = '--localnet --interface=eth0' speeds up operation of the arp scan. Seems like this is not working though.
When I use the interface option I run into a Python error.
Section 1 below shows the active setting, section 2 the error an section 3 a manual run of arp-scan with the interface option.

thomas in pihole in ~ took 2s
% cat pialert/config/pialert.conf | grep SCAN_SUBNETS
# SCAN_SUBNETS    = '--localnet'
# SCAN_SUBNETS    = '192.168.11.0/24 192.168.144.0/24'
SCAN_SUBNETS    = '--localnet --interface=eth0'
#SCAN_SUBNETS      = '--localnet'

% python3 ~/pialert/back/pialert.py 1

Pi.Alert 3.5_leiweibau (2022-07-07)
---------------------------------------------------------
Scan Devices
    ScanCycle: 1
    Timestamp: 2022-08-01 15:59:00

Scanning...
    arp-scan Method...
arp-scan: unrecognized option '--localnet --interface=eth0'
Traceback (most recent call last):
  File "/home/thomas/pialert/back/pialert.py", line 1576, in <module>
    sys.exit(main())       
  File "/home/thomas/pialert/back/pialert.py", line 88, in main
    res = scan_network()
  File "/home/thomas/pialert/back/pialert.py", line 366, in scan_network
    arpscan_devices = execute_arpscan (arpscan_retries)
  File "/home/thomas/pialert/back/pialert.py", line 474, in execute_arpscan
    arpscan_output = subprocess.check_output (arpscan_args, universal_newlines=True)
  File "/usr/lib/python3.9/subprocess.py", line 424, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['sudo', 'arp-scan', '--ignoredups', '--bandwidth=512k', '--retry=3', '--localnet --interface=eth0']' returned non-zero exit status 1.

thomas in pihole in ~
1 % sudo arp-scan --localnet --interface=eth0
Interface: eth0, type: EN10MB, MAC: dc:a6:32:42:99:ca, IPv4: 175.0.0.5
Starting arp-scan 1.9.7 with 256 hosts (https://github.com/royhills/arp-scan)
175.0.0.1       2c:91:ab:97:98:e4       (Unknown)
…
18 packets received by filter, 0 packets dropped by kernel
Ending arp-scan 1.9.7: 256 hosts scanned in 2.242 seconds (114.18 hosts/sec). 17 responded

[Feature Request] Configurable columns for device list

I would love to have the possibility to change add or remove columns of the device list. For example, I would like to have the column "Location" added to and the column "MAC" removed from the device list. Changing the order of columns would be nice too.

Possibility to block via iptables

Great Fork!

I am missing a possibility to block new IPs in the case that the IP is marked as new and pi alert is working as default router.

Currently, I am working with a short script and running via cron. Not optimal, but its working for me.

#Flush aller bestehenden Rules (nicht optimal aber läuft)
/usr/sbin/iptables -F

#Auslesen der NewDevices und schreiben in die die Datei newips
sqlite3 /home/pi/pialert/db/pialert.db "select dev_LastIP from Devices where dev_NewDevice like 1;" > /home/pi/pialert/db/newips

#Schleife für jede Zeile (IP; $a)
cat /home/pi/pialert/db/newips | while read a

do

#Erstellen der IPTables Regeln (nicht optimal aber läuft)
#Alternativ: Ansprechen der FW API

/usr/sbin/iptables --append FORWARD --protocol tcp --src $a --jump REJECT
/usr/sbin/iptables --append FORWARD --protocol udp --src $a --jump REJECT
done

Field "Letzte Sitzung" is not updated

The Field "Letzte Sitzung" Shows (sometimes) the initiated session - Not the session from the last scan.

It is not possible to Filter for "Last seen"

[Feature Request] Adding links to IP addresses in device list

I would love to have the possibility to click on the IP address of a device (or an icon in an additional column) in the device list and visit its website, for example for those where port 80 has been identified as active in a nmap scan. With this devices with a GUI will be highlighted and can easily accessed.

not sorting by "Last IP"

I think there is an issue with sorting by Last IP in Devices menu. All my IPs are somehow "shuffled" please see screenshot.
image
It appered in version 3.7.16 and still present in version 3.7.17

pi.alert/devices.php vs. pi.alert/pialert/devices.php

I'm running an up to date installation of PiAlert and pihole on a Raspberry Pi 4

the HTML header information returns Location: /pialert/...

but http://pi.alert/pialert/devices.php resuts in a 404

root@abyss:~# curl -v http://pi.alert/pialert/devices.php
*   Trying 192.168.2.17:80...
* Connected to pi.alert (192.168.2.17) port 80 (#0)
> GET /pialert/devices.php HTTP/1.1
> Host: pi.alert
> User-Agent: curl/7.74.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
< Content-Type: text/html
< Content-Length: 341
< Date: Fri, 30 Dec 2022 15:58:39 GMT
< Server: lighttpd/1.4.59
<
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
  <title>404 Not Found</title>
 </head>
 <body>
  <h1>404 Not Found</h1>
 </body>
</html>
* Connection #0 to host pi.alert left intact

to reach the proper UI i have to go to http://pi.alert/devices.php

root@abyss:~# curl -v http://pi.alert/devices.php
*   Trying 192.168.2.17:80...
* Connected to pi.alert (192.168.2.17) port 80 (#0)
> GET /devices.php HTTP/1.1
> Host: pi.alert
> User-Agent: curl/7.74.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 302 Found
< Set-Cookie: PHPSESSID=p4ehvjqat0vcm8pg7uh1opg70n; path=/
< Expires: Thu, 19 Nov 1981 08:52:00 GMT
< Cache-Control: no-store, no-cache, must-revalidate
< Pragma: no-cache
< Location: /pialert/index.php
< Content-type: text/html; charset=UTF-8
< Content-Length: 438
< Date: Fri, 30 Dec 2022 16:00:07 GMT
< Server: lighttpd/1.4.59
<
<!-- ---------------------------------------------------------------------------
#  Pi.Alert
#  Open Source Network Guard / WIFI & LAN intrusion detector
#
#  devices.php - Front module. Devices list page
#-------------------------------------------------------------------------------
#  Puche 2021        [email protected]        GNU GPLv3
#--------------------------------------------------------------------------- -->

* Connection #0 to host pi.alert left intact

accessing http://pi.alert return 0 Bytes with Location: /pialert/devices.php

root@abyss:~# curl -v http://pi.alert
*   Trying 192.168.2.17:80...
* Connected to pi.alert (192.168.2.17) port 80 (#0)
> GET / HTTP/1.1
> Host: pi.alert
> User-Agent: curl/7.74.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 302 Found
< Set-Cookie: PHPSESSID=e3rrro73ehvugf40s0nbjrphdc; path=/
< Expires: Thu, 19 Nov 1981 08:52:00 GMT
< Cache-Control: no-store, no-cache, must-revalidate
< Pragma: no-cache
< Location: /pialert/devices.php
< Content-type: text/html; charset=UTF-8
< Content-Length: 0
< Date: Fri, 30 Dec 2022 16:04:28 GMT
< Server: lighttpd/1.4.59
<
* Connection #0 to host pi.alert left intact

I may have made a mistake during installation, as I have installed PIAlert ontop of an existing pihole installation.

Pi.Alert doesn't send out alert email?

Can you please help why Pi.Alert doesn't send out alert email?

/home/pi/pialert/config/pialert.conf

# Mail-Account Settings

# ----------------------
SMTP_SERVER       = 'smtp.mail.yahoo.com'
SMTP_PORT         = 587
SMTP_USER         = '[email protected]'
SMTP_PASS         = '__________'
SMTP_SKIP_TLS	  = False
SMTP_SKIP_LOGIN	  = False

# Mail Reporting
# ----------------------
REPORT_MAIL       = True
REPORT_FROM       = 'Pi.Alert <' + SMTP_USER +'>'

/home/pi/pialert/log/pialert1.log

Pi.Alert 3.7.6_leiweibau (2022-10-14)
---------------------------------------------------------
Scan Devices
    ScanCycle: 1
    Timestamp: 2022-10-16 21:25:00

Scanning...
    arp-scan Method...
    Pi-hole Method...
    DHCP Leases Method...

Processing scan results...
    Devices Detected.......: 79
        arp-scan Method....: 73
        Pi-hole Method.....: +0
        New Devices........: 0

    Devices in this cycle..: 79
        Down Alerts........: 1
        New Down Alerts....: 1
        New Connections....: 0
        Disconnections.....: 4
        IP Changes.........: 0

Updating DB Info...
    Sessions Events (connect / discconnect) ...
    Creating new devices...
    Updating Devices Info...
        Trying to resolve devices without name.......................................................................................................................
        Names updated:   0
    Voiding false (ghost) disconnections...
    Pairing session events (connection / disconnection) ...
    Creating sessions snapshot...
    Skipping repeated notifications...
    Calculate Activity History...

Reporting...
    Formating report...
    No changes to report...
    Notifications: 0

DONE!!!

Thank you so much!

New Automated install - new crontab file is missing newline before EOF, can't install

Replacing original working pucherot version with this supported fork.

Automated install fails with message

  • Adding jobs to the crontab...
    new crontab file is missing newline before EOF, can't install.

Used automated un-install script prior to install and wiped crontab.

Environment
Debian 11 - Virtualbox guest.
Working Pi-hole install with dnscrypt-proxy

Many thanks

python requests dependency not installed

On Debian Bullseye (actually Armbian) requests is not installed by default

apt install python3-requests

fixed it - could this be added to install script? I could look at creating pull request.

install/pialert_cron does not respect individual install path

When installing Pi.Alert, an individual path can be chosen, which defaults to ~/pialert. The value is saved to the config/pialert.conf as PIALERT_PATH.

When installing the crontab, PIALERT_PATH is not evaluated, instead everything defaults to the default path of ~/pialert.

Cannot save the device after update

After updating pi.alert by running this script

curl -sSL https://github.com/leiweibau/Pi.Alert/raw/main/install/pialert_update.sh | bash

now pi.alert cannot save the device setting

"Error updating device"
"UPDATE Devices SET ...... "
"attempt to write a readonly database"

I try these but it still not letting me update device info

python ~/pialert/back/pialert.py update_vendors


sudo apt-get install pip
python3 -m pip install requests

Multisite and mysql

I love this utility and the tweaks made here. I'm thinking I could use this across all my sites if I had multisite support and MySQL.
I imagine an RPI at every site, all reporting home to a single DB. That would be cool !

Additional languages?

Of course, I can send the texts through a translator and then embed them. But since I want to do a reasonable job, I am dependent on support. Would perhaps one or the other be willing to check a roughly translated language file for errors and report back changes? If no one can be found, I will pause the idea further.

Interesting languages at the moment would be:
French, Italian, Czech, Polish

I would not have a fixed order.

Ubuntu Server 22.04 - Pialert does not show Pihole records

On my Ubuntu Server 22.04 instance, Pialert has successfully been installed and devices on the local VLAN shown via ARP scan, however devices shown in PiHole (which spans VLANs) running on the same machine do not show in Pialert.

I'm not sure if this is an issue with my installation or Pialert but a reinstall and update doesn't seem to solve it.

All files (e.g. Pihole-FTL.db) are where they should be.

Unable to SIGN OUT

Sorry, but I found another bug here.
When I click on the top/right PI-ALERT (SIGN OUT), it going back the the main menu (pialert/devices.php)
LOGIN is enable on the Maintenance menu.

Network Page configuration

I have a 5 port Router that I created on the Network Page. The Cable Modem (Internet) is connected to port 1 and I specified that in the Internet Device (Network Node) Router and (Connected to Port) 1. This populated Port 1 of the Routed. The other 4 Router Ports are connected to 4 (8 Port Switches) which I also created them on the Network Page. I configured each of the Device's (Network Node and Port) specifying the Router and Port they are connected to.

I cannot figure out how to configure the Router Device (Network Node and Port) to point to the 4 Switches so they get populated on the Switches on the Network Page. It only allows specifying 1 (Network Node and Port).

Another oddity: after selecting the (Network Node) from the list, the next time you look at the Device it just shows the Index Number, Not the Name.

I seems to me it would be better to be able to select the Port of the Router and/or Switch on the Network Page and get a list of Devices to select.

Or am I just missing something and not selecting something correctly?

Create HTTP Request to external API

An Option to access external APIs would be great.

Example: Pi Alert is detecting a new device: the Qualysguard Vulns Scanner can be triggered with a HTTP Curl request to scan the new device

Migrating from Pucherot loses device name info

Hi,

I am trying to move from the main branch to yours. I have my devices named, owned, etc on Puucherot but upgrading to yours causes no devices to show up. I also tried copying my pialert.db from his fork to yours but that doesnt work either. Is there a way to migrate from one fork to another?

Thank you,
Rich

Clicking on MAC address link in email results in '404 Not Found' Page

When I get the emails for P.Alert Report, I often click on the MAC address to get more info as its a link back into Pi.Alert. Since switching to this fork, I noticed that I get directed to a 404 Page. It seems the issue may be due to the URL using http://pi.alert and thus not being resolved to my rasp_pi running Pi.Alert.

Anyone run into this before and can help fix?

[idea] Switch, router and wifi visualization

I have implemented an idea to show at which port of a switch or router, or which wlan, devices are assigned. For this purpose the details page was extended by 2 entries.
A new table was added to the database. This happens automatically. Also the "Devices" table is automatically extended by 2 more entries.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.