Free Script to Read OSB 11g Statistics

This is how to collect all stats from an OSB 11g domain into a CSV file:
java -jar readosbstats.jar -c https://142.113.108.222:8002/sbconsole -u monitor -p password1

You can export OSB stats via JMX. This is not hard, and there are code samples all over the net.

Unfortunately, JMX requires an administrator account. What people who only have a monitor account (developers, architects, BAs) supposed to do?

Here’s an answer: ReadOsbStats is a small free utility that doesn’t require admin credentials but collects the stats nontheless.

ReadOsbStats: Gather Stats into CSV

I created ReadOsbStats incrementally over many years to serve my own needs and the needs of delivery and operations teams. In its most basic function, it simply collects all the stats from an OSB domain into a CSV file.