https://github.com/codenoid/process-monitor
You got really sensitive & expensive API &/ Service, and you are unsure with daemon system, you gonna need this
https://github.com/codenoid/process-monitor
process-manager process-monitor process-watcher
Last synced: 2 months ago
JSON representation
You got really sensitive & expensive API &/ Service, and you are unsure with daemon system, you gonna need this
- Host: GitHub
- URL: https://github.com/codenoid/process-monitor
- Owner: codenoid
- Created: 2020-07-06T01:48:33.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-06T05:02:32.000Z (almost 5 years ago)
- Last Synced: 2025-02-02T15:48:43.984Z (4 months ago)
- Topics: process-manager, process-monitor, process-watcher
- Language: Go
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# process-monitor
Process monitor/watcher by process name, and notify user via telegram bot

## Installing
if you already has Go:
`go get github.com/codenoid/process-monitor`
or download on [Release page](https://github.com/codenoid/process-monitor/releases)
## Requirement
- Telegram bot, generated at [@BotFather](https://t.me/BotFather)
- A Telegram Room/Bot/Account for receiving notification## Usage
```sh
Usage of ./process-monitor:
-config string
path to process-monitor config file (default "config.yaml")
-watch string
path to txt file that contain list of process name separated by newline (default "watch_list.txt")
```after your process-monitor running in first time, invite the bot to channel/group or /start a chat with bot (for private), and after the bot
got invited, the bot will send you current chat room ID, and put that on config.yaml rooms partafter updating your config.yaml, restart the process-monitor process
## Dev TODO
- fix code structure
- fix variable naming