Surveillance du statut de services en ligne
Go to file
adrien 473a00bde0 Merge branch 'adrien/toGolang' of Production/xavierSrv into master
Release
2020-05-10 18:44:53 +00:00
bin Write status checker 2019-11-19 18:29:30 +01:00
config Add smtp support 2020-05-10 14:50:02 +02:00
examples Add smtp support 2020-05-10 14:50:02 +02:00
tools Add smtp support 2020-05-10 14:50:02 +02:00
.gitignore Ignore vsc ... 2019-12-19 11:26:17 +01:00
LICENSE Initial commit 2019-04-16 12:08:48 +00:00
Makefile Add make file 2020-05-10 20:08:58 +02:00
README.md Init Go project base 2019-09-20 11:39:02 +02:00
main.go Add smtp support 2020-05-10 14:50:02 +02:00
result.log Fail to add logfile (try buff log for gort) 2020-05-09 02:14:47 +02:00

xavierSrv

Teeny Weeny status checker.


Xavier isnt a simple guy, but the X-Men leader ! With Cerebro, he can watch all your X-services, check their http status, and when something fails… he uses psychic energy to execute some prepared X-request.

🛃 Usage

Can be use with none, one or two args.

  • First arg is for HTML output OR -h (print help)
  • Second arg for url list path Exemple ./xavier.sh /x-mansion/x-services.html /x-mansion/cerebro.list

By default, when no one arg is given ${root}/status.html and ${root}/url.list are used.

🛂 url.list

Each line is a tested url, composed like STATUS:URL[:PORT]:

  • Expected HTTP status (if not = fail)
  • Service url or ip
  • Can be add port like :8080

Except all lines prefixed by # **OR **%

  • # is for comments
  • % is for commands when a check fail