Overview
Thelist command displays all URLs currently being monitored by Watchdog. It supports pagination and filtering by HTTP method, frequency, and status.
Usage
Aliases
ls
Description
Thelist command retrieves and displays all monitored URLs with their current status, configuration, and contact information. Results are paginated and can be filtered to help you find specific URLs.
Arguments
This command takes no arguments.Flags
The page number to display. Use this to navigate through multiple pages of results.
The number of results to display per page.
Filter results by HTTP method.Valid values:
getpostputpatchdelete
Filter results by monitoring frequency.Valid values:
ten_secondsthirty_secondsone_minutefive_minutesthirty_minutesone_hourtwelve_hourstwenty_four_hours
Filter results by current health status.Valid values:
healthy- URL is reachableunhealthy- URL is unreachablepending- Not yet checked
Examples
List all monitored URLs
Navigate to a specific page
Filter by status
Filter by HTTP method
Filter by frequency
Combine multiple filters
Using the short alias
Output format
For each URL, the list command displays:The sequential number in the list (accounts for pagination offset)
The full URL being monitored
The unique identifier (use with
remove and analysis commands)The HTTP method used for health checks
Current health status: healthy, unhealthy, or pending
How often the URL is checked
Email address for alerts
Pagination
When there are more results than fit on one page:- The output shows ”← Previous” and ”→ Next” navigation hints
- Use
--page=Nto navigate to a specific page - Adjust
--per_pageto control how many results appear per page
Page numbers start at 1. Using
--page=0 or a negative number will result in an error.Error handling
Invalid page number
Invalid per_page number
Invalid HTTP method filter
Invalid frequency filter
Invalid status filter
No URLs found
If no URLs match your filters:Common use cases
Check for unhealthy services
Review high-frequency monitors
Find a URL by method
Export list with large page size
Technical details
- Pagination uses offset-based queries
- The command fetches
per_page + 1results to determine if more pages exist - Filters are applied at the database level for efficiency
- Results maintain consistent ordering across pages
See also
- add command - Add new URLs to monitor
- remove command - Remove URLs by their ID
- analysis command - View detailed statistics for a URL
- guard command - Start the monitoring service