GithubHelp home page GithubHelp logo

diashenrique / iris-history-monitor Goto Github PK

View Code? Open in Web Editor NEW
15.0 8.0 10.0 28.12 MB

IRIS History Monitor - For InterSystems IRIS

License: MIT License

CSS 25.76% HTML 1.19% JavaScript 72.38% Dockerfile 0.01% ObjectScript 0.06% Shell 0.01% SCSS 0.62%
intersystems-iris intersystems-cache intersystems objectscript

iris-history-monitor's Introduction

IRIS History Monitor

This personal project has the intention to show in a visual way the information generate by the System Monitor ^%SYSMONMGR and a different approach for the System Dashboard and System Processes.

How to Run

To start coding with this repo, you do the following:

  1. Clone/git pull the repo into any local directory
$ git clone https://github.com/diashenrique/iris-history-monitor.git
  1. Open the terminal in this directory and run:
$ docker-compose build
  1. Run the IRIS container with your project:
$ docker-compose up -d

How to test

Open the browser and go

Ex.: http://localhost:52773/csp/irismonitor/dashboard.csp

The username _SYSTEM can run the dashboard and the other features.

System Dashboard

System Dashboard

System Dashboard shows the following items:

  • Licensing
  • System Time
  • Application Errors
  • Cache Processes
  • CSP Sessions
  • Lock Table
  • Journal Space
  • Journal Status
  • ECP AppServer
  • ECP DataServer
  • Write Daemon
  • Cache Efficiency
  • Serious Alerts

The line charts widgets plot a point every 5 seconds Widget_SystemDashboard

System Menu

Menu

System Processes

System Processes

Processes Filters

System Processes filters

Use different filters to achieve the result that you need. You can also use Multiple Sorts, pressing Shift + clicking on the column header. and even export the data grid to Excel!

System Processes Excel

History Monitor

The History Monitor for CSP Sessions and Licensing shows the information between three sections:

  • Every 5 Minutes
  • Daily
  • Hourly

Database Growth only shows Daily information.

The history pages share the features below:

Date Range Picker

Date Range Picker

The default value is "Last 7 Days."

Chart / Data Table

On the top right of every each section, there are two buttons (Chart/Data Table)

Chart_DataTable

The Data Table shows the information that creates the chart, and you can also download in excel format.

Data Table

Data Table Excel

The excel shows the same format, content, and group defined in the CSP.

Zooming

All charts have the Zoom option to visualize the information with more details.

Chart_Zooming

Average and Maximum

For the Sections Hourly and Daily, the charts show Average and Maximum values.

AVG

Avg

Max

Max

Other information

The project was created as a Technology Example using the possibilities provided by InterSystems IRIS.

The library used for this demo, DevExtreme, it's free to use and to develop non-commercial applications.

For specific feature availability and license restrictions, please, visit the website to the product feature comparison, and the DevExtreme Non-Commercial, Non-Competitive License Agreement, respectively.

iris-history-monitor's People

Contributors

diashenrique avatar sergeymi37 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iris-history-monitor's Issues

Error while docker compose up

Hi,
I am getting below error while using docker up command:

=> ERROR [8/8] RUN do $SYSTEM.OBJ.Load("Installer.cls", "ck") s 1.0s

[8/8] RUN do $SYSTEM.OBJ.Load("Installer.cls", "ck") set sc = ##class(App.Installer).setup() zn "IRISMONITOR":
#12 0.743 standard_init_linux.go:228: exec user process caused: no such file or directory


executor failed running [/irissession.sh do $SYSTEM.OBJ.Load("Installer.cls", "ck") set sc = ##class(App.Installer).setup() zn "IRISMONITOR"]: exit code: 1
ERROR: Service 'iris' failed to build : Build failed
The terminal process "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command docker-compose -f "docker-compose.yml" up -d --build" terminated with exit code: 1.

Thanks

History Monitor for Licenses not working

Something happens with History Monitor -> License . I've just clone it and build it. I've accesed with superuser and _SYSTEM through web port, also I've open a terminal session with by default root user. In SMP, it counts the 3 licenses consumed, but in the chart it doesn't say anythin... I've been waiting 10 minutes to let the system gather statistics but still no data is displayed in that section.
imagen

imagen

SOAP Invoke Error

Hello,

I am on 2020.1 and getting the following error when trying to invoke the soap method here https://github.com/diashenrique/iris-history-monitor/blob/master/src/cls/diashenrique/historymonitor/util/customSensors.cls#L38-L40 .

Screenshot-20200424105123-1694x230

I can invoke the method through the browser test page for the soap service successfully.

Was there something else that needed to be done to enable this or is there an issue with 2020 that you are aware of?

$ZV: IRIS for UNIX (Red Hat Enterprise Linux for x86-64) 2020.1 (Build 215U) Mon Mar 30 2020 20:23:13 EDT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.