Skip to content

Simple Nano Node Monitoring Tool with optional slack and discord webhook notifications

Notifications You must be signed in to change notification settings

nanocurrency/nmonit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

nmonit.py

Simple Nano Node Monitoring Tool with optional slack and discord webhook notifications


Requirements:

  • python3
  • requests pip3 install requests

Usage:

nmonit.py [-h] [--connection_string CONNECTION_STRING] [--slack_webhook SLACK] [--discord_webhook DISCORD] --nickname NICKNAME

optional arguments:

Flag Description Default
-h, --help show this help message and exit
--connection_string RPC connection to node localhost:7076
--slack_webhook Slack Websocket url to send to unset
--discord_webhook Discord Webhook to send to unset
--nickname endpoint nickname
  1. Server Settings
  2. Integrations
  3. Create Webhook
  1. Create Slack App
  2. Enable Incoming Webhooks
  3. Create Webhook

Creating cronjob:

  1. crontab -e
  2. add the following to the crontab */5 * * * * /path/to/python3 /path/to/nmonit.py --connection_string=\<endpoint:port\> --slack_webhook=\<slack webhook url\> --discord_webhook=\<discord webhook url\> --nickname=\<connection nickname> adjusting */5 * * * * as required

About

Simple Nano Node Monitoring Tool with optional slack and discord webhook notifications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages