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.

534 lines
20 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
5 years ago
10 years ago
10 years ago
8 years ago
8 years ago
8 years ago
6 years ago
6 years ago
6 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="#go" data-toggle="tab">Go</a>
  62. </li>
  63. <li class="hidden-xs">
  64. <a href="#php" data-toggle="tab">PHP</a>
  65. </li>
  66. <li class="hidden-xs">
  67. <a href="#cs" data-toggle="tab">C#</a>
  68. </li>
  69. <li class="hidden-xs">
  70. <a href="#browser" data-toggle="tab">Browser</a>
  71. </li>
  72. <li class="hidden-xs">
  73. <a href="#powershell" data-toggle="tab">PowerShell</a>
  74. </li>
  75. <li class="hidden-xs">
  76. <a href="#email" data-toggle="tab">Email</a>
  77. </li>
  78. </ul>
  79. <div class="tab-content">
  80. <div role="tabpanel" class="tab-pane active" id="crontab">
  81. {% include "front/snippets/crontab.html" %}
  82. </div>
  83. <div role="tabpanel" class="tab-pane" id="bash">
  84. {% include "front/snippets/bash_curl.html" %}
  85. {% include "front/snippets/bash_wget.html" %}
  86. </div>
  87. <div role="tabpanel" class="tab-pane" id="python">
  88. {% include "front/snippets/python_urllib2.html" %}
  89. {% include "front/snippets/python_requests.html" %}
  90. </div>
  91. <div role="tabpanel" class="tab-pane" id="ruby">
  92. {% include "front/snippets/ruby.html" %}
  93. </div>
  94. <div role="tabpanel" class="tab-pane" id="node">
  95. {% include "front/snippets/node.html" %}
  96. </div>
  97. <div role="tabpanel" class="tab-pane" id="go">
  98. {% include "front/snippets/go.html" %}
  99. </div>
  100. <div role="tabpanel" class="tab-pane" id="php">
  101. {% include "front/snippets/php.html" %}
  102. </div>
  103. <div role="tabpanel" class="tab-pane" id="cs">
  104. {% include "front/snippets/cs.html" %}
  105. </div>
  106. <div class="tab-pane" id="browser">
  107. {% include "front/snippets/browser.html" %}
  108. </div>
  109. <div class="tab-pane" id="powershell">
  110. {% include "front/snippets/powershell.html" %}
  111. {% include "front/snippets/powershell_inline.html" %}
  112. </div>
  113. <div class="tab-pane tab-pane-email" id="email">
  114. <p>
  115. As an alternative to HTTP and HTTPS requests,
  116. you can "ping" this check by sending an
  117. email message to
  118. <a href="mailto:{{ check.email }}">{{ check.email }}</a>
  119. </p>
  120. </div>
  121. </div>
  122. </div>
  123. </div>
  124. </div>
  125. </div>
  126. {% if registration_open %}
  127. <div class="get-started-bleed">
  128. <div class="container">
  129. <div class="row">
  130. <div id="get-started" class="col-sm-8 col-sm-offset-2 text-center">
  131. <h1>{% site_name %} monitors the heartbeat messages sent by your cron jobs, services and APIs.
  132. Get immediate alerts when they don't arrive on schedule. </h1>
  133. <a href="#" data-toggle="modal" data-target="#signup-modal" class="btn btn-lg btn-primary">
  134. Sign Up – It's Free
  135. </a>
  136. </div>
  137. </div>
  138. </div>
  139. </div>
  140. {% endif %}
  141. <div class="container">
  142. <div class="row">
  143. <div class="col-sm-12">
  144. <h2 class="tour-title">A quick peek of what's inside:</h2>
  145. </div>
  146. </div>
  147. <div class="row tour-section">
  148. <div class="col-sm-8">
  149. <img
  150. class="img-responsive"
  151. src="{% static 'img/my_checks.png' %}"
  152. srcset="{% static 'img/my_checks.png'%} 1x, {% static 'img/[email protected]'%} 2x"
  153. alt="My Checks page" />
  154. </div>
  155. <div class="col-sm-4">
  156. <p>
  157. A list of your checks, one for each Cron job, daemon or
  158. periodically running task you want to monitor.
  159. </p>
  160. <p>
  161. Give names and assign tags to your checks to easily recognize
  162. them later.
  163. </p>
  164. <p>
  165. Tap on the integration icons to toggle them on and off.
  166. </p>
  167. <p>
  168. Adjust Period and Grace time to match the
  169. periodicity and duration of your tasks.
  170. </p>
  171. </div>
  172. </div>
  173. <div class="row tour-section">
  174. <div class="col-sm-8">
  175. <img
  176. class="img-responsive"
  177. src="{% static 'img/period_grace.png' %}"
  178. srcset="{% static 'img/period_grace.png'%} 1x, {% static 'img/[email protected]'%} 2x"
  179. alt="Period/Grace Time dialog" />
  180. </div>
  181. <div class="col-sm-4">
  182. Each check has configurable <strong>Period</strong> and <strong>Grace Time</strong> parameters.
  183. Depending on these parameters and time since the last ping, the check is in one of the
  184. following states:
  185. <table class="table">
  186. <tr>
  187. <td>
  188. <span class="status icon-new"></span>
  189. </td>
  190. <td>
  191. New.
  192. A check that has been created, but has not received any pings yet.
  193. </td>
  194. </tr>
  195. <tr>
  196. <td>
  197. <span class="status icon-up"></span>
  198. </td>
  199. <td>
  200. Up.
  201. Time since last ping has not exceeded <strong>Period</strong>.
  202. </td>
  203. </tr>
  204. <tr>
  205. <td>
  206. <span class="status icon-grace"></span>
  207. </td>
  208. <td>
  209. Late.
  210. Time since last ping has exceeded <strong>Period</strong>,
  211. but has not yet exceeded <strong>Period</strong> + <strong>Grace</strong>.
  212. </td>
  213. </tr>
  214. <tr>
  215. <td>
  216. <span class="status icon-down"></span>
  217. </td>
  218. <td>
  219. Down.
  220. Time since last ping has exceeded <strong>Period</strong> + <strong>Grace</strong>.
  221. When check goes from "Late" to "Down", {% site_name %}
  222. sends you a notification.
  223. </td>
  224. </tr>
  225. </table>
  226. </div>
  227. </div>
  228. <div class="row tour-section">
  229. <div class="col-sm-8">
  230. <img
  231. class="img-responsive"
  232. src="{% static 'img/cron.png' %}"
  233. srcset="{% static 'img/cron.png'%} 1x, {% static 'img/[email protected]'%} 2x"
  234. alt="Cron dialog" />
  235. </div>
  236. <div class="col-sm-4">
  237. <p>
  238. Alternatively, you can define the expected ping dates and times
  239. using a cron expression. See
  240. <a href="{% url 'hc-docs-cron' %}">Cron Syntax Cheatsheet</a>
  241. for the supported syntax features.
  242. </p>
  243. <p>
  244. <strong>Grace Time</strong> specifies how "late" a ping can
  245. be before you will be alerted. Set it to be a little above
  246. the expected duration of your cron job.
  247. </p>
  248. </div>
  249. </div>
  250. <div class="row tour-section">
  251. <div class="col-sm-8">
  252. <img
  253. class="img-responsive"
  254. src="{% static 'img/check_details.png' %}"
  255. srcset="{% static 'img/check_details.png'%} 1x, {% static 'img/[email protected]'%} 2x"
  256. alt="Details Page" />
  257. </div>
  258. <div class="col-sm-4">
  259. <p>
  260. You can add a longer, free-form description to each
  261. check. Leave notes and pointers for yourself and
  262. for your team.
  263. </p>
  264. <p>
  265. You can also see the log of received pings and
  266. sent "Down" notifications.
  267. </p>
  268. </div>
  269. </div>
  270. <div class="row tour-section">
  271. <div class="col-sm-8">
  272. <img
  273. class="img-responsive"
  274. src="{% static 'img/badges.png' %}"
  275. srcset="{% static 'img/badges.png'%} 1x, {% static 'img/[email protected]'%} 2x"
  276. alt="Details Page" />
  277. </div>
  278. <div class="col-sm-4">
  279. <p>
  280. {% site_name %} provides status badges for each of the tags
  281. you have used. Additionally, the "{% site_name %}" badge
  282. shows the overall status of all checks in your account.
  283. </p>
  284. <p>
  285. The badges have public, but hard-to-guess URLs.
  286. You can use them in your READMEs, dashboards or status pages.
  287. </p>
  288. </div>
  289. </div>
  290. <div id="welcome-integrations" class="row tour-section">
  291. <div class="col-sm-12">
  292. <h1>Integrations<br>
  293. <small>Set up additional ways to get notified:</small>
  294. </h1>
  295. </div>
  296. <div class="col-md-2 col-sm-4 col-xs-6">
  297. <div class="integration">
  298. <img src="{% static 'img/integrations/email.png' %}" class="icon" alt="Email icon" />
  299. <h3>Email<br><small>&nbsp;</small>
  300. </h3>
  301. </div>
  302. </div>
  303. <div class="col-md-2 col-sm-4 col-xs-6">
  304. <div class="integration">
  305. <img src="{% static 'img/integrations/webhook.png' %}" class="icon" alt="Webhook icon" />
  306. <h3>Webhooks<br><small>&nbsp;</small></h3>
  307. </div>
  308. </div>
  309. <div class="col-md-2 col-sm-4 col-xs-6">
  310. <div class="integration">
  311. <img src="{% static 'img/integrations/slack.png' %}" class="icon" alt="Slack icon" />
  312. <h3>Slack<br><small>Chat</small></h3>
  313. </div>
  314. </div>
  315. {% if enable_apprise %}
  316. <div class="col-md-2 col-sm-4 col-xs-6">
  317. <div class="integration">
  318. <img src="{% static 'img/integrations/apprise.png' %}" class="icon" alt="Apprise icon" />
  319. <h3>Apprise<br><small>Push Notifications</small></h3>
  320. </div>
  321. </div>
  322. {% endif %}
  323. {% if enable_discord %}
  324. <div class="col-md-2 col-sm-4 col-xs-6">
  325. <div class="integration">
  326. <img src="{% static 'img/integrations/discord.png' %}" class="icon" alt="Discord icon" />
  327. <h3>Discord<br><small>Chat</small></h3>
  328. </div>
  329. </div>
  330. {% endif %}
  331. {% if enable_matrix %}
  332. <div class="col-md-2 col-sm-4 col-xs-6">
  333. <div class="integration">
  334. <img src="{% static 'img/integrations/matrix.png' %}" class="icon" alt="Matrix icon" />
  335. <h3>Matrix<br><small>Chat</small></h3>
  336. </div>
  337. </div>
  338. {% endif %}
  339. <div class="col-md-2 col-sm-4 col-xs-6">
  340. <div class="integration">
  341. <img src="{% static 'img/integrations/mattermost.png' %}" class="icon" alt="Mattermost icon" />
  342. <h3>Mattermost<br><small>Chat</small></h3>
  343. </div>
  344. </div>
  345. <div class="col-md-2 col-sm-4 col-xs-6">
  346. <div class="integration">
  347. <img src="{% static 'img/integrations/opsgenie.png' %}" class="icon" alt="OpsGenie icon" />
  348. <h3>OpsGenie<br><small>Incident Management</small></h3>
  349. </div>
  350. </div>
  351. {% if enable_pd %}
  352. <div class="col-md-2 col-sm-4 col-xs-6">
  353. <div class="integration">
  354. <img src="{% static 'img/integrations/pd.png' %}" class="icon" alt="PagerDuty icon" />
  355. <h3>PagerDuty<br><small>Incident Management</small></h3>
  356. </div>
  357. </div>
  358. {% endif %}
  359. <div class="col-md-2 col-sm-4 col-xs-6">
  360. <div class="integration">
  361. <img src="{% static 'img/integrations/pagerteam.png' %}" class="icon" alt="Pager Team icon" />
  362. <h3>Pager Team <br><small>Incident Management</small></h3>
  363. </div>
  364. </div>
  365. <div class="col-md-2 col-sm-4 col-xs-6">
  366. <div class="integration">
  367. <img src="{% static 'img/integrations/pagertree.png' %}" class="icon" alt="PagerTree icon" />
  368. <h3>PagerTree<br><small>Incident Management</small></h3>
  369. </div>
  370. </div>
  371. {% if enable_pushbullet %}
  372. <div class="col-md-2 col-sm-4 col-xs-6">
  373. <div class="integration">
  374. <img src="{% static 'img/integrations/pushbullet.png' %}" class="icon" alt="Pushbullet icon" />
  375. <h3>Pushbullet<br><small>Push Notifications</small></h3>
  376. </div>
  377. </div>
  378. {% endif %}
  379. {% if enable_pushover %}
  380. <div class="col-md-2 col-sm-4 col-xs-6">
  381. <div class="integration">
  382. <img src="{% static 'img/integrations/po.png' %}" class="icon" alt="Pushover icon" />
  383. <h3>Pushover<br><small>Push Notifications</small></h3>
  384. </div>
  385. </div>
  386. {% endif %}
  387. {% if enable_sms %}
  388. <div class="col-md-2 col-sm-4 col-xs-6">
  389. <div class="integration">
  390. <img src="{% static 'img/integrations/sms.png' %}" class="icon" alt="SMS icon" />
  391. <h3>SMS<br><small>&nbsp;</small></h3>
  392. </div>
  393. </div>
  394. {% endif %}
  395. {% if enable_telegram %}
  396. <div class="col-md-2 col-sm-4 col-xs-6">
  397. <div class="integration">
  398. <img src="{% static 'img/integrations/telegram.png' %}" class="icon" alt="Telegram icon" />
  399. <h3>Telegram<br><small>Chat</small></h3>
  400. </div>
  401. </div>
  402. {% endif %}
  403. {% if enable_trello %}
  404. <div class="col-md-2 col-sm-4 col-xs-6">
  405. <div class="integration">
  406. <img src="{% static 'img/integrations/trello.png' %}" class="icon" alt="Trello icon" />
  407. <h3>Trello<br><small>Project Management</small></h3>
  408. </div>
  409. </div>
  410. {% endif %}
  411. <div class="col-md-2 col-sm-4 col-xs-6">
  412. <div class="integration">
  413. <img src="{% static 'img/integrations/victorops.png' %}" class="icon" alt="VictorOps icon" />
  414. <h3>VictorOps<br><small>Incident Management</small></h3>
  415. </div>
  416. </div>
  417. {% if enable_whatsapp %}
  418. <div class="col-md-2 col-sm-4 col-xs-6">
  419. <div class="integration">
  420. <img src="{% static 'img/integrations/whatsapp.png' %}" class="icon" alt="WhatsApp icon" />
  421. <h3>WhatsApp<br><small>Chat</small></h3>
  422. </div>
  423. </div>
  424. {% endif %}
  425. </div>
  426. <div class="row tour-section">
  427. <div class="col-sm-12">
  428. <h1 class="text-center">What Can I Monitor With {% site_name %}?</h1>
  429. </div>
  430. <div class="col-sm-6 use-cases">
  431. <h2>Cron Jobs</h2>
  432. <p>{% site_name %} monitoring is a great fit for cron jobs and cron-like systems
  433. (systemd timers, Jenkins build jobs, Windows Scheduled Tasks, wp-cron, uwsgi cron-like
  434. interface, Heroku Scheduler, ...). A failed cron job often has no immediate visible
  435. consequences, and can go unnoticed for a long time.</p>
  436. <p>Specific examples:</p>
  437. <ul>
  438. <li>Filesystem backups</li>
  439. <li>Database backups</li>
  440. <li>Daily, weekly, monthly report emails</li>
  441. <li>SSL renewals</li>
  442. <li>Business data import and sync</li>
  443. <li>Antivirus scans</li>
  444. <li>Dynamic DNS updates</li>
  445. </ul>
  446. </div>
  447. <div class="col-sm-6 use-cases">
  448. <h2>Processes, Services, Servers</h2>
  449. <p>{% site_name %} monitoring can be used for lightweight server monitoring:
  450. ensuring a particular system service, or the server as a whole is alive and healthy.
  451. Write a shell script that checks for a specific condition, and pings {% site_name %}
  452. if successful. Run the shell script regularly.</p>
  453. <p>Specific examples:</p>
  454. <ul>
  455. <li>Check a specific docker container is running</li>
  456. <li>Check a specific application process is running</li>
  457. <li>Check database replication lag</li>
  458. <li>Check system resources: free disk, free RAM, ...</li>
  459. <li>Send simple, unconditional "I'm alive" messages from your server (or your NAS,
  460. router, Raspberry Pi, ...)</li>
  461. </ul>
  462. </div>
  463. </div>
  464. <div class="row">
  465. {% if registration_open %}
  466. <div class="footer-jumbo-bleed">
  467. <div class="col-sm-10 col-sm-offset-1">
  468. <div id="footer-cta" class="jumbotron text-center">
  469. <p>{% site_name %} is a <strong>free</strong> and
  470. <a href="https://github.com/healthchecks/healthchecks">open source</a> service.
  471. Setting up monitoring for your cron jobs only takes minutes.
  472. Start sleeping better at nights!</p>
  473. <a href="#" data-toggle="modal" data-target="#signup-modal" class="btn btn-lg btn-primary">
  474. Sign Up
  475. </a>
  476. </div>
  477. </div>
  478. </div>
  479. {% endif %}
  480. </div>
  481. </div>
  482. {% include "front/signup_modal.html" %}
  483. {% endblock %}
  484. {% block scripts %}
  485. {% compress js %}
  486. <script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
  487. <script src="{% static 'js/bootstrap.min.js' %}"></script>
  488. <script src="{% static 'js/clipboard.min.js' %}"></script>
  489. <script src="{% static 'js/snippet-copy.js' %}"></script>
  490. <script src="{% static 'js/signup.js' %}"></script>
  491. {% endcompress %}
  492. {% endblock %}