Documentation
¶
Index ¶
- func RunFullDiscovery(cfg *config.Config) []state.Device
- func RunICMPSweep(ctx context.Context, networks []string, workers int, limiter *rate.Limiter) []string
- func RunPingDiscovery(cidr string, icmpWorkers int) []state.Device
- func RunSNMPScan(ips []string, snmpConfig *config.SNMPConfig, workers int) []state.Device
- func RunScan(cfg *config.Config) []state.Device
- func RunScanIPsOnly(cidr string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunFullDiscovery ¶
RunFullDiscovery performs ICMP ping sweep first, then SNMP polling of online devices
func RunICMPSweep ¶
func RunICMPSweep(ctx context.Context, networks []string, workers int, limiter *rate.Limiter) []string
RunICMPSweep performs concurrent ICMP ping sweep across multiple networks Returns only the IP addresses that responded to pings The limiter parameter controls the global rate of ping operations The ctx parameter enables graceful shutdown and rate limiter cancellation
func RunPingDiscovery ¶
RunPingDiscovery performs concurrent ICMP ping sweep to find online devices
func RunSNMPScan ¶
RunSNMPScan performs concurrent SNMP queries on a list of IP addresses Returns devices with SNMP data populated, gracefully handles SNMP failures
func RunScanIPsOnly ¶
RunScanIPsOnly returns all IP addresses in the specified CIDR range
Types ¶
This section is empty.