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.

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