Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@p4d/network-monitor

Package Overview
Dependencies
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@p4d/network-monitor

Raspberry Pi utility that emits alerts periodically with network status.

  • 1.8.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

Network-Monitor

Network utility written in NodeJS that emits alerts periodically to a Hermes server with network status.

Network-Monitor is a command line utility:

  • it can be run manually at anytime
  • it's scheduled to be run every 5 minutes by a cron job

Network-Monitor uses Hermes nodejs library, this means that if internet connection is available to the RPi, the alerts are guaranteed to reach Hermes server.

Requirements

  • cron installed on RPi
  • Hermes server configured and available
  • RPi in ready state (Project id, Kronos id and Hermes Url must be assigned) - See RPi Status docs

Installation

RPi is distributed via NPM:

sudo npm install -g --unsafe-perm @p4d/network-monitor

Notes:

  • -g - Global flag is required so that the utility is accessible from anywhere in the system.
  • --unsafe-perm - This flag is required to set up the cron job for sudo user.

Usage

Manual usage:

# Just running the command will do it
network-monitor

Automatic usage:

# The cron job that automates it
*/5 * * * * network-monitor

Keywords

FAQs

Package last updated on 26 Sep 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc