Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/helloimalemur/nagios_check_site_content
Nagios plugin written in Rust, used to check website for specified content.
https://github.com/helloimalemur/nagios_check_site_content
availability check-web-site nagios nagios-check nagios-plugin ncpa
Last synced: 5 days ago
JSON representation
Nagios plugin written in Rust, used to check website for specified content.
- Host: GitHub
- URL: https://github.com/helloimalemur/nagios_check_site_content
- Owner: helloimalemur
- Created: 2023-01-22T14:02:29.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-23T22:50:36.000Z (10 months ago)
- Last Synced: 2024-01-23T23:46:37.170Z (10 months ago)
- Topics: availability, check-web-site, nagios, nagios-check, nagios-plugin, ncpa
- Language: Rust
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nagios_check_site_content
Nagios plugin written in Rust, used to check website for specified content.sends GET to specified url and checks the response body for a specified keyword (Nagios compatible)
Format;
./check_site **%username% **%password% %url% %keyword%note:
installable as Nagios plugin
use environment variables to pass credentials### 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/nagios_check_site_content/master/src/install_as_nagios_plugin.sh | sh
```### Normal build
git clone https://github.com/helloimalemur/nagios_check_site_content.git
cd check_site_for_keyword/
cargo build
export CSUSER="<>"
export CSCRED="<>"
target/debug/check_site_for_keyword "$CSUSER" "$CSCRED" https://elastic:9200 build_hash