omkarkhatavkar / jirasync

This CLI tool to sync and track GitHub issues, pr's, pr_reviews with Jira. Currently supported to only for create, update and close status.
MIT License
4 stars 3 forks source link

added monit script to monitor and alert jira-sync service #22

Closed omkarkhatavkar closed 5 years ago

omkarkhatavkar commented 5 years ago

PR objective

Added monit script to monitor and alert the jirasync process Issue #19

How to test

root@okhatavk jirasync]# sh monit/monit.sh 
Loaded plugins: changelog, fs-snapshot, priorities, product-id, refresh-packagekit, rhnplugin, rpm-warm-cache, search-disabled-repos,
              : subscription-manager, verify
This system is receiving updates from RHN Classic or Red Hat Satellite.
Repository google-chrome is listed more than once in the configuration
666 packages excluded due to repository priority protections
Package monit-5.25.1-1.el7.x86_64 already installed and latest version
Nothing to do
Control file syntax OK
(env) [root@okhatavk jirasync]# 
omkarkhatavkar commented 5 years ago

@rochacbruno do you think we can merge this ?

rochacbruno commented 5 years ago

@omkarkhatavkar I had no time yet to check how it works together with systemd.