njmon InfluxDB Grafana Series 12 Adding Your Own Data
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=wk1wbAdon1E
This video series uses njmon to collect AIX, VIOS and Linux Performance data injecting the data into InfluxDB and using Grafana to display loads of great graphs. • This 12th video in the series covers adding your own data to the njmon/nimon data. It is a simple command that you run on the command line or from crontab, so any stats you can get from a program or get via a shell script can be added. • Examples might be RDBMS performance, application usage, web users, sales stats or IT room information. • Original sin wave generating script was found at https://code.activestate.com/recipes/... • Thanks B.Walker. • My cut down version: • - - • angle=0 • step_angle=5 • plot=0 • centreline=12 • amplitude=11 • PI=3.14159 • while [ true ] • do • plot=$(awk BEGIN{ printf \\ %.3f\\ , ((sin($angle*($PI/180))*$amplitude)+$centreline)} ) • echo measure_aix -g surprise -G wave=$plot -i influx -p 8086 -x test • measure_aix -g surprise -G wave=$plot -i influx -p 8086 -x test • angle=$((angle+step_angle)) • sleep 4 • done • exit 0 • - - • Project website: http://tinyurl.com/njmon • or http://nmon.sourceforge.net/pmwiki.ph... • Note: I have retired from IBM but I am still interesting is supporting and helping nmon and njmon users. Plus questions on AIX and Power10. Please use [email protected] from now on.
#############################
![](http://youtor.org/essay_main.png)