NetFie Workers - LogeshVel/NetFie GitHub Wiki
NetFie Workers
NetFie Workers are the Python Scripts that monitors the Services and Devices available.
Inputs
We have 2 JSON Files one is for Services and another is for Devices.
We need to give the details of the Services and Devices to monitor by the NetFie Workers. Currently NetFie monitors seven Services and one Device.
Services
NetFie monitors four types of services
- HTTP(S)
- DNS
8.8.8.8
- NTP
us.pool.ntp.org
- ICMP
192.168.1.1 (my Home Gateway)
Every Services has the threshold limit for their service availability
Threshold limit is just for monitoring purpose set by me, in the NetFie UI we can visualize the services response time in the Table and Analysis graph
For Services we also do PortScanning and Traceroute and display them on the NetFie UI
Devices
Currently NetFie has one device (my Ubuntu machine)
Packet Capture is done by NetFie Workers for the NetFie Devices
The packet capture script must run on the devices for which we need to capture the Packets.
EX: The Packet Capture Script is run on my Ubuntu Machine which is the only device NetFie Monitors.
There is not much to do with NetFie Devices
Python Libraries
- requests - for making HTTP requests in Python
- ping3 - for making ICMP ping
- ntplib - for NTP
- dns - for DNS
- nmap - for Port Scanning
- scapy - for Tracerouting
- pyshark - for Packet Captures