Skip to content

Latest commit

 

History

History
 
 

src

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.

Source Code Folder

To be structured as needed by project team.

Please document here

Subdirectory Name Description
App_server Directory For Project Controller Functions, Parser and Routes
sslcert Directory for Server certificate and private key
config Directory for configuration file
bin Directory for startup file

RMF Parsing Engine (ZEBRA)

Zebra is a Performance Monitoring tool that converts RMF monitor I and III data into JSON Format. As an example and use-case, it shows 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. This version works with nodejs v8.11.2

Run 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

  • 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
    k. http://localhost:3090/static?file=C:\Users\Salis\Desktop\rmfpp.xml&type=CPU