Skip to content

openmainframeproject-internship/Zowe-Parsing-Engine-for-SMF-or-RMF-PP-Reports

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZEBRA(Zowe Embedded Browser for RMF/SMF and APIs)

The latest version of ZEBRA can be found from : https://github.com/zowe/zebra as it is now part of Zowe incubation project

License Information

This program and the accompanying materials are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html

SPDX-License-Identifier: EPL-2.0

Copyright Contributors to the Zowe Project.

About ZEBRA and System Requirements

Zebra is an open source SW project under Linux Foundation's Open Mainframe Project's ZOWE Project. It intends to provide re-usable and industry compliant JSON formatted RMF/SMF data records, so that many other ISV SW and users can exploit them using Open-Source SW for many ways.

As an example and use-case, it shows real-time data and historical data in JSON format with time stamps. It can also store realtime data into MongoDB and Plot realtime Workload and CPU Utilization chart using Grafana. Zebra can be used to Parse static RMF Monotor I XML file into JSON.

  • Required SW:
  • Current version of Zebra requires RMF DDS Service(GPMSERV) running on IBM z/OS as source of the data
  • NodeJS for runtime (This version tested with nodejs v8.11.2)
  • Optional SW in case you like to test examples included in here:
  • Grafana
  • Prometheus
  • MongoDB

Running Zebra

To Run Zebra, You'll need to:

  • Set Up your Environment: You'll need to install nodejs (most prefered{v 8.11.x}), git and optional programs like Prometheus, MongoDB and Grafana. Optional programs will require proper licenses per their terms and conditions.

  • Clone Zebra src code

  • Install App packages using npm install from root directory, change set up using config files

  • Run Zebra using npm, pm2, nodemon or any other nodejs process manager

(e.g. node bin/www)

Use Zebra

To Use Zebra, You'll need to configure the application parameters. These parameters can be configured by simply editing the Zconfig.json file in the root directory or using Zebra's /addsetting function while Zebra instance is running.

Configure Zebra Using Endpoint

Zebra’s configuration gives users the flexibility to run the app according to their needs. Zebra provides “/addsettings” endpoint for editing config values. This endpoint can take one or more parameters recognized by zebra at once. E.g.
http://localhost:3090/addsettings?appurl=127.0.0.1

Recognized Zebra Config Parameters

The user can specify multiple configuration parameters at once:
http://localhost:3090/addsettings?dbinterval=3600&appport=3000
The above URL contains two parameters dbinterval and appport. The user can specify as many parameters as possible with their value each. These new values specified by the user will overwrite the value stored in zebra’s config file.

Sample Zebra Queries

Please replace localhost with the IP address of your running Zebra Instance

  1. Monitor 3
  1. Post Processor
  1. Static
    a. http://localhost:3090/static?file=C:\Users\Salis\Desktop\rmfpp.xml&type=CPU
Folder Description
Documentation all documentation the project team has created to describe the architecture, design, installation and configuratin of the peoject
src Source code - create as many subdirectories as needed

Project Team

  • Yongkook (Alex) Kim - Vicom Infinity
  • Salisu Ali - Bayero University Kano, Nigeria

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •