All Projects → intelligo-mn → uptime.js

intelligo-mn / uptime.js

Licence: MIT License
Uptime monitor in Node.js that send status changes to Chatbots

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to uptime.js

StatusPage
UptimeRobot 状态页
Stars: ✭ 58 (+11.54%)
Mutual labels:  uptime-monitor, uptime, uptimerobot
slackr
Simple shell command to send or pipe content to slack via webhooks. (To upload snippets or files use: www.github.com/a-sync/slackfu)
Stars: ✭ 41 (-21.15%)
Mutual labels:  slack-bot, slack-webhook, slack-api
dienstplan
Slack bot app for duty rotations
Stars: ✭ 14 (-73.08%)
Mutual labels:  slack-bot, slack-api
uptime-bot
A Discord uptime bot which keeps repl.it links up forever!!
Stars: ✭ 14 (-73.08%)
Mutual labels:  uptime, uptime-robot
uptimey
Simple server uptime monitor
Stars: ✭ 43 (-17.31%)
Mutual labels:  uptime-monitor, uptime
SlackWebhooksGithubCrawler
Search for Slack Webhooks token publicly exposed on Github
Stars: ✭ 21 (-59.62%)
Mutual labels:  slack-bot, slack-webhook
Slack Machine
A sexy, simple, yet powerful and extendable Slack bot
Stars: ✭ 91 (+75%)
Mutual labels:  slack-bot, slack-api
web-status-monitor
🛸 Ping websites at regular intervals using just GitHub Actions!
Stars: ✭ 17 (-67.31%)
Mutual labels:  uptime-monitor, uptimerobot
Java Slack Sdk
Slack Developer Kit (including Bolt for Java) for any JVM language
Stars: ✭ 393 (+655.77%)
Mutual labels:  slack-bot, slack-api
slack-uno
Play Uno in Slack!
Stars: ✭ 26 (-50%)
Mutual labels:  slack-bot, slack-api
pong
Basic uptime monitoring system, with email alerts and/or push notifications
Stars: ✭ 94 (+80.77%)
Mutual labels:  uptime-monitor, uptime
Slack Ruby Client
A Ruby and command-line client for the Slack Web, Real Time Messaging and Event APIs.
Stars: ✭ 957 (+1740.38%)
Mutual labels:  slack-bot, slack-api
Slack Cli
Powerful Slack CLI via pure bash. Rich messaging, uploads, posts, piping, oh my!
Stars: ✭ 850 (+1534.62%)
Mutual labels:  slack-bot, slack-api
Slack Block Builder
Lightweight, no-dependency JavaScript library for creating Slack Block Kit UIs, with a builder syntax, inspired by SwiftUI.
Stars: ✭ 129 (+148.08%)
Mutual labels:  slack-bot, slack-api
Slacker
Slack Bot Framework
Stars: ✭ 495 (+851.92%)
Mutual labels:  slack-bot, slack-api
upptime
⬆️ Free uptime monitor and status page powered by GitHub
Stars: ✭ 12,995 (+24890.38%)
Mutual labels:  uptime-monitor, uptime
slackblocks
🎲 Python API for Building Messages Using the Slack Block Kit API
Stars: ✭ 32 (-38.46%)
Mutual labels:  slack-bot, slack-api
uptimerobot-operator
A Kubernetes operator that creates UptimeRobot monitors for your ingresses
Stars: ✭ 47 (-9.62%)
Mutual labels:  uptime, uptimerobot
netcheck
A shell script to check and log when your internet connection goes down.
Stars: ✭ 138 (+165.38%)
Mutual labels:  uptime-monitor, uptime
apptime
⚡ Advanced FREE Website Monitoring Service. (Node.js & MongoDB) - Not lastest version of Apptime.
Stars: ✭ 3 (-94.23%)
Mutual labels:  uptime-monitor, uptime

Node uptime bot

npm npm GitHub license Twitter

Uptime monitor in Node.js that send status changes to Chatbots

NPM

Installation Usage Setting up Slack Contributors License

Installation

npm install uptime.js --save

Usage

const express  = require('express'),
      Uptime   = require('uptime.js');

const app = express();

app.set('port', process.env.PORT || 5000);

const bot = new Uptime({
  SLACK_WEBHOOK_URL: 'SLACK_WEBHOOK_URL'
});

bot.monitor([
  {
    url: 'https://www.intelligo.systems', // URL of service we'll be pining
    timeout: 200 // threshold in milliseconds above which is considered degraded performance
  }
]);

app.listen(app.get('port'), () => {
    console.log('Express is listening on port', app.get('port'));
});

Setting up Slack

Head on over to the Incoming WebHooks Slack app. If you're signed in to your Slack Workspace you should see an Add Configuration button. Hit it!

screenshot

Select or create a new channel then hit the Add Incoming WebHooks integration

screenshot

Grab the WebHook URL and paste it into the SLACK_WEBHOOK_URL, which would look like so:

SLACK_WEBHOOK_URL=https://hooks.slack.com/services/XXXXXX/YYYYYY/XXXXXXXXXXXX

screenshot

You can update

bot.monitor([
  {
    url: 'https://www.intelligo.systems', // URL of service we'll be pining
    timeout: 200 // threshold in milliseconds above which is considered degraded performance
  }
]);

with the services you wish to monitor and throw the code up on a server.

screenshot

Contributors

You may contribute in several ways like creating new features, fixing bugs, improving documentation and examples or translating any document here to your language. Find more information in CODE_OF_CONDUCT.md. Contributors

License

Copyright (C) 2019 Intelligo LLC.
uptime.js is open-sourced software licensed under the MIT license.
(See the LICENSE file for the whole license text.)

back to top

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].