Skip to content

vektorprogrammet/availability-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Availability Checker

I config.json kan man definere en liste med websites:

"websites": [
    "https://example.com",
    "https://google.com"
  ]

Disse vil bli pinget hvert minutt. Hvis Availability Checker ikke får 200 OK tilbake som svar vil det sendes en melding på slack til alle kanalene som er spesifisert i konfigen:

"slackWorkspaces": [
    {
      "endpoint": "https://hooks.slack.com/services/XXXXX/XXXXX/XXXXX",
      "channel": "#log_channel",
      "username": "bot_name",
      "icon_emoji": ":robot_face:"
    },
    {
      "endpoint": "https://hooks.slack.com/services/YYYYY/YYYYY/YYYYY",
      "channel": "#general",
      "username": "bot_name",
      "icon_emoji": ":robot_face:"
    }
],

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages