Skip to content

igramul/apimon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APIM Service Tickets Monitor (APIMON)

This is a Raspberry PI Zero based Jira Service Tickets Monitor written in Python.

A Flask web server for monitoring the APIM Jira Service Tickets board and display the number of open tickets on a neopixel led stripe.

Initial Project Setup (only needed if you start from scratch)

  1. install the needed python modules make install
  2. create an initial git commit (if you start from scratch)
  3. create the first version tag like git tag 0.1.0
  4. start server be invoke make start

Install and clone Project from GitHub

git clone <https-projekt-url>

Setup .env file with OAuth client-id and secret. Copy .env-example to .env and fill in valid data.

Setup automatic start

Copy the service config file into place:

sudo cp etc/apimon.service /etc/systemd/system/

Edit the file to change the path to the apimon directory.

Setup and start the service:

sudo systemctl daemon-reload
sudo systemctl enable apimon
sudo systemctl start apimon
sudo systemctl stop apimon
sudo systemctl status apimon
sudo systemctl restart apimon

Read the logs:

journalctl -fu apimon

Setup automatic update (untested and not yet recommended)

Configure a cronjob to execute the script ./bin/update_and_restart.sh

For example like this:

*/5 * * * * /path/to/update_and_restart.sh >> /path/to/update_and_restart.log 2>&1

Configure Unattended OS Upgrades

See this link: https://wiki.debian.org/UnattendedUpgrades

About

Display different sorts of Jira Service Tickets on a LED Stripe

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published