ndom91 / newtelco-node-snmp

Newtelco Drycontact Alarm Watcher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

newtelco-snmp

Newtelco SNMP Checker designed to check dry contact environment sensors faster than any existing solution out there.

Design

Currently it checks via SNMP all attached dry contacts to the ServersCheck platform.

It then compares if anything has changed since the last check, and if so - alerts users via Telegram / Email.

Config

Create a config.json file with the following contents and pass the filename as the first argument to the application.

{
  "hosts": [
    {
      "address": "",
      "label": "",
      "community": ""
    }
  ],
  "alerts": {
    "email": {
      "host": "",
      "port": "",
      "from": "",
      "user": "",
      "pw": "",
      "to": ["", ""]
    },
    "telegram": {
      "token": "",
      "people": ["", ""]
    }
  }
}

Usage

npx newtelco-snmp config.json

About

Newtelco Drycontact Alarm Watcher


Languages

Language:JavaScript 61.9%Language:Vue 30.7%Language:HTML 7.4%