New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

sloef

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sloef

Module to check if online services are still running

latest
npmnpm
Version
0.0.6
Version published
Maintainers
1
Created
Source

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 or npm.

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

FAQs

Package last updated on 18 Nov 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts