# sloef

> Module to check if online services are still running

Latest version **0.0.6** (published 2014-11-18) · 0 weekly downloads

## Install

```sh
npm install sloef
pnpm add sloef
yarn add sloef
bun add sloef
```

Provides the command `sloef`.

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2014-11-18 |
| First published | 2014-11-16 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.30 |
| Dependencies | 7 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | lovebug356 |

## Links

- npm: https://www.npmjs.com/package/sloef
- npm.io page: https://npm.io/package/sloef

## Dependencies (7)

- [q](https://npm.io/package/q.md) ^1.1.1
- [pifpaf](https://npm.io/package/pifpaf.md) ~1.0.4
- [emailjs](https://npm.io/package/emailjs.md) ^0.3.12
- [gulp-git](https://npm.io/package/gulp-git.md) ^0.4.3
- [gulp-bump](https://npm.io/package/gulp-bump.md) ^0.1.10
- [gulp-rimraf](https://npm.io/package/gulp-rimraf.md) ^0.1.1
- [gulp-install](https://npm.io/package/gulp-install.md) ^0.1.5

## Recent versions

- 0.0.6 (latest) — 2014-11-18
- 0.0.5 — 2014-11-16
- 0.0.4 — 2014-11-16
- 0.0.3 — 2014-11-16

## README

# Sloef

Sloef is a small module that checks if online services (like web pages) are still online. On Failure it sends an email to a preconfigured email address.

## Installation

Sloef is available via [git](https://github.com/lovebug356/sloef) or [npm](https://www.npmjs.org/package/sloef).

`npm install -g sloef`

or

`git clone git@github.com:lovebug356/sloef.git`

## Configuration

A configuration file (`/etc/sloef.json` or `.sloef.json`) should have the content:
```
{
  "server": {
    "user": "xxx@xxx.xx",
    "password": "xxx",
    "host": "smtp.gmail.com",
    "ssl": true
  },
  "from": "xxx@xxx.xx",
  "to": "xxx@xxx.xx",
  "retryDelay": 60000,
  "retryCount": 5,
  "urls": [
    "http://www.nodejs.org"
  ]
}
```

## Systemd

After copying (and adapting) the systemd service and timer file, the timer (or service) can be enabled and sloef is running.
```
cp systemd/sloef.service /etc/systemd/system
cp systemd/sloef.timer /etc/systemd/system
sudo systemctl enable sloef.timer
```

---
_Source: https://npm.io/package/sloef · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
