You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/modules/uptime_check.py
+76-23Lines changed: 76 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -20,32 +20,74 @@
20
20
options:
21
21
apikey:
22
22
required: true
23
+
type: string
23
24
description:
24
-
- api key to auth with Pingdom
25
-
url:
25
+
- The user's API key used to authorize the log in into Pingdom is taken as a string.
26
+
host:
26
27
required: true
28
+
type: string
27
29
description:
28
-
- Url of the host to check, eg www.google.com
30
+
- The host attribute contains the URL of the destination host which is being targeted by the uptime check. This attribute takes it's value as a string. (e.g. www.google.com).
29
31
name:
30
32
required: true
33
+
type: string
31
34
description:
32
-
- Name of the check
35
+
- A name must be given to identify the uptime check as a string. The name does not have to be unique.
33
36
protocol:
34
37
required: true
38
+
type: string
35
39
description:
36
-
- The protocol used for the check, eg http, ping etc
40
+
- The type of check taking place must be specified as a string (e.g. http, tcp, ping).
37
41
tags:
38
-
required: true
42
+
required: false
43
+
type : string
39
44
description:
40
-
- The tag(s) to add to the check separated with ,
45
+
- Tags can be added to an uptime check to make them more organized and discoverable in the user interface. This attribute takes an array of strings where each tag must have a maximum length of 64 characters.
41
46
timing:
42
-
required: true
47
+
required: false
48
+
type: string
49
+
description:
50
+
- The user can specify the number of minutes between each check. This attribute takes an integer, but defaults to 5 if not specified.
51
+
port:
52
+
required: false
53
+
type: string
54
+
description:
55
+
- A specific port number can be targetted on the destination URL by setting setting the port number as an integer.
56
+
encryption:
57
+
required: false
58
+
type: string
43
59
description:
44
-
- The timing between the check running in minutes
60
+
- The user can specify whether the uptime check uses encryption. This attribute takes a boolean (True or False), but defaults to False if not specified.
61
+
verify_certificate:
62
+
required: false
63
+
type: string
64
+
description:
65
+
- An uptime check can treat the target site as down if it has an invalid or unverifiable certificate if the boolean verify_certificate attribute is set to True. If not specified, this attribute defaults to False.
66
+
probe_filters:
67
+
required: false
68
+
type: string
69
+
description:
70
+
- The user can specify filters used for probe selection as an array of strings. Currently only region is supported (e.g. region:EU)
71
+
shouldcontain:
72
+
required: false
73
+
type: string
74
+
description:
75
+
- The uptime check will only determine that the target site is up if it contains a specified string.
76
+
integrationids:
77
+
required: false
78
+
type: string
79
+
description:
80
+
- The user can connect integrations which have been set up in the UI to the uptime check by specifying the integration IDs as a list of integers.
81
+
url:
82
+
required: false
83
+
type: string
84
+
description:
85
+
- A path on the destination server can be set for the uptime check to target. This is taken as a string.
45
86
pause:
46
87
required: false
88
+
type: string
47
89
description:
48
-
- Not Required. Please set to "y" to pause the check on creation for testing
90
+
- This attribute takes a boolean (True/False). If set to True, the created uptime check will not automatically run immediately. If not specified, this attribute defaults to False.
49
91
notes:
50
92
- More variables can be added following the above formatting and adding
0 commit comments