https://github.com/zvps/zvps-php-ping-check-service
Simple PHP Ping checker with email and file loggers
https://github.com/zvps/zvps-php-ping-check-service
Last synced: 7 months ago
JSON representation
Simple PHP Ping checker with email and file loggers
- Host: GitHub
- URL: https://github.com/zvps/zvps-php-ping-check-service
- Owner: zVPS
- License: gpl-3.0
- Created: 2015-02-27T22:52:38.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-02T15:45:04.000Z (about 11 years ago)
- Last Synced: 2024-12-27T05:41:47.271Z (over 1 year ago)
- Language: PHP
- Size: 191 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple PHP Ping Checking Service
Pings a configured list of IPv4 addresses and alerts a list of notification email addresses if a ping fails.
## Setup
Very simple to setup using the `config.yml` which includes configurations for SMTP auth to send alert emails.
Application logs messages inside the `log/` folder. Logs rotate on a daily basis and may need a cleanup script added.
Install dependencies with `composer install` - https://getcomposer.org/
## Running
Should run on most linux servers with PHP installed (may need additional php-* packages - please submit an issue if you find required packages).
To run simply enter:
`php index.php`
To stop:
`ctrl + c`
To run in the background:
`nohup php index.php &`
## Notes
Pull requests are very welcome, it may take time for us to test and accept them.
This library was put together very quickly so may contain unexpected functionality (bugs), please raise issues if you find any!