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.

548 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="" />
  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="" />
  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="" />
  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="" />
  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="" />
  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="" />
  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="" />
  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/msteams.png' %}" class="icon" alt="" />
  348. <h3>Microsoft Teams<br><small>Chat</small></h3>
  349. </div>
  350. </div>
  351. <div class="col-md-2 col-sm-4 col-xs-6">
  352. <div class="integration">
  353. <img src="{% static 'img/integrations/opsgenie.png' %}" class="icon" alt="" />
  354. <h3>OpsGenie<br><small>Incident Management</small></h3>
  355. </div>
  356. </div>
  357. <div class="col-md-2 col-sm-4 col-xs-6">
  358. <div class="integration">
  359. <img src="{% static 'img/integrations/pd.png' %}" class="icon" alt="" />
  360. <h3>PagerDuty<br><small>Incident Management</small></h3>
  361. </div>
  362. </div>
  363. <div class="col-md-2 col-sm-4 col-xs-6">
  364. <div class="integration">
  365. <img src="{% static 'img/integrations/pagerteam.png' %}" class="icon" alt="" />
  366. <h3>Pager Team <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="" />
  372. <h3>PagerTree<br><small>Incident Management</small></h3>
  373. </div>
  374. </div>
  375. {% if enable_pushbullet %}
  376. <div class="col-md-2 col-sm-4 col-xs-6">
  377. <div class="integration">
  378. <img src="{% static 'img/integrations/pushbullet.png' %}" class="icon" alt="" />
  379. <h3>Pushbullet<br><small>Push Notifications</small></h3>
  380. </div>
  381. </div>
  382. {% endif %}
  383. {% if enable_pushover %}
  384. <div class="col-md-2 col-sm-4 col-xs-6">
  385. <div class="integration">
  386. <img src="{% static 'img/integrations/po.png' %}" class="icon" alt="" />
  387. <h3>Pushover<br><small>Push Notifications</small></h3>
  388. </div>
  389. </div>
  390. {% endif %}
  391. {% if enable_shell %}
  392. <div class="col-md-2 col-sm-4 col-xs-6">
  393. <div class="integration">
  394. <img src="{% static 'img/integrations/shell.png' %}" class="icon" alt="" />
  395. <h3>Shell Commands<br><small>&nbsp;</small></h3>
  396. </div>
  397. </div>
  398. {% endif %}
  399. {% if enable_sms %}
  400. <div class="col-md-2 col-sm-4 col-xs-6">
  401. <div class="integration">
  402. <img src="{% static 'img/integrations/sms.png' %}" class="icon" alt="" />
  403. <h3>SMS<br><small>&nbsp;</small></h3>
  404. </div>
  405. </div>
  406. {% endif %}
  407. {% if enable_telegram %}
  408. <div class="col-md-2 col-sm-4 col-xs-6">
  409. <div class="integration">
  410. <img src="{% static 'img/integrations/telegram.png' %}" class="icon" alt="" />
  411. <h3>Telegram<br><small>Chat</small></h3>
  412. </div>
  413. </div>
  414. {% endif %}
  415. {% if enable_trello %}
  416. <div class="col-md-2 col-sm-4 col-xs-6">
  417. <div class="integration">
  418. <img src="{% static 'img/integrations/trello.png' %}" class="icon" alt="" />
  419. <h3>Trello<br><small>Project Management</small></h3>
  420. </div>
  421. </div>
  422. {% endif %}
  423. <div class="col-md-2 col-sm-4 col-xs-6">
  424. <div class="integration">
  425. <img src="{% static 'img/integrations/victorops.png' %}" class="icon" alt="" />
  426. <h3>VictorOps<br><small>Incident Management</small></h3>
  427. </div>
  428. </div>
  429. {% if enable_whatsapp %}
  430. <div class="col-md-2 col-sm-4 col-xs-6">
  431. <div class="integration">
  432. <img src="{% static 'img/integrations/whatsapp.png' %}" class="icon" alt="" />
  433. <h3>WhatsApp<br><small>Chat</small></h3>
  434. </div>
  435. </div>
  436. {% endif %}
  437. </div>
  438. <div class="row tour-section">
  439. <div class="col-sm-12">
  440. <h1 class="text-center">What Can I Monitor With {% site_name %}?</h1>
  441. </div>
  442. <div class="col-sm-6 use-cases">
  443. <h2>Cron Jobs</h2>
  444. <p>{% site_name %} monitoring is a great fit for cron jobs and cron-like systems
  445. (systemd timers, Jenkins build jobs, Windows Scheduled Tasks, wp-cron, uwsgi cron-like
  446. interface, Heroku Scheduler, ...). A failed cron job often has no immediate visible
  447. consequences, and can go unnoticed for a long time.</p>
  448. <p>Specific examples:</p>
  449. <ul>
  450. <li>Filesystem backups</li>
  451. <li>Database backups</li>
  452. <li>Daily, weekly, monthly report emails</li>
  453. <li>SSL renewals</li>
  454. <li>Business data import and sync</li>
  455. <li>Antivirus scans</li>
  456. <li>Dynamic DNS updates</li>
  457. </ul>
  458. </div>
  459. <div class="col-sm-6 use-cases">
  460. <h2>Processes, Services, Servers</h2>
  461. <p>{% site_name %} monitoring can be used for lightweight server monitoring:
  462. ensuring a particular system service, or the server as a whole is alive and healthy.
  463. Write a shell script that checks for a specific condition, and pings {% site_name %}
  464. if successful. Run the shell script regularly.</p>
  465. <p>Specific examples:</p>
  466. <ul>
  467. <li>Check a specific docker container is running</li>
  468. <li>Check a specific application process is running</li>
  469. <li>Check database replication lag</li>
  470. <li>Check system resources: free disk, free RAM, ...</li>
  471. <li>Send simple, unconditional "I'm alive" messages from your server (or your NAS,
  472. router, Raspberry Pi, ...)</li>
  473. </ul>
  474. </div>
  475. </div>
  476. <div class="row">
  477. {% if registration_open %}
  478. <div class="footer-jumbo-bleed">
  479. <div class="col-sm-10 col-sm-offset-1">
  480. <div id="footer-cta" class="jumbotron text-center">
  481. <p>{% site_name %} is a <strong>free</strong> and
  482. <a href="https://github.com/healthchecks/healthchecks">open source</a> service.
  483. Setting up monitoring for your cron jobs only takes minutes.
  484. Start sleeping better at nights!</p>
  485. <a href="#" data-toggle="modal" data-target="#signup-modal" class="btn btn-lg btn-primary">
  486. Sign Up
  487. </a>
  488. </div>
  489. </div>
  490. </div>
  491. {% endif %}
  492. </div>
  493. </div>
  494. {% include "front/signup_modal.html" %}
  495. {% endblock %}
  496. {% block scripts %}
  497. {% compress js %}
  498. <script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
  499. <script src="{% static 'js/bootstrap.min.js' %}"></script>
  500. <script src="{% static 'js/clipboard.min.js' %}"></script>
  501. <script src="{% static 'js/snippet-copy.js' %}"></script>
  502. <script src="{% static 'js/signup.js' %}"></script>
  503. {% endcompress %}
  504. {% endblock %}