Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

Commit

Permalink
Merge pull request #6 from e0ae240/master
Browse files Browse the repository at this point in the history
update the laravel-uptime-monitor's config file
  • Loading branch information
freekmurze committed Jun 21, 2017
2 parents 4733e96 + 6979d4f commit 161f4f3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
15 changes: 11 additions & 4 deletions README.md
Expand Up @@ -73,11 +73,11 @@ return [
'resend_uptime_check_failed_notification_every_minutes' => 60,

'mail' => [
'to' => 'your@email.com',
'to' => ['your@email.com'],
],

'slack' => [
'webhook_url' => '',
'webhook_url' => env('UPTIME_MONITOR_SLACK_WEBHOOK_URL'),
],

/*
Expand Down Expand Up @@ -107,7 +107,7 @@ return [
* given number of minutes ago. If you change this setting you have to manually
* update the `uptime_check_interval_in_minutes` value of your existing monitors.
*
* When an uptime check fails we'll check the uptime for that montitor every time `monitor:check-uptime`
* When an uptime check fails we'll check the uptime for that monitor every time `monitor:check-uptime`
* runs regardless of this setting.
*/
'run_interval_in_minutes' => 5,
Expand All @@ -120,11 +120,18 @@ return [
'concurrent_checks' => 10,

/*
* The uptime check for a monitor will fail if url does not respond after the
* The uptime check for a monitor will fail if the url does not respond after the
* given number of seconds.
*/
'timeout_per_site' => 10,

/*
* Because networks can be a bit unreliable the package can make three attempts
* to connect to a server in one uptime check. You can specify the time in
* milliseconds between each attempt.
*/
'retry_connection_after_milliseconds' => 100,

/*
* Fire `Spatie\UptimeMonitor\Events\MonitorFailed` event only after
* the given number of uptime checks have consecutively failed for a monitor.
Expand Down
15 changes: 11 additions & 4 deletions laravel/config/laravel-uptime-monitor.php
Expand Up @@ -31,11 +31,11 @@
'resend_uptime_check_failed_notification_every_minutes' => 60,

'mail' => [
'to' => 'your@email.com',
'to' => ['your@email.com'],
],

'slack' => [
'webhook_url' => '',
'webhook_url' => env('UPTIME_MONITOR_SLACK_WEBHOOK_URL'),
],

/*
Expand Down Expand Up @@ -65,7 +65,7 @@
* given number of minutes ago. If you change this setting you have to manually
* update the `uptime_check_interval_in_minutes` value of your existing monitors.
*
* When an uptime check fails we'll check the uptime for that montitor every time `monitor:check-uptime`
* When an uptime check fails we'll check the uptime for that monitor every time `monitor:check-uptime`
* runs regardless of this setting.
*/
'run_interval_in_minutes' => 5,
Expand All @@ -78,11 +78,18 @@
'concurrent_checks' => 10,

/*
* The uptime check for a monitor will fail if url does not respond after the
* The uptime check for a monitor will fail if the url does not respond after the
* given number of seconds.
*/
'timeout_per_site' => 10,

/*
* Because networks can be a bit unreliable the package can make three attempts
* to connect to a server in one uptime check. You can specify the time in
* milliseconds between each attempt.
*/
'retry_connection_after_milliseconds' => 100,

/*
* Fire `Spatie\UptimeMonitor\Events\MonitorFailed` event only after
* the given number of uptime checks have consecutively failed for a monitor.
Expand Down

0 comments on commit 161f4f3

Please sign in to comment.