All Projects → pioz → bulldog

pioz / bulldog

Licence: GPL-3.0 License
The http checker

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects
Roff
2310 projects

Projects that are alternatives of or similar to bulldog

Discord-Nitro-BruteForce
simple discord nitro code generator and checker written in c#
Stars: ✭ 26 (+100%)
Mutual labels:  checker
rest-ftp-daemon
A pretty simple but configurable and efficient FTP-client daemon, driven through a RESTful API, used by France Télévisions in production
Stars: ✭ 23 (+76.92%)
Mutual labels:  daemon
connection checker
Android library for checking the internet connectivity of a device.
Stars: ✭ 26 (+100%)
Mutual labels:  checker
macos
macOS load bootup and optimization
Stars: ✭ 29 (+123.08%)
Mutual labels:  daemon
tarssh
A simple SSH tarpit inspired by endlessh
Stars: ✭ 98 (+653.85%)
Mutual labels:  daemon
Smtp-Cracker-V3
[NEW] : Simple Mail Transfer Protocol (SMTP) CHECKER - CRACKER Tool V3
Stars: ✭ 18 (+38.46%)
Mutual labels:  checker
proxy checker
A checker designed in Python 3 for checking proxy.
Stars: ✭ 37 (+184.62%)
Mutual labels:  checker
hid-io-core
HID-IO Library and Daemon
Stars: ✭ 51 (+292.31%)
Mutual labels:  daemon
pf-diverters
A collection of (OpenBSD) PF divert socket daemons
Stars: ✭ 42 (+223.08%)
Mutual labels:  daemon
python-valid8
Yet another validation lib ;). Provides tools for general-purpose variable validation, function inputs/outputs validation as well as class fields validation. All entry points raise consistent ValidationError including all contextual details, with dynamic inheritance of ValueError/TypeError as appropriate.
Stars: ✭ 24 (+84.62%)
Mutual labels:  checker
gateway
A proxy to buffer and forward metrics, events, and traces.
Stars: ✭ 94 (+623.08%)
Mutual labels:  daemon
jsonmon
Quick and simple monitoring and alerting system
Stars: ✭ 28 (+115.38%)
Mutual labels:  checker
pulseha
PulseHA is a active-passive high availability cluster daemon that uses GRPC and is written in GO.
Stars: ✭ 15 (+15.38%)
Mutual labels:  daemon
scrapy-do
A daemon for scheduling Scrapy spiders
Stars: ✭ 60 (+361.54%)
Mutual labels:  daemon
libtor
Bundle and run Tor inside your own project
Stars: ✭ 60 (+361.54%)
Mutual labels:  daemon
dxhd
daky's X11 Hotkey Daemon
Stars: ✭ 80 (+515.38%)
Mutual labels:  daemon
chinaid
🇨🇳中国大陆身份证号解析/校验
Stars: ✭ 18 (+38.46%)
Mutual labels:  checker
autosuspend
A daemon to automatically suspend and wake up a system
Stars: ✭ 52 (+300%)
Mutual labels:  daemon
FCommunity
multi Checkers (Hma/Hulu/Spotify/Call of duty/Instagram/smtp2go/VyprVpn) in One Tool Named FCommunity
Stars: ✭ 26 (+100%)
Mutual labels:  checker
powerplan
No description or website provided.
Stars: ✭ 27 (+107.69%)
Mutual labels:  daemon

Bulldog

logo

Bulldog is an amazing hunting dog that checks for you a list of URLs and warns you by email if one of them returns a http code that is not 200.

Installation

Install it yourself

$ go get github.com/pioz/bulldog
$ cd $GOPATH/src/github.com/pioz/bulldog
$ go build
$ ./bulldog -v

or ⬇️ download and install the .deb package with

$ dpkg -i bulldog_0.2.1-1_amd64.deb

Usage

Bulldog loads a list of URLs and for each of them executes a GET http request. If the request fails or returns a different http code than 200, it will send you an email to alert you. When the list is over it starts to sleep for a while and then restarts the controls.

Bulldog uses a configuration file with various options:

[time]
# After checking the entire list of URLs sleep for these seconds.
s=60
# After checking the entire list of URLs and at least a check fail sleep for
# these seconds. Usually this time is greater to not warn you continuously.
se=600
# Http request timeout. If the timeout is reached the check is to be considered
# as failed.
t=10
[logging]
# Log file path. If empty logs on stdout.
logfile=/var/log/bulldog.log
# Disables logs.
quiet=false
[email]
# Gmail account. If this is present send email using the gmail smtp server. Use
# -pass flag to specify the gmail account password. If this flag is empty send
# email using `mail` command line program.
gmail[email protected]
# Gmail account password. Only relevant when using -gmail flag.
pass=pa$$w0rd
# When a check fails send an email on this email address. If is empty the email
# alert is disabled.
to[email protected]
[urls]
# Comma-separated list of URLs to check.
urls=http://google.com,http://twitter.com/

To unleash Bulldog run the follow command:

$ bulldog -config /path/to/config/file

You can pass also the config file options as command arguments:

$ bulldog -urls http://google.com -to [email protected] -s 10

You can also perform a check on the list only once and then exit (status code 1 if at least one check fails):

$ bulldog -urls http://google.com,http://twitter.com -1

For the complete list of command line arguments:

$ bulldog -h

init.d script

Instruction here.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/pioz/bulldog.

License

The package is available as open source under the terms of the GPL License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].