Skip to content

Instantly share code, notes, and snippets.

View shahkamran's full-sized avatar

Kamran Shah shahkamran

View GitHub Profile
@shahkamran
shahkamran / diskStatus.sh
Created February 13, 2021 14:44 — forked from stalluri/diskStatus.sh
Publish disk utilization percentage metric to AWS Cloudwatch
#! /bin/sh
###############################################
# Purpose : To push an application metric (Disk utiization metric) for visibility and subsequently creating alarms on it
# Usage : Run this script on ec2 instance
# Crontab usage : */1 * * * * /home/ec2-user/publishProcessStatus.sh
#
# Dependencies : AWS CLI needs to be installed
# Author : Neptune.io, Inc.
###############################################