Surveillance du statut de services en ligne
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
adrien 31c79becf2 Fix bug of cmdr increm (~infinit loop) 3 years ago
bin Fix bug of cmdr increm (~infinit loop) 3 years ago
.gitignore Update git ignore 3 years ago
LICENSE Initial commit 3 years ago
README.md Up rdm 3 years ago

README.md

xavierSrv

Teeny Weeny status checker.


Xavier isn’t 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