Hi Movsme Mxsltv,
You need to create a Standardized Hook which injects your data into the reference that is used when rendering the status bar.
Standardized Hooks Documentation
You will want to hook the cPanel API2 call StatsBar::stat.
Putting the above to things together you'll be creating a Standarized Hook that uses the "post" stage of the "Api2::StatsBar::stat" Hookable Event (reference doc here). Inside your hook's logic you will modify the value of the 'output' element found in the data hash. You will have to code this in Perl so that you can get the input data hash passed by reference.
If you don't want to do that (or mess with Perl directly), you can make a custom theme/branding that can fetch the info and place it where you want. There's a number of ways this could be done so, I won't elaborate unless necessary.
Personally I find the first solution cleaner from an implementation and maintenance perspective, albeit sounds more daunting. I try to only mess with branding when I want to affect the presentation of data, not the presence of it.
you have exemple for the 1 and the 2 solution ?