sixarm_ruby_sentry
SixArm.com » Ruby » Sentry simple monitorning of URI links, DNS names, etc.
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.3%) to scientific vocabulary
Keywords
Repository
SixArm.com » Ruby » Sentry simple monitorning of URI links, DNS names, etc.
Basic Info
- Host: GitHub
- Owner: SixArm
- License: other
- Language: Ruby
- Default Branch: main
- Size: 38.1 KB
Statistics
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
SixArm.com → Ruby →
Sentry script system monitoring
- Link: http://sixarm.com/sixarm_ruby_sentry/doc
- Repo: http://github.com/sixarm/sixarm_ruby_sentry <!--header-shut-->
Introduction
Sentry is a script for simple system monitoring:
Sentry can fetch a web page URI, or resolve a DNS name.
And do multiple attempts if you want.
And calculate if results are fast enough.
If there's an error, then Sentry prints diagnostics.
And can send email alerts.
If you're interested in this kind of monitoring, we suggest trying Nagios, Monit, and similar software.
Examples
Test that the system can successfully fetch a URI:
sentry www.example.com
Test DNS lookup:
sentry --dns www.example.com
Test FTP fetch:
sentry ftp://user@password:ftp.example.com/foo/bar.txt
Test that the result must include text and/or exclude text:
sentry www.example.com
--include "Success"
--exclude "Failure"
Test ten times:
sentry www.example.com -n 10
Test the speed is within two seconds:
sentry www.example.com -s 2
Send errors via mail using default settings:
sentry www.example.com --mail
Send errors via mail using custom settings:
sentry www.example.com
--mail-to alice@example.com
--mail-from bob@example.com
--mail-subject "Alert!"
Options
Help:
-h, --helpPrint help.
Watcher:
--uri (uri): Specify a URI to fetch. Default is to use HTTP.--dns (host name): Specify a DNS host name to resolve.
Text search:
-i, --include (text): The response text must include this text. Example:--include "Success"-e, --exclude (text): The response text must not include this text. Example:--exclude "Failure"
Diagnostics:
-n, --number (count): How many times to run the test. Default is 1. Example:--number 10-s, --speed (seconds): The average speed must be this speed or faster. Example:--speed 1.00
Mail:
--mail: Send errors via mail? If this arg exists, then the script uses the default mail settings. This flag is automatically set to true if any of the other mail args exist. Example:--mail--mail-to (address): Send mail to this email address. Example:--mail-to alice@example.comDefault isuserathost.--mail-from (address): Send mail from this email address Example:--mail-from bob@example.comDefault isuserathost.--mail-subject (text): Send mail using this subject. Example:--mail-subject "Urgent"Default is"Sentry Alert"
System:
--user (user name): The local system user name. Default isENVUSERorENV USERNAME, or calling the system commandwhoami. This is for email defaults for "from" and "to". This is typically not needed.--host (host name): The local system host name. Default isENV HOSTorENV HOSTNAME, or calling the system reverse DNS lookup. This is used in email defaults. This is typically not needed.
Owner
- Name: SixArm
- Login: SixArm
- Kind: organization
- Email: sixarm@sixarm.com
- Location: San Francisco
- Website: http://sixarm.com
- Twitter: sixarm
- Repositories: 580
- Profile: https://github.com/SixArm
SixArm Software
Citation (CITATION.cff)
cff-version: 1.2.0
title: SixArm.com → Ruby → <br> Sentry script system monitoring
message: >-
If you use this work and you want to cite it,
then you can use the metadata from this file.
type: software
authors:
- given-names: Joel Parker
family-names: Henderson
email: joel@joelparkerhenderson.com
affiliation: joelparkerhenderson.com
orcid: 'https://orcid.org/0009-0000-4681-282X'
identifiers:
- type: url
value: 'https://github.com/SixArm/sixarm_ruby_sentry/'
description: SixArm.com → Ruby → <br> Sentry script system monitoring
repository-code: 'https://github.com/SixArm/sixarm_ruby_sentry/'
abstract: >-
SixArm.com → Ruby → <br> Sentry script system monitoring
license: See license file
GitHub Events
Total
- Push event: 1
Last Year
- Push event: 1
Committers
Last synced: 6 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| SixArm | s****m@s****m | 83 |