Running Your First Discovery
Trigger a discovery job, follow its progress in real time in Job History, and understand the results.
Triggering a Discovery
In Zones (Discovery section of the sidebar, managers and admins), locate your zone card and click "Run Now". AsPeekIt queues a discovery job and begins scanning the environment. For agent-based zones the button shows "Agent Push", since agents submit data on their own schedule. The job history button of the card opens the Job History of that zone.

Monitoring Job Progress
Discovery jobs go through several states. Toasts tell you when a discovery starts, completes or fails, and the pages update automatically over the WebSocket. Job History (/dashboard/discovery/jobs) lists every run; open a job to see its detail. While a job is pending or running, managers and admins can stop it with "Cancel Job".
- Pending: The job is queued and waiting for a worker to pick it up (also while it waits to retry after a transient error)
- Running: The collector is actively scanning the environment
- Completed: All assets and dependencies have been discovered and saved
- Partially Completed: The job finished but part of the environment could not be collected
- Failed: An error occurred during discovery (check the error message for details)
- Cancelled: The job was manually cancelled before completion

Understanding Discovery Results
The job detail page shows five counters: Discovered (new assets found), Updated (existing assets refreshed), Removed (assets no longer present, marked inactive), Dependencies (relationships mapped between assets) and Errors. Below them are the timeline (created, started, completed), the error message of a failed job, the Asset changes card and the log. Asset changes lists, in the New and Removed tabs, the assets the job added and removed, searchable, with their current state (Active, Inactive or Deleted); names and types are kept even after the asset is renamed or deleted.

What Gets Discovered
The type and depth of assets discovered depends on the environment type. Each collector is optimized for its target infrastructure.
- Kubernetes: Clusters, Namespaces, Deployments, Services, Pods, Ingresses, ConfigMaps, PVCs, DaemonSets, StatefulSets, CronJobs, and more (30+ resource types)
- AWS: EC2 instances, VPCs, subnets, security groups, load balancers, RDS, S3, Lambda, EKS, ECS, ElastiCache, DynamoDB, CloudFront, Route 53, SNS, SQS, API Gateway and more, across all regions or the selected ones
- DigitalOcean: Droplets, Kubernetes clusters and node pools, databases, VPCs, load balancers, volumes, domains, firewalls, apps, Spaces, CDN endpoints, container registry and more
- Azure: Virtual Machines, Databases (SQL/Cosmos/MySQL/PostgreSQL), VNets, Subnets, NSGs, Load Balancers, App Services, Key Vaults, Storage Accounts, and more
- GCP: Compute Instances, Cloud SQL, VPCs, Subnets, Firewalls, GKE Clusters, Cloud Run Services, Cloud Functions, and more
- VMware: Virtual Machines, ESXi Hosts, Datastores, Virtual Networks, Resource Pools
- Network Scan: Hosts, open ports, service banners, operating system fingerprints
- SNMP: Network devices (switches, routers, APs) with system description, interfaces, and device classification
- Agent: Host inventory, installed packages, processes, network connections, containers and their images, certificates (see /docs/discovery/agent-based)
- Prometheus: Monitoring targets, alert rules, and metric metadata for enrichment
Dependency Detection
During discovery, AsPeekIt also detects relationships between assets. These are stored as typed dependencies with confidence scores. For example, a Kubernetes Service depends on its backing Pods, an Azure VM connects to a database via network dependency, or an agent-discovered process listens on a port that another host connects to.
- network: TCP/UDP connections between hosts
- database: Application-to-database connections
- api: HTTP/REST API calls between services
- messaging: Producer or consumer of a message queue
- runs_on: Container/process running on a host
- contains: Parent-child hierarchy (namespace contains pods)
- load_balances: Load balancer distributing traffic to backends
- depends_on: Generic dependency relationship
- storage: Asset using a storage resource
- monitored_by: Monitoring system watching an asset
- traced_by: Service seen by a tracing system
- managed_by and auth: Management and authentication relationships
Troubleshooting Failed Discoveries
If a discovery job fails, click on the job to see the error details. Common causes and solutions are listed below.
- Authentication failed: Verify credentials in the zone configuration. Ensure the service account has read permissions.
- Connection timeout: Check network connectivity and firewalls between AsPeekIt (or the relay of the zone) and your infrastructure. Connection errors and timeouts are retried automatically up to 3 times with an increasing delay (1, 2, then 4 minutes) before the job fails.
- Permission denied: The service account needs read access to the target resources. Check IAM roles and policies.
- Timed out: A discovery that runs longer than its time limit (25 minutes, 35 for network scans) fails with "Discovery task timed out"; narrow the scope of the zone (fewer targets or regions).
- Certificate error: The vSphere collector skips certificate verification by default, so self-signed vCenter certificates are accepted.