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