Sign inSign up

dronasys/watchdog

By dronasys

•Updated 19 days ago

GRPC, HTTP service for getting domain expiry, certificate expiry, and reachability of endpoints.

Image
0

1.3K

dronasys/watchdog repository overview

⁠Watchdog

For latest documentation, please refer to https://github.com/binuud/watchdog⁠

⁠What is this

This is simple tool to display expiry and connectivity information on a small set of domains, subdomains, and endpoints. I wanted a simple tool to look at the following

Find number of certificates associated with a domain Find the latest expiring certificate Check if whois data was updated recently (in 10 days) Check if domain is going to expire, show a warning if it is expiring in 10 days Find number of IPV4/IPv6 addresses associated with the domain If there are sub domains, make seperate entries in the config.yaml file, as shown in this readme file You might be hosting dev apps, in some intenal endpoint path like exmaple.com/dev/app1, you can add these end point entries, and the tool will check for its reachability

create a config.yaml file with the following contents.

name: MyDomains
refreshinterval: 86400
domains:
    - uuid: ""
      name: www.google.com
      domainname: google.com
      endpoints:
        - https://www.google.com
        - https://www.google.com/?client=safari
    - uuid: ""
      name: www.gmail.com
      domainname: gmail.com
      endpoints:
        - https://www.gmail.com
    - uuid: ""
      name: www.dronasys.com
      domainname: dronasys.com
      endpoints:
        - https://www.dronasys.com

For single run output

docker run -v ./config.yaml:/configs/config.yaml --entrypoint /watchDog  dronasys/watchdog  --file /configs/config.yaml   

To run in server mode (grpc + reflection, http)

docker run --name WatchDog -p 10090:9090 -p 10080:9080 -v  "./config.yaml:/configs/config.yaml" dronasys/watchdog -d

Please refer https://github.com/binuud/watchdog⁠, for instructions to access swagger interface for http api definitions.

Tag summary

Content type

Image

Digest

sha256:0e66c92f1…

Size

27.2 MB

Last updated

19 days ago

docker pull dronasys/watchdog