Skip to content

you can monitor any sesam-node instance (up or down) on statuspage.io

License

Notifications You must be signed in to change notification settings

GabriellCVig/statuspage

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

statuspage

You can monitor any sesam-node instance (up or down) on statuspage.io using this microservice.

Here , an example of system config for this inside a node.

"SESAM_API_URL", "JWT", "PAGE_ID", "COMPONENT_ID", "API_KEY" : These are required environment variables.

This script works with both self-service multinodes and single (normal) nodes.

{
  "_id": "monitoring-node",
  "type": "system:microservice",
  "docker": {
    "environment": {
      "API_KEY": "<your status page api-key>",
      "COMPONENT_ID": "<your status page component id>",
      "JWT": "<your node jwt key to access that node>",
      "LOG_LEVEL": "INFO",
      "PAGE_ID": "<your status page page-id>",
      "SESAM_API_URL": "<your node instance url like: https://yournode.sesam.cloud/api >"
    },
    "image": "sesamcommunity/statuspage:1.1.0",
    "port": 5000
  },
  "verify_ssl": true
}

You can also specify some optional environment variables to automatically send emails based off of which subnodes are down or if a signle node is down.

    "SMTP_HOST": "smtp.office365.com:587",
    "SMTP_PASSWORD": "$SECRET(smpt_password)",
    "SMTP_SENDER": "SesamMailSender@<customer.org>",
    "SMTP_USERNAME": "SesamMailSender@<customer.org>",
    "RECIPIENTS": ["[email protected]", "[email protected]"]

About

you can monitor any sesam-node instance (up or down) on statuspage.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.9%
  • Dockerfile 4.1%