Atlasboard, open source DashBoard for IBMi

Imagine you can seat every morning on your workplace and you or your colleagues can stare for a couple of seconds into screens and check the status of your system and business. Your monitoring job is done and you can focus in doing the things you like. Your boss will love you are proactive and not reactive.

Since i have been working with IBMi, i always used monitoring systems to make my life and other´s life better: Nagios, Microsoft SCOM, scripts, etc. That´s nothing new on IBMi community.

However, i always found a lack of dashboard systems that could be integrated with IBMi... or even better, to run then on IBMi.

On my journal to find a good dashboard i tested Dashing.io, Freeboard.io and Atlasboard.

Dashing.io, and awesome dashboard framework.

Dashing is a RoR Sinatra application for build dashboards.. The purpose is not only to create the dashboard site, but create a WebAPI to update the dashboard from a remote server or client.

It has several widgets that can be reused for the community and it is simple to create your own.

Dashing.io was created by the guys of shopify, but it is no longer maintained, However, the project has been forked for the community.

you can find more info on Dashing.io.

But, can i run Dashing on IBMi?

As far as i know. unfortunately not yet. I have been trying to install Dashing on IBMi 7.2, but got some issues with some packages (like Css SaaS precompiler).

There are some ports of Dashing to javascript and python that worth a try, but still i ran into problems (some nodejs modules that cant compile on powerPC). So i cant run it on IBMi or PowerPC based O.S.

So i ended with an instance of Dashing on a intel partition (sorry for that :) ). It is very easy to install and run it.

Integrating with IBMi.

You can execute CL, python or nodejs tasks that monitor the IBMi or collect data (lets say CPU each 30 seconds, disk space, number of user connected) and call the Dashing API to show the data in a widget.

You could be able also to run ruby jobs that collect data from IBMi (maybe using and IBMi API, DB2 Services by SQL interface, etc).

This is how far i got into Dashing:



The gauges widgets are % Disk space of the iASP and SYSBAS with a clunky script like this:


#!/bin/sh                                                                                                                       
 # Check disk Space of diskpools                                                                                                
 SysbasWidgetURL="http://aisflms12:3030/widgets/aisibis10SYSBAS"                                                                
 IASPWidgetURL="http://aisflms12:3030/widgets/aisibis10HASMIASP"                                                                
 # SYSBAS: diskpool1                                                                                                            
 db2   'SELECT sum(PERCENT_USED)/count(*) as aa FROM qsys2.sysdisks   group by ASP_number' |  grep '[0-9][0-9]' | sed -e 's/^[  
 #                                                                                                                              
 # Collect HASMIASP Pool                                                                                                        
 SysbasSpace=$( head -1 disks.txt )                                                                                             
 IASPSpace=$( tail disks.txt | tail +2 )                                                                                        
 # Now, Trigger STUFF                                                                                                           
 # Step1: Send a quote to the DashBoard SYSBAS                                                                                  
                                                                                                                                
 curl -d '{ "auth_token": "YOUR_AUTH_TOKEN", "value": '$SysbasSpace' ,"data-max": 100 }' $SysbasWidgetURL                       
 curl -d '{ "auth_token": "YOUR_AUTH_TOKEN", "value":'$IASPSpace' ,"data-max": 100 }' $IASPWidgetURL                              

The IBMi MQ is a check of remote MQ from and IBMi Job and the whole "Night Batch" boxes show that all the FTP transfers im waiting to recieve every morning are in my system

Freeboard.io, the IoT Dashboard.

Freeboard can be hosted on IBMi, but the main feature of Freeboard is that run entirely in the browser as an SPA application.

I think Freeboard is entirely designed for IoT and systems that has a built-in API to collect status or perfomance data. To use it with IBMi, we would need to built a REST API that collect data (ping, disk space, cpu, msgw waiting, etc).

Atlasboard, simple and beautiful wallboards for everyone.

Atlasboard is an open source dashboard from the guys of Atlassian. The installation is simple and it works perfectly on IBMi.

It is nodejs and express based and you have 2 choices to update your dashboard: via javascript jobs or REST API.

It is posible to create your own API to update the dashboard via REST API. This means, that you can create your own HTML custom widget "CPU Status" and update it with a javascript job or via REST API (curl, python, node program, or even from RPG).

My interest is to host Atlasboard in 1 IBMi machine and monitor from there my other IBMi and windows services.

The installation is simple and i got any issue in V7R2, nodejs 4.

Im actually working with Atlasboard and i will post soon my jo

No hay comentarios:

Publicar un comentario