Xymon Mailing List Archive search

Feature request: bbgen to generate statistic of different OS and their versions.

list Francesco Duranti
Fri, 18 Aug 2006 11:31:21 +0200
Message-Id: <user-447e59c32355@xymon.invalid>

It should also be nice to have the possibility to send the OS/Version
from script different from the bbclient so that we could have OS/Version
for Network appliance storage, databases, switches and routers in the
correct field.

-----Original Message-----
From: T.J. Yang [mailto:user-8e841282cda5@xymon.invalid] Sent: Friday, August 18, 2006 11:26 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: 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&SERVI
CE=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