Source: factory.core/extend.monitor/ObjMonitorPing.py
Mixin providing ping_* connectivity checks.
| Method | Signature | Description |
|---|---|---|
| ping_database | ping_database(db_config: str = 'primary') -> dict |
Ping a MySQL database to check if it's online and responsive. |
| ping_databases | ping_databases() -> List[Dict[str, Any]] |
Ping all configured databases (primary and local). |
| ping_rabbitmq | ping_rabbitmq() -> dict |
Ping a RabbitMQ server to check if it's online and responsive. |
| ping_mongodb | ping_mongodb() -> dict |
Ping a MongoDB server to check if it's online and responsive. |
| ping_chromadb | ping_chromadb() -> dict |
Ping a ChromaDB server to check if it's online and responsive. |
| ping_cloudflare | ping_cloudflare() -> dict |
Ping Cloudflare to check internet connectivity. |
| ping_redis | ping_redis() -> dict |
Ping a Redis server to check if it's online and responsive. |
| ping_influxdb | ping_influxdb() -> dict |
Ping an InfluxDB server to check if it's online and responsive. |
| ping_mqtt | ping_mqtt() -> dict |
Ping an MQTT broker to check if it's online and responsive. |
| ping_docker_registry | ping_docker_registry() -> dict |
Ping a Docker registry to check if it's online and responsive. |
| ping_imap | ping_imap() -> dict |
Ping an IMAP server to check if it's online and responsive. |
| ping_keycloak | ping_keycloak() -> dict |
Ping a Keycloak server to check if it's online and responsive. |
| get_uptimerobot_uptime | get_uptimerobot_uptime(start: datetime.datetime, end: datetime.datetime, api_key_override: str = '', monitor_ids_override: str = '') -> Tuple[Dict[str, Any], List[str]] |
Pull uptime ratio from the UptimeRobot API |
| ping_smtp | ping_smtp() -> dict |
Ping an SMTP server to check if it's online and responsive. |
| ping_asterisk | ping_asterisk() -> dict |
Ping an Asterisk server to check if it's online and responsive. |
| ping_aws_s3 | ping_aws_s3() -> dict |
Ping an AWS S3 endpoint to check its reachability via TCP. |