[hobbit] Feature request: bbgen to generate statistic of different OS and their versions.
Henrik Stoerner
henrik at hswn.dk
Fri Aug 18 07:46:07 CEST 2006
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.
Regards,
Henrik
More information about the Xymon
mailing list