production-monitor

Downloads17
Subscribe
0
Bookmark
0
This application is not supported by InterSystems Corporation. Please be notified that you use it at your own responsibility.
Details
Releases
Reviews
Issues
Videos
Articles
Reports

What's new in this version

I added a sample production and I built a Docker container image.

production-monitor

A reviewer asked what can be monitored by a monitor without a production. I will improve this app by adding a Docker container and a sample production.

Challenge in building this image

I got an error when I tried to build image: Unable to find/open file iris-main.log in current directory

I added ls -la at the end of Dockerfile. I saw the WORKDIR was owned by root.

Solution

I added this into Dockerfile

USER root
RUN mkdir -p /home/irisowner/irisbuild && chown -R ${ISC_PACKAGE_MGRUSER}:${ISC_PACKAGE_IRISGROUP} /home/irisowner/irisbuild
USER ${ISC_PACKAGE_MGRUSER}

History

I began working on this app when I saw a post on Developer Community by Mark OReilly:

Hi:

Currently we are using an older Healthshare instance but I am not opposed to using IRIS as we will upgrade eventually.

Currently for monitoring productions we have a Montior screen. We have both the Queues page and a Deepsee dashboard which has current status of our services. The issue with the Deepsee method we currently have with traffic lights is 1) the page is a bit slow to load the metrics 2) any new services from the team a new widget needs created and although this is easy enough to do it just is time consuming.

What I would like to achieve is at it's most basic be able to get the current list of buisness services out of the production, a bit like the tStatement.%PrepareClassQuery("Ens.Config.Production","EnumerateConfigItems") but instead of just getting enabled/disabled I would like to get the status of the components as displayed in the production monitor page, Even as just a list. So at the top of a page I can list any in the error status to make it really really clear when there is any issues. To be honest it is like a version of Production monitor page but there is a lot on there in the way it is displayed that is a bit complex for a general montior page but if could get the general stats off there to simplify things into a new once size fits all page for us would be great.

Installation ZPM

zpm "install production-monitor"

You can easily install production-manager with ZPM. I have done it with iris-mail. See screenshot below:

screenshot

Below is Production Monitor for test-data Production using OutputTablePM view

screenshot

Below is Production Monitor for test-data Production using OutputTableIncomingOutgoing view

screenshot

ZPM installation
zpm "install production-monitor"
Rating
5 (1)
ObjectScript quality test
Passed
Updated on 29 January 2023
ObjectScript quality report
Category
Technology Example
Works with
InterSystems IRISEnsemble
Tags
Info
Version
1.0.3
Last updated
2022-09-11
Repository
Open
Documentation
Open
License
Link