This file contains 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
import socket | |
import subprocess | |
class Coring(object): | |
def __init__(self, *args, **kwargs): | |
super(Coring, self).__init__(*args, **kwargs) |
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
''' | |
giphy demo | |
''' | |
__author__ = 'Matt Joyce' | |
__email__ = 'matt@nycresistor.com' | |
__copyright__ = 'Copyright 2016-2018, BLAH' |
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
''' | |
giphy demo | |
''' | |
__author__ = 'Matt Joyce' | |
__email__ = 'matt@nycresistor.com' | |
__copyright__ = 'Copyright 2016-2018, BLAH' |
This file contains 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
Hello again, thanks for getting back in touch! | |
Given that there was a datapoint where the "StatusCheckFailed_System" was 1.0, please assume from this that there was an issue with the underlying host during this timeframe. Because the issue occurs at a hypervisor level, it is transparent to the instance's operating system - meaning that there would be no logs for it on the OS. | |
With regard to raising an alert for future occurrences, please consider the solution I have provided in my previous correspondence where you can configure CloudWatch Alarms to monitor the "StatusCheckFailure" metric and send an email notification to a desired email address if the alarm is triggered [1]. | |
I hope this answers your query and should you have further questions regarding this matter, please do not hesitate in responding to this case and we will be happy to help you. | |
[1] Create Alarms to Stop, Terminate, Reboot, or Recover an Instance | |
- http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/UsingAlarmActions.html |
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
''' | |
hello world for symphony | |
''' | |
__author__ = 'Matt Joyce' | |
__email__ = 'matt@joyce.nyc' | |
__copyright__ = 'Copyright 2017, Symphony' |
This file contains 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
matt.joyce@prometheus ~/SYMPHONY/OSS/test virtualenv EXAMPLE-OSS | |
New python executable in /Users/matt.joyce/SYMPHONY/OSS/test/EXAMPLE-OSS/bin/python | |
Installing setuptools, pip, wheel...done. | |
matt.joyce@prometheus ~/SYMPHONY/OSS/test source EXAMPLE-OSS/bin/activate | |
(EXAMPLE-OSS) matt.joyce@prometheus ~/SYMPHONY/OSS/test | |
(EXAMPLE-OSS) matt.joyce@prometheus ~/SYMPHONY/OSS/test pip install --upgrade python-symphony | |
Collecting python-symphony | |
Downloading https://files.pythonhosted.org/packages/3a/4c/95a8c67cd098494690ad872b644e4a5071fbc9b6a1b4835d8b7a0ea4df78/python-symphony-0.2.6.tar.gz | |
Requirement not upgraded as not directly required: pip in ./EXAMPLE-OSS/lib/python2.7/site-packages (from python-symphony) (10.0.1) | |
Collecting requests (from python-symphony) |
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
''' | |
hello world for symphony w/ logger | |
''' | |
__author__ = 'Matt Joyce' | |
__email__ = 'matt@joyce.nyc' | |
__copyright__ = 'Copyright 2017, Symphony' |
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
''' | |
Example Unit Tests using Sensu Plugin | |
''' | |
__author__ = 'Matt Joyce' | |
__email__ = 'matt@surly.bike' | |
import argparse |
This file contains 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
Your firewall rules interface is a byzantine nightmarish hellscape. To gaze upon it is to gaze deep into an eldricth horror. One so suborned to the evil of it's UX will find themselves robbed of their sanity and fallen into a bottomless chasm of despair. | |
This interface has ruined me. It has stolen precious hours of my life and productivity. The person responsible for it, is truly evil incarnate and could in no way have produced a more mind destructive workflow should they have spent decades mastering their craft. | |
If your goal was to make your customers despise you with ever fiber of their ruined being, you have succeeded beyond your wildest expectations. | |
Seriously. This is god awful beyond measure. There is literally nothing good about the firewall rules workflow in GCP. NOTHING. How you managed to produce this horror show I cannot fathom. How you had the mind boggling audacity to put it into the production world will forever leave me scarred. And how in several years time you have not simply ab |
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import sys | |
from flask import Flask, Blueprint | |
from flask_restplus import Api | |
from werkzeug.contrib.fixers import ProxyFix | |
# threw this in to see if there were any exceptions here. there were not. |
NewerOlder