You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

438 lines
16 KiB

10 years ago
10 years ago
7 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
8 years ago
8 years ago
8 years ago
9 years ago
9 years ago
  1. {% extends "base.html" %}
  2. {% load compress hc_extras humanize static %}
  3. {% block description %}
  4. <meta name="description" content="Cron Monitoring. Monitor nightly backups, weekly reports, cron jobs and background tasks. Receive alerts when your tasks don't run on time.">
  5. {% endblock %}
  6. {% block containers %}
  7. <div class="index-bleed">
  8. <div class="container">
  9. <div class="row">
  10. <div class="col-sm-12">
  11. <h1 id="pitch">
  12. Monitoring for your nightly backups,
  13. weekly reports, cron jobs and background tasks.</h1>
  14. </div>
  15. </div>
  16. <div class="row">
  17. <div class="col-sm-6 col-sm-push-6">
  18. <p id="pitch-text">
  19. Make HTTP requests to the Ping URL at regular intervals.
  20. <strong>
  21. When the URL is not pinged on time,
  22. {% site_name %} will send you an alert.
  23. </strong>
  24. You can monitor any service that can make HTTP requests
  25. or send emails.
  26. </p>
  27. </div>
  28. <div class="col-sm-6 col-sm-pull-6">
  29. <h2 id="pitch-subtitle">
  30. {% site_name %} creates unique Ping URLs like this one:
  31. </h2>
  32. <div id="pitch-url">
  33. <input
  34. id="pitch-url-input"
  35. class="form-control"
  36. type="text"
  37. value="{{ ping_url }}"
  38. readonly />
  39. </div>
  40. </div>
  41. </div>
  42. <div class="row">
  43. <div class="col-sm-12">
  44. <ul class="nav nav-tabs" role="tablist">
  45. <li class="active">
  46. <a href="#crontab" data-toggle="tab">Crontab</a>
  47. </li>
  48. <li>
  49. <a href="#bash" data-toggle="tab">Bash</a>
  50. </li>
  51. <li>
  52. <a href="#python" data-toggle="tab">Python</a>
  53. </li>
  54. <li class="hidden-xs">
  55. <a href="#ruby" data-toggle="tab">Ruby</a>
  56. </li>
  57. <li class="hidden-xs">
  58. <a href="#node" data-toggle="tab">Node.js</a>
  59. </li>
  60. <li class="hidden-xs">
  61. <a href="#php" data-toggle="tab">PHP</a>
  62. </li>
  63. <li class="hidden-xs">
  64. <a href="#cs" data-toggle="tab">C#</a>
  65. </li>
  66. <li class="hidden-xs">
  67. <a href="#browser" data-toggle="tab">Browser</a>
  68. </li>
  69. <li class="hidden-xs">
  70. <a href="#powershell" data-toggle="tab">PowerShell</a>
  71. </li>
  72. <li class="hidden-xs">
  73. <a href="#email" data-toggle="tab">Email</a>
  74. </li>
  75. </ul>
  76. <div class="tab-content">
  77. <div role="tabpanel" class="tab-pane active" id="crontab">
  78. {% include "front/snippets/crontab.html" %}
  79. </div>
  80. <div role="tabpanel" class="tab-pane" id="bash">
  81. {% include "front/snippets/bash_curl.html" %}
  82. {% include "front/snippets/bash_wget.html" %}
  83. </div>
  84. <div role="tabpanel" class="tab-pane" id="python">
  85. {% include "front/snippets/python_urllib2.html" %}
  86. {% include "front/snippets/python_requests.html" %}
  87. </div>
  88. <div role="tabpanel" class="tab-pane" id="ruby">
  89. {% include "front/snippets/ruby.html" %}
  90. </div>
  91. <div role="tabpanel" class="tab-pane" id="node">
  92. {% include "front/snippets/node.html" %}
  93. </div>
  94. <div role="tabpanel" class="tab-pane" id="php">
  95. {% include "front/snippets/php.html" %}
  96. </div>
  97. <div role="tabpanel" class="tab-pane" id="cs">
  98. {% include "front/snippets/cs.html" %}
  99. </div>
  100. <div class="tab-pane" id="browser">
  101. {% include "front/snippets/browser.html" %}
  102. </div>
  103. <div class="tab-pane" id="powershell">
  104. {% include "front/snippets/powershell.html" %}
  105. {% include "front/snippets/powershell_inline.html" %}
  106. </div>
  107. <div class="tab-pane tab-pane-email" id="email">
  108. <p>
  109. As an alternative to HTTP and HTTPS requests,
  110. you can "ping" this check by sending an
  111. email message to
  112. <a href="mailto:{{ check.email }}">{{ check.email }}</a>
  113. </p>
  114. </div>
  115. </div>
  116. </div>
  117. </div>
  118. </div>
  119. </div>
  120. {% if registration_open %}
  121. <div class="get-started-bleed">
  122. <div class="container">
  123. <div class="row">
  124. <div id="get-started" class="col-sm-6 col-sm-offset-3">
  125. <h2>E-mail Address to Receive Alerts:</h2>
  126. <form action="{% url 'hc-login' %}" method="post">
  127. {% csrf_token %}
  128. <div class="form-group">
  129. <div class="input-group input-group-lg">
  130. <div class="input-group-addon">@</div>
  131. <input
  132. type="email"
  133. class="form-control"
  134. name="email"
  135. autocomplete="email"
  136. placeholder="Email">
  137. </div>
  138. </div>
  139. <div class="clearfix">
  140. <button type="submit" class="btn btn-lg btn-primary pull-right">
  141. Set up my Ping URLs…
  142. </button>
  143. </div>
  144. </form>
  145. </div>
  146. </div>
  147. </div>
  148. </div>
  149. {% endif %}
  150. <div class="container">
  151. <div class="row">
  152. <div class="col-sm-12">
  153. <h2 class="tour-title">A quick peek of what's inside:</h2>
  154. </div>
  155. </div>
  156. <div class="row tour-section">
  157. <div class="col-sm-8">
  158. <img
  159. class="img-responsive"
  160. src="{% static 'img/my_checks.png' %}"
  161. srcset="{% static 'img/my_checks.png'%} 1x, {% static 'img/[email protected]'%} 2x"
  162. alt="My Checks page" />
  163. </div>
  164. <div class="col-sm-4">
  165. <p>
  166. A list of your checks, one for each Cron job, daemon or
  167. periodically running task you want to monitor.
  168. </p>
  169. <p>
  170. Give names and assign tags to your checks to easily recognize
  171. them later.
  172. </p>
  173. <p>
  174. Tap on the integration icons to toggle them on and off.
  175. </p>
  176. <p>
  177. Adjust Period and Grace time to match the
  178. periodicity and duration of your tasks.
  179. </p>
  180. </div>
  181. </div>
  182. <div class="row tour-section">
  183. <div class="col-sm-8">
  184. <img
  185. class="img-responsive"
  186. src="{% static 'img/period_grace.png' %}"
  187. srcset="{% static 'img/period_grace.png'%} 1x, {% static 'img/[email protected]'%} 2x"
  188. alt="Period/Grace Time dialog" />
  189. </div>
  190. <div class="col-sm-4">
  191. Each check has configurable <strong>Period</strong> and <strong>Grace Time</strong> parameters.
  192. Depending on these parameters and time since the last ping, the check is in one of the
  193. following states:
  194. <table class="table">
  195. <tr>
  196. <td>
  197. <span class="status icon-new"></span>
  198. </td>
  199. <td>
  200. New.
  201. A check that has been created, but has not received any pings yet.
  202. </td>
  203. </tr>
  204. <tr>
  205. <td>
  206. <span class="status icon-up"></span>
  207. </td>
  208. <td>
  209. Up.
  210. Time since last ping has not exceeded <strong>Period</strong>.
  211. </td>
  212. </tr>
  213. <tr>
  214. <td>
  215. <span class="status icon-grace"></span>
  216. </td>
  217. <td>
  218. Late.
  219. Time since last ping has exceeded <strong>Period</strong>,
  220. but has not yet exceeded <strong>Period</strong> + <strong>Grace</strong>.
  221. </td>
  222. </tr>
  223. <tr>
  224. <td>
  225. <span class="status icon-down"></span>
  226. </td>
  227. <td>
  228. Down.
  229. Time since last ping has exceeded <strong>Period</strong> + <strong>Grace</strong>.
  230. When check goes from "Late" to "Down", {% site_name %}
  231. sends you a notification.
  232. </td>
  233. </tr>
  234. </table>
  235. </div>
  236. </div>
  237. <div class="row tour-section">
  238. <div class="col-sm-8">
  239. <img
  240. class="img-responsive"
  241. src="{% static 'img/cron.png' %}"
  242. srcset="{% static 'img/cron.png'%} 1x, {% static 'img/[email protected]'%} 2x"
  243. alt="Cron dialog" />
  244. </div>
  245. <div class="col-sm-4">
  246. <p>
  247. Alternatively, you can define the expected ping dates and times
  248. using a cron expression. See
  249. <a href="{% url 'hc-docs-cron' %}">Cron Syntax Cheatsheet</a>
  250. for the supported syntax features.
  251. </p>
  252. <p>
  253. <strong>Grace Time</strong> specifies how "late" a ping can
  254. be before you will be alerted. Set it to be a little above
  255. the expected duration of your cron job.
  256. </p>
  257. </div>
  258. </div>
  259. <div class="row tour-section">
  260. <div class="col-sm-8">
  261. <img
  262. class="img-responsive"
  263. src="{% static 'img/check_details.png' %}"
  264. srcset="{% static 'img/check_details.png'%} 1x, {% static 'img/[email protected]'%} 2x"
  265. alt="Details Page" />
  266. </div>
  267. <div class="col-sm-4">
  268. <p>
  269. You can add a longer, free-form description to each
  270. check. Leave notes and pointers for yourself and
  271. for your team.
  272. </p>
  273. <p>
  274. You can also see the log of received pings and
  275. sent "Down" notifications.
  276. </p>
  277. </div>
  278. </div>
  279. <div class="row tour-section">
  280. <div class="col-sm-8">
  281. <img
  282. class="img-responsive"
  283. src="{% static 'img/badges.png' %}"
  284. srcset="{% static 'img/badges.png'%} 1x, {% static 'img/[email protected]'%} 2x"
  285. alt="Details Page" />
  286. </div>
  287. <div class="col-sm-4">
  288. <p>
  289. {% site_name %} provides status badges for each of the tags
  290. you have used. Additionally, the "{% site_name %}" badge
  291. shows the overall status of all checks in your account.
  292. </p>
  293. <p>
  294. The badges have public, but hard-to-guess URLs.
  295. You can use them in your READMEs, dashboards or status pages.
  296. </p>
  297. </div>
  298. </div>
  299. <div id="welcome-integrations" class="row tour-section">
  300. <div class="col-sm-12">
  301. <h1>Integrations<br>
  302. <small>Set up additional ways to get notified:</small>
  303. </div>
  304. <div class="col-sm-12">
  305. <div class="integration">
  306. <img src="{% static 'img/integrations/email.png' %}" class="icon" alt="Email icon" />
  307. <h3>Email<br><small>&nbsp;</small>
  308. </h3>
  309. </div>
  310. <div class="integration">
  311. <img src="{% static 'img/integrations/sms.png' %}" class="icon" alt="SMS icon" />
  312. <h3>SMS<br><small>&nbsp;</small></h3>
  313. </div>
  314. <div class="integration">
  315. <img src="{% static 'img/integrations/webhook.png' %}" class="icon" alt="Webhook icon" />
  316. <h3>Webhooks<br><small>&nbsp;</small></h3>
  317. </div>
  318. <div class="integration">
  319. <img src="{% static 'img/integrations/slack.png' %}" class="icon" alt="Slack icon" />
  320. <h3>Slack<br><small>Chat</small></h3>
  321. </div>
  322. <div class="integration">
  323. <img src="{% static 'img/integrations/telegram.png' %}" class="icon" alt="Telegram icon" />
  324. <h3>Telegram<br><small>Chat</small></h3>
  325. </div>
  326. <div class="integration">
  327. <img src="{% static 'img/integrations/po.png' %}" class="icon" alt="Pushover icon" />
  328. <h3>Pushover<br><small>Push Notifications</small></h3>
  329. </div>
  330. <div class="integration">
  331. <img src="{% static 'img/integrations/pushbullet.png' %}" class="icon" alt="Pushbullet icon" />
  332. <h3>Pushbullet<br><small>Push Notifications</small></h3>
  333. </div>
  334. <div class="integration">
  335. <img src="{% static 'img/integrations/pd.png' %}" class="icon" alt="PagerDuty icon" />
  336. <h3>PagerDuty<br><small>Incident Management</small></h3>
  337. </div>
  338. <div class="integration">
  339. <img src="{% static 'img/integrations/hipchat.png' %}" class="icon" alt="HipChat icon" />
  340. <h3>HipChat<br><small>Chat</small></h3>
  341. </div>
  342. <div class="integration">
  343. <img src="{% static 'img/integrations/victorops.png' %}" class="icon" alt="VictorOps icon" />
  344. <h3>VictorOps<br><small>Incident Management</small></h3>
  345. </div>
  346. <div class="integration">
  347. <img src="{% static 'img/integrations/discord.png' %}" class="icon" alt="Discord icon" />
  348. <h3>Discord<br><small>Chat</small></h3>
  349. </div>
  350. <div class="integration">
  351. <img src="{% static 'img/integrations/opsgenie.png' %}" class="icon" alt="OpsGenie icon" />
  352. <h3>OpsGenie<br><small>Incident Management</small></h3>
  353. </div>
  354. <div class="integration">
  355. <img src="{% static 'img/integrations/pagertree.png' %}" class="icon" alt="PagerTree icon" />
  356. <h3>PagerTree<br><small>Incident Management</small></h3>
  357. </div>
  358. </div>
  359. </div>
  360. <div class="row">
  361. {% if registration_open %}
  362. <div class="footer-jumbo-bleed">
  363. <div class="col-sm-12">
  364. <div class="jumbotron">
  365. <div class="row">
  366. <div class="col-sm-7">
  367. <p>{% site_name %} is a <strong>free</strong> and
  368. <a href="https://github.com/healthchecks/healthchecks">open source</a> service.
  369. Setting up monitoring for your cron jobs only takes minutes.
  370. Start sleeping better at nights!</p>
  371. </div>
  372. <div class="col-sm-1"></div>
  373. <div class="col-sm-4">
  374. <form action="{% url 'hc-login' %}" method="post">
  375. {% csrf_token %}
  376. <div class="form-group">
  377. <div class="input-group input-group-lg">
  378. <div class="input-group-addon">@</div>
  379. <input
  380. type="email"
  381. class="form-control"
  382. name="email"
  383. autocomplete="email"
  384. placeholder="Email">
  385. </div>
  386. </div>
  387. <div class="clearfix">
  388. <button type="submit" class="btn btn-lg btn-primary pull-right">
  389. Sign up for free
  390. </button>
  391. </div>
  392. </form>
  393. </div>
  394. </div>
  395. </div>
  396. </div>
  397. </div>
  398. {% endif %}
  399. </div>
  400. </div>
  401. {% endblock %}
  402. {% block scripts %}
  403. {% compress js %}
  404. <script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
  405. <script src="{% static 'js/bootstrap.min.js' %}"></script>
  406. <script src="{% static 'js/clipboard.min.js' %}"></script>
  407. <script src="{% static 'js/snippet-copy.js' %}"></script>
  408. {% endcompress %}
  409. {% endblock %}