This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| StackStorm Stanley | |
| <html> <head> <title>Pecan - Application Error</title> <link rel="stylesheet" type="text/css" href="data:text/css;base64,LyoqCiAqIFN5bnRheEhpZ2hsaWdodGVyCiAqIGh0dHA6Ly9hbGV4Z29yYmF0Y2hldi5jb20vU3ludGF4SGlnaGxpZ2h0ZXIKICoKICogU3ludGF4SGlnaGxpZ2h0ZXIgaXMgZG9uYXRpb253YXJlLiBJZiB5b3UgYXJlIHVzaW5nIGl0LCBwbGVhc2UgZG9uYXRlLgogKiBodHRwOi8vYWxleGdvcmJhdGNoZXYuY29tL1N5bnRheEhpZ2hsaWdodGVyL2RvbmF0ZS5odG1sCiAqCiAqIEB2ZXJzaW9uCiAqIDMuMC44MyAoSnVseSAwMiAyMDEwKQogKgogKiBAY29weXJpZ2h0CiAqIENvcHlyaWdodCAoQykgMjAwNC0yMDEwIEFsZXggR29yYmF0Y2hldi4KICoKICogQGxpY2Vuc2UKICogRHVhbCBsaWNlbnNlZCB1bmRlciB0aGUgTUlUIGFuZCBHUEwgbGljZW5zZXMuCiAqLwouc3ludGF4aGlnaGxpZ2h0ZXIgYSwKLnN5bnRheGhpZ2hsaWdodGVyIGRpdiwKLnN5bnRheGhpZ2hsaWdodGVyIGNvZGUsCi5zeW50YXhoaWdobGlnaHRlciB0YWJsZSwKLnN5bnRheGhpZ2hsaWdodGVyIHRhYmxlIHRkLAouc3ludGF4aGlnaGxpZ2h0ZXIgdGFibGUgdHIsCi5zeW50YXhoaWdobGlnaHRlciB0YWJsZSB0Ym9keSwKLnN5bnRheGhpZ2hsaWdodGVyIHRhYmxlIHRoZWFkLAouc3ludGF4aGlnaGxpZ2h0ZXIgdGFibGUgY2FwdGlvbiwKLnN5bnRheGhpZ2hsaWdodGVyIHRleHRhcmVhIHsKICAt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:14.04 | |
| RUN apt-get -qqy update && apt-get -qqy install curl | |
| RUN curl -sSL https://stackstorm.com/packages/install.sh | bash -s -- --user=st2admin --password=st2admin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| OK=0 | |
| WARN=1 | |
| CRIT=2 | |
| UNKNOWN=3 | |
| function get_warning_limit { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| OK=0 | |
| WARN=1 | |
| CRIT=2 | |
| UNKNOWN=3 | |
| SENSITIVITY_THRESHOLD_PERCENTS=10 |