[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] addon: os and critical icon
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] addon: os and critical icon
- From: John Glowacki <johng (at) idttechnology.com>
- Date: Mon, 20 Aug 2007 11:13:50 -0400
- References: <BAY138-F32E0FBA6F86E778D0137689FDB0 (at) phx.gbl>
- User-agent: Thunderbird 1.5.0.7 (X11/20060922)
T.J. Yang wrote:
>
> I am in the process of writing an hb server side add-on script (learn
> from rootlogin.pl) to do OS counting.
> Ie, adapting "rootlogin" perl script do some OS counting from incoming
> bb messages stream.
> hoping to get a page that can list out OS versions and subtotals of
> different OS that hobbit server currently monitored. There is no ETA for
> oscount.pl, it could be faster if my management push for it ;)
>
> ps: I think ntop has some OS icons for hb community to reuse, if we
> really want to implement OS icons, I might need OS icons for my
> oscount.pl project
>
> T.J. Yang
>
If you are using hobbit clients, you should be able to pull much of what
you want from hobbitdboard and bb clientlog.
bb 127.0.0.1 "hobbitdboard test=cpu fields=BBH_OS"|sort |uniq -c
6
11 linux
66 sunos
To get more detail you can pull it with bb clientlog.
for i in `bb 127.0.0.1 "hobbitdboard fields=hostname" | sort -u`
do
bb 127.0.0.1 "clientlog $i section=uname,osversion"
done
John