I wrote this to monitor non-global zone statistics from the global zone. We have over 150+ non-global zones to monitor on about 15 global zones. We did not want to have to support the hobbit client in each non-global zone.
The zonestat script only sends information to the "data" part of hobbit. I've attached a modified hobbitclient-sunos.sh script that can run inside a non-global zone.
Well...thanks !
I've tuned your hobbitclient-sunos.sh to have "zoned" informations on ps/prstat and let vmstat infos on each non-global zones. I think it could be interesting for non-global zones admins where their zones are on different pools. My tuned script is attached.