Skip to content

Instantly share code, notes, and snippets.

View Abhinav2510's full-sized avatar
🧩
Focusing

Abhinav Suryawanshi Abhinav2510

🧩
Focusing
View GitHub Profile
@Abhinav2510
Abhinav2510 / AMQMOnitorConf.py
Last active May 30, 2022 06:18
AMQ Monitoring and Email Alerts script
#Replace localhost with your servername
#Change username and password accordingly
#Alert can be applied on JVM Heap and Queue parameters
#Alert format is
# param=Name of parameter on whose value you want to put alert
# thresholdVal= Value againsts which current value of param will be evaluated as per condition
# condition= denotes how to compare thresholdVal and current value of parameter.
# Possible values are as below:
# lt - Alert will be raised if current value is less than thresholdVal
# gt - Alert will be raised if current value is greater than thresholdVal