Download the PHP package spatie/uptime-monitor-app without Composer
On this page you can find all versions of the php package spatie/uptime-monitor-app. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package uptime-monitor-app
A PHP application to monitor uptime and ssl certificates
uptime-monitor-app
is a powerful, easy to configure uptime monitor written in PHP 7. It will notify you when one of your sites goes down (and when it comes back up). You can also be notified a few days before an SSL certificate on one of your sites expires. Out of the box you can be notified via mail or Slack.
Here are some examples of how the Slack notifications look like:
Under the hood the uptime-monitor is a vanilla Laravel 5.3 application with the laravel-uptime-monitor installed into it. If you know your way around Laravel, it's recommended that you use laravel-uptime-monitor instead of this app.
Installation
You can install the application by issuing this command:
To complete your installation these steps must be performed:
First you should add the following command to your cron table. It should run every minute:
Secondly, specify a Slack webhook url in the notifications.slack.url
key
in configuration.php
found in the installation directory. You can create a new webhook url on the Slack website.
Configuration
The configuration file configuration.php
is located inside the installation directory.
Reading it is a good way to quickly get a feel of what uptime-monitor-app
can do. Here's the content of the config file:
Basic usage
To start monitoring a url:
and answer the questions that are asked. If your url starts with https://
the application will also monitor the ssl certificate.
To stop monitoring a url issue this command:
To list all monitors you can perform:
Advanced usage
Under the hood the uptime-monitor is a vanilla Laravel 5.3 application with our laravel-uptime-monitor installed into it. Please refer to it's extensive documentation to know more how to configure and use this application.
By default the application will use a sqlite
database located at <installation directory>/database.sqlite
to store all monitors.
Documentation
You'll find the documentation of the underlying laravel-uptime-monitor
package on https://docs.spatie.be/laravel-uptime-monitor/v1.
Find yourself stuck using this app or the underlying package? Found a bug? Do you have general questions or suggestions for improving the uptime monitor? Feel free to create an issue on GitHub, we'll try to address it as soon as possible.
Postcardware
You're free to use this package (it's MIT-licensed), but if it makes it to your production environment we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using.
Our address is: Spatie, Samberstraat 69D, 2060 Antwerp, Belgium.
The best postcards will get published on the open source page on our website.
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Freek Van der Herten
- All Contributors
About Spatie
Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.
License
The MIT License (MIT). Please see License File for more information.