Continue with Jira and Confluence Performance Monitoring Part One, in this article I will explain a bit deeper how the Bot works which is most interesting part I think. First of all, you need to have a Bot that is hooked to your Slack. I wrote my own Bot based on Hubot (Nodejs Express Framework). When … Continue reading Jira and Confluence Performance Monitoring Part Two
Tag: Bash
AWS keyWatcher
We have seen multiple times that users accidentally expose their AWS access key and secret key on Internet, e.g. GitHub. This is a really dangerous thing, as whoever get that key can do whatever you can do to your AWS account. Here are two examples, the exposed key was used by someone unknown to create … Continue reading AWS keyWatcher
Run query via Sumologic API
SumoLogic query can also be run via API. Here is a bash example that I wrote to get the nginx access logs. By default it searches the logs in the past 10 minutes, but you can overwrite it by adding a parameter. Here is the script. It is also can be found in my github. #!/bin/bash … Continue reading Run query via Sumologic API
Automate Akamai Cloudlets Edge Redirect
This is one of my side projects. It is written in Python and Bash. The step is very straight forward: Download the current production version -> Add the rules, then pushes it to the staging -> Test the redirect in staging -> If passed, push it to production. If not, notify the user which one … Continue reading Automate Akamai Cloudlets Edge Redirect
SELinux block timedatectl changes
Just found out this morning that if SELinux is in enforcing mode, it may block the timedatectl command to run in RHEL7. Once changing SELinux to permissive, the problem is gone. Here is the error that I got when executing 'timedatectl set-timezone Australia/Sydney' in a bash script: Failed to issue method call: Did not receive … Continue reading SELinux block timedatectl changes