DataBot

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

A low-overhead O/S level event collector that generates events-compatible events. It is designed to run in background, collect times events and channel them (to files, over the network, etc.) It is capable of collecting memory, CPU, etc. usage statistics, as well as WildFly management domain model metrics.

os-stats User Manual

In-line help is available with:

os-stats --help

os-stats Metric Reference

os-stats Metric Reference

os-stats Development

GitHub

git clone git@github.com:NovaOrdis/os-stats.git

os-stats TODO

  • 10/04/16 os-stats failed to gather correct CPU consumption data from top. It seems to read a constant value. Troubleshoot and fix. Possibly calculate the values the same way top does, by reading from /proc files.
  • Explore using iftop to gather up/down bandwidth usage for each host:port pair.
  • JDG testing
    • Network bandwidth statistics, integrate iftop.
    • Access to MBeans. Paul's e-mail The mbean of the transport for the bridge channel exposes the attributes: num_bytes_sent and num_bytes_received.


  • For four CLI metrics (2 for one instance and 2 for another, I get 4 cli.xml warnings. Normally I should get only 2 because I should share the clients.
[fsgapp@ln001xsjdg0003 etc]$ WARN: can't find jboss-cli.xml. Using default configuration values.
@Timer-0 17:28:55,620 INFO  [xnio] XNIO Version 3.0.14.GA-redhat-1
@Timer-0 17:28:55,623 INFO  [nio] XNIO NIO Implementation Version 3.0.14.GA-redhat-1
@Timer-0 17:28:55,634 INFO  [remoting] JBoss Remoting version 3.3.5.Final-redhat-1
WARN: can't find jboss-cli.xml. Using default configuration values.
WARN: can't find jboss-cli.xml. Using default configuration values.
WARN: can't find jboss-cli.xml. Using default configuration values.
  • Fix logging, get rid of:
NOMBP2:tmp ovidiu$ @Timer-0 18:37:22,052 INFO  [xnio] XNIO Version 3.0.15.GA-redhat-1
@Timer-0 18:37:22,058 INFO  [nio] XNIO NIO Implementation Version 3.0.15.GA-redhat-1
@Timer-0 18:37:22,080 INFO  [remoting] JBoss Remoting version 3.3.7.Final-redhat-1