Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/helloimalemur/notify_via_discord
Rust micro-app used to send messages to Discord web-hook (Nagios compatible)
https://github.com/helloimalemur/notify_via_discord
discord nagios nagios-notify nagios-plugin rust webhook
Last synced: 5 days ago
JSON representation
Rust micro-app used to send messages to Discord web-hook (Nagios compatible)
- Host: GitHub
- URL: https://github.com/helloimalemur/notify_via_discord
- Owner: helloimalemur
- License: gpl-3.0
- Created: 2023-01-15T19:04:23.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-16T13:46:52.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T19:20:37.288Z (over 1 year ago)
- Topics: discord, nagios, nagios-notify, nagios-plugin, rust, webhook
- Language: Rust
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Notify_Via_Discord
Rust micro-app used to send messages to Discord web-hook ~(Nagios compatible)~sends POST to specified Discord webhook url using specified username and message
Format: ./notify_discord $api_url$ $username$ $message$
note: installable as Nagios plugin
### One-line Nagios Plugin Install
builds in /tmp and copies bin to /usr/local/nagios/libexec/
```agsl
curl -H 'Cache-Control: no-cache, no-store' https://raw.githubusercontent.com/helloimalemur/notify_via_discord/main/src/install_as_nagios_plugin.sh | sh
```### Normal build
git clone https://github.com/helloimalemur/notify_via_discord.git
cd notify_via_discord/
cargo build
./target/debug/notify_via_discord $api_url$ $username$ $message$