Advanced Monitors
Specialized monitoring for complex infrastructure
Monitoring
ATStatus provides advanced monitoring capabilities for specialized infrastructure including containers, cloud services, APIs, and custom script-based checks.
Advanced Monitor Types
Docker Container
docker
Monitor Docker container health and status via the Docker API.
- • Container running state
- • Health check status
- • Resource usage metrics
Kubernetes
kubernetes
Monitor Kubernetes deployments, pods, and services.
- • Pod health and readiness
- • Deployment status
- • Service endpoints
gRPC Health
grpc
Monitor gRPC services using the standard health checking protocol.
- • gRPC health check protocol
- • Service-specific health
- • TLS support
GraphQL
graphql
Monitor GraphQL APIs with custom queries.
- • Custom GraphQL queries
- • Response validation
- • Authentication headers
JSON API
json_api
Monitor REST APIs with JSON response validation.
- • JSONPath validation
- • Response value checks
- • Schema validation
SSL Certificate
ssl_only
Monitor SSL certificate validity and expiration.
- • Certificate expiry warnings
- • Chain validation
- • Hostname verification
Custom Script
script
Run custom scripts for specialized monitoring needs.
- • Shell/Bash scripts
- • Exit code validation
- • Custom output parsing
Script Monitor Example
Custom scripts should exit with code 0 for success, non-zero for failure:
#!/bin/bash
# Example: Check disk space
THRESHOLD=90
USAGE=$(df -h / | awk 'NR==2 {print $5}' | tr -d '%')
if [ "$USAGE" -gt "$THRESHOLD" ]; then
echo "Disk usage critical: $USAGE%"
exit 1
fi
echo "Disk usage OK: $USAGE%"
exit 0Best Practices
- Use appropriate monitor types for each service (don't use HTTP for databases)
- Set SSL expiry warnings at least 14 days before expiration
- Keep custom scripts simple and fast-executing
- Use service accounts with minimal permissions for cloud monitors
