[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Feature request: bbgen to generate statistic of different OS and their versions.






On Thu, Aug 17, 2006 at 08:37:34PM -0500, T.J. Yang wrote:
It is good to see bbgen can count the total hosts being monitored like
following
http://www.hswn.dk/hobbit-cgi/bb-hostsvc.sh?HOST=voodoo.hswn.dk&SERVICE=bbgen

Is it possible also list out what kind of OS and versions to make up the
total hosts ?

A very quick summary can be made with

   bb 127.0.0.1 "hobbitdboard test=cpu fields=BBH_OS"|sort |uniq -c

That gives you a summary of what OS your hobbit client enabled systems
are running. For a more detailed breakdown of the versions you'd have to
request each of the client logs with

  bb 127.0.0.1 "clientlog client1.hswn.dk section=osversion"

and then do some summation over that data.

Hi, Henrik Thanks for the quick reply.

In futher version of hobbit, Can you automate the summation of OS/Verson in bbgen ?
This will be another good selling feature to IT centers. it will save lots of time for getting
OS/version/total nodes summary by manual process.


Regards

tj