Xymon Mailing List Archive search

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

4 messages in this thread

list T.J. Yang · Thu, 17 Aug 2006 20:37:34 -0500 ·
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 ?

Regards

tj
list Henrik Størner · Fri, 18 Aug 2006 07:46:07 +0200 ·
quoted from T.J. Yang
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
list T.J. Yang · Fri, 18 Aug 2006 04:26:18 -0500 ·
quoted from T.J. Yang
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
list Francesco Duranti · Fri, 18 Aug 2006 11:31:21 +0200 ·
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
quoted from T.J. Yang

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