PHPackages                             surebert/monitor-http-status - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. surebert/monitor-http-status

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

surebert/monitor-http-status
============================

Used to monitor http server statuses and log and notify issues

0.0.1.x-dev(7y ago)120MITPHPPHP &gt;=7.1

Since Oct 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/surebert/monitor-http-status)[ Packagist](https://packagist.org/packages/surebert/monitor-http-status)[ Docs](https://gitlab.com/paulvisco/monitor-http-status)[ RSS](/packages/surebert-monitor-http-status/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (2)Used By (0)

Used to monitor http status of websites and notify if needed

Install with composer
=====================

[](#install-with-composer)

```
mkdir monitor-http-status;
cd monitor-http-status;
composer require surebert/monitor-http-status:dev-master
```

Installing as a command line tool
=================================

[](#installing-as-a-command-line-tool)

You can convert this into a command line tool using the installer

```
php vendor/surebert/monitor-http-status/installation/install.php
```

Afterwards you will find a monitor-http-status command in the ./bin directory

You could copy this to somewhere in your path e.g. /usr/local/bin/monitor-http-status if you want to be able to use it from elsewhere

This example copies the command to /usr/local/bin and makes it runnable by all users

```
sudo cp ./bin/monitor-http-status /usr/local/bin/monitor-http-status
sudo chmod a+rx /usr/local/bin/monitor-http-status

```

To run, make your log base directory and then run the command You may have to change the ownership on the directory depending on who you are running as

```
./bin/monitor-http-status -v -e=some@email.com -u=https://somesite.com,https://some-other.com
```

Running as a service with logging to central log
================================================

[](#running-as-a-service-with-logging-to-central-log)

If you want to run this command as a service

Installing as Init.d System Service
-----------------------------------

[](#installing-as-initd-system-service)

The installation/services/sysv/etc/init.d/monitor-http-status file can be used as a system service simply copy the file into /etc/init.d/monitor-http-status on your server and make it executable

```
sudo cp vendor/surebert/monitor-http-status/installation/services/sysv/etc/init.d/monitor-http-status /etc/init.d/ ;
sudo chmod 0755 /etc/init.d/monitor-http-status
```

Now because we don't want this running as root to reduce attack vector, add a user for this service

```
sudo useradd monitor-http-status;
```

Then edit the file to watch the URLs you want and to send to the email you want near the top of the file in the SCRIPT definition

```
sudo nano /etc/init.d/monitor-http-status
```

Then test the command

```
sudo service monitor-http-status start

```

If its working you should see logs in /var/log/monitor-http-status.log

If everything works out, you can set it to start on server boot

```
sudo chkconfig monitor-http-status on

```

Building your own version of the command
========================================

[](#building-your-own-version-of-the-command)

You could easily change the command functionality by editing the cli.php file in installation/cli.php before compiling into the command above

For example you could replace the notification function with something that sends SMS

You could replace file based logging with something decentralized

When done just rerun, the install command from the base directory

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2766d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ac01768e887ce6fcf55416a35dcd8c6def1ad3cd29906417d6b84c7545340881?d=identicon)[surebert](/maintainers/surebert)

---

Top Contributors

[![pvrpccc](https://avatars.githubusercontent.com/u/47859229?v=4)](https://github.com/pvrpccc "pvrpccc (23 commits)")[![surebert](https://avatars.githubusercontent.com/u/1123857?v=4)](https://github.com/surebert "surebert (3 commits)")

---

Tags

http statussurebertmonitor-http-status

### Embed Badge

![Health badge](/badges/surebert-monitor-http-status/health.svg)

```
[![Health](https://phpackages.com/badges/surebert-monitor-http-status/health.svg)](https://phpackages.com/packages/surebert-monitor-http-status)
```

###  Alternatives

[symfony/monolog-bridge

Provides integration for Monolog with various Symfony components

2.6k189.7M258](/packages/symfony-monolog-bridge)[rollbar/rollbar

Monitors errors and exceptions and reports them to Rollbar

33723.7M82](/packages/rollbar-rollbar)[illuminate/log

The Illuminate Log package.

6224.3M518](/packages/illuminate-log)[honeybadger-io/honeybadger-php

Honeybadger PHP library

381.5M4](/packages/honeybadger-io-honeybadger-php)[graycore/magento2-stdlogging

A Magento 2 module that changes all logging handlers to stdout

2382.6k](/packages/graycore-magento2-stdlogging)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
