[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Hobbit Status and Data Question
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Hobbit Status and Data Question
- From: "Geoff Hallford" <geoff.hallford (at) gmail.com>
- Date: Tue, 8 Jul 2008 15:12:07 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=0jh+u0naukhmAJ2BzJYKTc383OObZHPq/Kl7i12mBBk=; b=wFxHYBniInJNh+6/2OBCA0o35bbrKVg0Z8d7dsFcD2eW8STcebbyVsJ7S3hUGsiO2o M5UiPtkzcmeizQGvnQq1CsfG7XK81ufGJ8jbhO/3znlpnGHPJMX/+eit4clw48SKss2W Z5WDxlmDY0M5HNgzbFouVufhmKZS0NcjHKZbc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=VA7wGRfY6ZpY18Hl+d1feM0a172UeP7WVBth/8qreXn9/poeuY7Hs/vMXm2oKlNrgP tClBPM8MhNsPZ80FxmujBsEhCKGRC0oxUvdAxe+QQcEOSaYsQ5MvseEmt+2HlQ3Edum3 T92cZVhqCXxE9/uOvXacyTinviQHC3zdd4goc=
- References: <78ca5ea20807081036l2a4d9321m6d73a28100d5cc09 (at) mail.gmail.com> <997a524e0807081054m63d957d8g3a22cbfc97876dc (at) mail.gmail.com>
Thanks for that. I can't put Active Perl on the system either but the
bbsend.exe works good for basic status. A problem I have run into though, is
that it does not seem to accept multi-line input like bb.pl does. Does
anyone know how to do this for CMD?
I tried "type input.txt | bbsend.exe" and command runs fine but the hobbit
status page doesn't show the data.
The normal command works fine "bbsend "10.10.10.10 TEST-PC.citrix-license
red License is at 96% in use" ... the rub is that I have 2 licenses and I
want to display them on 2 different lines in Hobbit status column but can't.
This would be simple on *nix but Windows is giving me a hard time.
Any help is appreciated.
Thanks.
'Nobody goes there anymore. It's too crowded.' --Yogi Berra
On Tue, Jul 8, 2008 at 1:54 PM, Ralph Mitchell <ralphmitchell (at) gmail.com>
wrote:
> On Tue, Jul 8, 2008 at 12:36 PM, Geoff Hallford <geoff.hallford (at) gmail.com>
> wrote:
>
>> Hi All,
>>
>> I am hoping someone can help with this or provide a link to an
>> explanation, as I haven't been able to find the information in the archives
>> or how-to's.
>>
>> I have a server that I am monitoring Citrix licensing usage on. Currently
>> I am using a VBScript for this purpose that figures out the usage and then
>> emails me of >90% used and >95% used. It uses the telnet and
>> WshShell.SendKeys method to do this.
>>
>> Key Item: The business doesn't want the BBWin agent on this server.
>>
>> I want to be able to send the 'status' and 'data' to Hobbit and have
>> hobbit: alert on it, and graph it.
>>
>> Can I do something as simple as a telnet session to the Hobbit server on
>> 1984/tcp and send the info? What is the syntax for that and what commands
>> does it accept (i.e. to close the session)?
>>
>>
> Dunno about telnet, but if the server has Perl you might be able to use
> bb.pl from the deadcat.net BB site:
>
> http://www.deadcat.net/viewfile.php?fileid=155
>
> It's a drop-in replacement for the bb command. There's also bbsend.exe:
>
> http://www.deadcat.net/viewfile.php?fileid=353
>
> which is a compiled version of bb.pl.
>
> I've used bb.pl in a couple of places, but not recently.
>
> Ralph Mitchell
>