Pēteris Caune
a3b58d25ff
Change "--output" to "-o" in curl examples.
2020-06-15 16:14:03 +03:00
Pēteris Caune
bd3f150284
Merge pull request #380 from Simonmicro/master
...
Switched from pipeing to --output /dev/null for curl
2020-06-15 15:57:59 +03:00
Pēteris Caune
84889d6160
Render docs.
2020-06-15 13:28:20 +03:00
Pēteris Caune
276c36841a
Merge branch 'jameskirsop-return-single-history'
2020-06-15 13:27:37 +03:00
Pēteris Caune
c3d8ee0965
Update API docs.
2020-06-15 13:25:55 +03:00
Martin
bc0684df63
fix typo
2020-06-14 14:51:11 +02:00
James Kirsop
90d4246848
Second interation of this
2020-06-12 13:39:03 +10:00
Simon Beginn
4592987810
Switched from piping to --output /dev/null for curl
2020-06-11 20:30:41 +02:00
Pēteris Caune
beff11ceff
Fixing typo
2020-06-11 16:07:04 +03:00
Pēteris Caune
cdafc06c65
In urls.py, route "api/v1/checks/<sha1:unique_key>" directly to the hc.api.views.get_check_by_unique_key view.
...
Minor API documentation edits.
2020-06-11 15:24:45 +03:00
James Kirsop
8725c81144
Implementing new changes discussed to resolve #370
2020-06-11 17:00:27 +10:00
Pēteris Caune
a07325e40f
Add "Get a list of checks's logged pings" API call ( #371 )
2020-06-09 18:09:57 +03:00
Pēteris Caune
461ef5e088
Paused ping handling can be controlled via API. Fixes #376
2020-06-09 15:16:39 +03:00
Pēteris Caune
8e51d26595
Removing Pager Team integration, project appears to be discontinued
2020-06-09 13:26:15 +03:00
Pēteris Caune
c70a2588c6
Update package versions
2020-05-01 11:05:44 +03:00
Berk D. Demir
eb279c4c21
Add runitor to resources.{md,html}
...
From its README:
Why Do I Need This Instead of Calling curl from a Shell Script?
In addition to clean separation of concerns from the thing that needs to
run and the act of calling an external monitor, runitor packs a few neat
extra features that are bit more involved than single line additions to
a script.
It can capture the stdout and stderr of the command to send it along
with execution reports, a.k.a. pings. When you respond to an alert you
can quickly start investigating the issue with the relevant context
already available.
It can be used as a long running process acting as a task scheduler,
executing the command at specified intervals. This feature comes in
handy when you don't readily have access to a job scheduler like crond
or systemd.timer. Works well in one process per container environments.
2020-04-30 19:43:27 -07:00
Berk D. Demir
34807dc5aa
Remove redundant '-X POST' to curl
...
Passing `--data-raw` to curl implies the request is method will be POST.
Unless we intend to do something entirely different, -X method override
shouldn't be used.
Curl's author Daniel Stenberg (@bagder) wrote about this back in 2015
https://daniel.haxx.se/blog/2015/09/11/unnecessary-use-of-curl-x/
2020-04-18 15:05:17 -07:00
Pēteris Caune
dda08a6143
capitalize plan's name
2020-04-14 10:30:59 +03:00
Sandro Jäckel
38382d662d
Fix typos with codespell
2020-04-14 03:53:16 +02:00
Pēteris Caune
76ae42bc8f
"Get a single check" API call now supports read-only API keys. Fixes #346
2020-03-24 16:10:42 +02:00
Pēteris Caune
da4cf5241e
Minor cleanup, update CHANGELOG
2020-03-23 11:54:41 +02:00
James Kirsop
456a80f1fa
Adding tests and docs
2020-03-23 11:37:32 +11:00
Pēteris Caune
1cb2ec16fb
Fix wording
2020-03-10 15:53:06 +02:00
Pēteris Caune
5d513658e3
Adding Docs > Cloning Checks
2020-03-10 15:43:34 +02:00
Pēteris Caune
bf1294a100
Docs / Shell scripts: add "Auto-provisioning New Checks" section
2020-03-09 18:05:21 +02:00
Pēteris Caune
35e476be59
Document more response codes.
2020-03-04 12:12:38 +02:00
Pēteris Caune
ccba5e8731
Fix default values for timeout and grace parameters in API reference.
2020-03-02 13:50:27 +02:00
Pēteris Caune
dab0c4200e
API reference in Markdown
2020-03-02 13:37:29 +02:00
Pēteris Caune
d3ee9bae0e
Fix typo
2020-02-28 10:28:45 +02:00
Pēteris Caune
490362638f
Documentation: notes about resource limits
2020-02-27 17:51:22 +02:00
Pēteris Caune
9e82cbb412
Adding HealthChecksIOStatusReport in Third-Party resources.
2020-02-20 12:23:52 +02:00
Pēteris Caune
3092eaf88d
Markdown with Pygments 2.4 and later wraps code in <code> tags ( https://github.com/Python-Markdown/markdown/pull/862 ).
...
Reset CSS for code tags inside pre blocks.
2020-02-18 15:03:16 +02:00
Pēteris Caune
1b8460f39f
"Projects and Teams" in docs
2020-02-05 17:23:21 +02:00
Pēteris Caune
b1bffde3d6
Add SmartCronHelper
2020-02-04 11:26:49 +02:00
Pēteris Caune
e29b2387de
Illustrations in "Measuring script run time" page
2020-02-04 11:22:30 +02:00
Pēteris Caune
272360336b
"Configuring notifications" in docs
2020-02-03 17:41:06 +02:00
Pēteris Caune
e2fe2edcc1
Title tags for documentation pages.
2020-01-29 13:54:54 +02:00
Pēteris Caune
564f69aca5
Adding shell example
2020-01-29 13:39:41 +02:00
Pēteris Caune
d29b0050a3
Fix endpoint address.
2020-01-29 12:45:00 +02:00
Pēteris Caune
dbd21c325d
Docs: "HTTP API" page
2020-01-29 12:43:35 +02:00
Pēteris Caune
d7de6476b7
Tweaking shell script examples
2020-01-28 16:44:32 +02:00
Pēteris Caune
a276c24dd3
Docs overhaul WIP
2020-01-28 14:07:06 +02:00
Pēteris Caune
3e2ae02388
Added an example of capturing and submitting log output. Fixes #315
2020-01-23 17:53:23 +02:00
Pēteris Caune
50c8c153ea
Documentation in Markdown.
2020-01-23 16:04:15 +02:00