Skip to content

Rust micro-app used to send messages to Discord web-hook (Nagios compatible)

License

Notifications You must be signed in to change notification settings

helloimalemur/notify_via_discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

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$

About

Rust micro-app used to send messages to Discord web-hook (Nagios compatible)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published