Skip to content

Sentinel Notify is a simple Rust script that periodically checks the availability of an application or system by pinging a specified URL. If the application or system is detected as offline, you can implement logic to send notifications.

License

Notifications You must be signed in to change notification settings

m4nd0mb3/sentinel-notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentinel Notify

GitHub release GitHub downloads GitHub license
Documentation Status GitHub issues GitHub followers github fork badge

Sentinel Notify

Simple Rust script to periodically check the availability of an application or system.
Sentinel Notify is a simple Rust script that periodically checks the availability of an application or system by pinging a specified URL. If the application or system is detected as offline, you can implement logic to send notifications.

UsageCustomizationContributingLicense

Usage

  1. Make sure you have Rust installed. You can download and install it from https://www.rust-lang.org/tools/install.

  2. Clone this repository:

git clone https://github.com/m4nd0mb3/sentinel-notify.git
cd sentinel-notify
  1. Replace the contents of src/main.rs with the code provided in the main.rs file.

  2. Run the script:

cargo run

The script will periodically check the specified URL and print messages indicating whether the application or system is online or offline. You can modify the code to add your desired notification logic.

Customization

Feel free to customize the target_url and sleep_duration variables to fit your requirements. You can also implement additional logic for sending notifications in case of an offline status.

Contributing

Contributions are welcome! If you find any issues or want to improve the script, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Sentinel Notify is a simple Rust script that periodically checks the availability of an application or system by pinging a specified URL. If the application or system is detected as offline, you can implement logic to send notifications.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages