From 7e2ddb40534d5c161ee8c97caacffd6778b187e6 Mon Sep 17 00:00:00 2001 From: Michael Bylstra Date: Tue, 22 Sep 2015 14:17:39 +1000 Subject: [PATCH] example `target_hostname` value should be a FQDN, not a URL I've tested this against pyrax==1.9.5, and it seems to only allow FQDNs, not URLs. --- docs/cloud_monitoring.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cloud_monitoring.md b/docs/cloud_monitoring.md index 871efa99..07f03426 100644 --- a/docs/cloud_monitoring.md +++ b/docs/cloud_monitoring.md @@ -138,7 +138,7 @@ To create the check, run the following: chk = cm.create_check(ent, label="sample_check", check_type="remote.http", details={"url": "http://example.com/some_page"}, period=900, timeout=20, monitoring_zones_poll=["mzdfw", "mzlon", "mzsyd"], - target_hostname="http://example.com") + target_hostname="example.com") This will create an HTTP check on the entity `ent` for the page `http://example.com/some_page` that will run every 15 minutes from the Dallas, London, and Sydney monitoring zones.