Xymon Mailing List Archive search

Enabling WML for blackberry viewing

list Josh Luthman
Mon, 12 Nov 2007 09:55:21 -0500
Message-Id: <user-103cbcf82712@xymon.invalid>

So just replace wmlgen.c and run a make && make install?

On 11/12/07, Ruhala, Jemimah J. <user-84074f55d87c@xymon.invalid> wrote:
 Ok.   Go to the directory where you first compiled hobbit.  Gunzip the
attached file and place it in hobbit-4.2.0/bbdisplay, replacing the old
wmlgen.c.  Recompile hobbit, hopefully you will not get errors.


On your hobbit server, make a backup copy of server/bin/bbgen.  Copy the
bbgen file you just compiled from hobbit-4.2.0/bbdisplay to server/bin/ on
your hobbit server.


Restart hobbit. If it worked, you will see html files show up in your wml
directory instead of wml files.  You may have to adjust your bb-host file if
you don't see all your servers show up.


Good luck, and if you get it working, let me know how you like it and if
you have any ideas for improvements.


-Jemimah


*From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Sent:* Friday, November 09, 2007 4:40 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Enabling WML for blackberry viewing


I'd be interested in checking it out!  How do I use this?  I know almost
nothing about programming =(

On 11/9/07, *Ruhala, Jemimah J.* < user-84074f55d87c@xymon.invalid> wrote:

I am currently finishing a patch to wmlgen.c that causes it to spit out
simplified html that looks great on Blackberry.  I've got it to show graphs
that fit the screen, and the status graphics and colors, and reasonable
fonts.  I'm not sure what the official channel for patch submission is, but
I will send it to anyone that wants it.


-Jemimah


*Jemimah Ruhala*

*PMSI |* IT Operations

AIX System Administrator

*user-84074f55d87c@xymon.invalid* <user-84074f55d87c@xymon.invalid>


*From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Sent:* Friday, November 09, 2007 12:50 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Enabling WML for blackberry viewing


etc/hobbitserver.cfg:BBWAP="$BBSERVERWWWURL/wml"                        #
Hobbit URL prefix for the WAP/WML files.

Oh the wonders of grep =)

So it seems all I had to do was add --wml to BBGENOPTS and now the wml dir
is being filled with index.wml and bb2.wml.

I'd test right now but...led lined room... =(

Thanks for the help, Tod!

Josh

On 11/9/07, *Tod Hansmann* <user-b6e28cb93fa4@xymon.invalid> wrote:

First, yes, WML is the most standardized way of making it PDA friendly.


Second, I would put it in BBGENOPTS.


Finally, every node gets the default WAP cards for the default tests
(they're included somehow with the --wml option that I can't remember off
the top of my head).  The WML:[+|-]testname[,[+|-]testname] syntax is for
modifying that default value.  You can add testnames with +, or remove
default tests already defined with -.


I don't know how well they display as the only experience I have with it
is playing with it before we went production with 4.2 (so, during
build-out phase).  Apologies for the lack of experience.


*Tod Hansmann*

Network Engineer


<http://www.directpointe.com/>;


*From:* Josh Luthman [mailto: user-4c45a83f15cb@xymon.invalid]
*Sent:* Thursday, November 08, 2007 8:53 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* [hobbit] Enabling WML for blackberry viewing


First off, is WML the best option I've got to make Hobbit viewable by
black berry phones (or any PDA/phone?)

Secondly, I read in the bb-hosts man page that I need to start bbgen with
--wml.  Now in etc/hobbitlaunch.cfg it has CMD bbgen $BBGENOPTS --report.
Should I add --wml to the end of that or stick it in the variable BBGENOPTS
that is made in etc/hobbitserver.cfg?

Finally, once bbgen kicks into gear with --wml how do I make the page for
the devices to view?

WML:[+|-]testname[,[+|-]testname] <--- confuses my poor self =(

--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer


--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

Notice: THIS DOCUMENT MAY CONTAIN CONFIDENTIAL OR PROPRIETARY INFORMATION,
INCLUDING PATIENT HEALTH INFORMATION THAT IS PROTECTED UNDER HIPAA AND OTHER
STATE AND FEDERAL CONFIDENTIALITY LAWS. PLEASE DELIVER IMMEDIATELY ONLY TO
THE INTENDED RECIPIENT. IF THIS TRANSMISSION WAS RECEIVED IN ERROR, PLEASE
CONTACT THE SENDER IMMEDIATELY AND DO NOT DISTRIBUTE THE INFORMATION TO ANY
OTHER PERSON.


--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
Notice: THIS DOCUMENT MAY CONTAIN CONFIDENTIAL OR PROPRIETARY INFORMATION,
INCLUDING PATIENT HEALTH INFORMATION THAT IS PROTECTED UNDER HIPAA AND OTHER
STATE AND FEDERAL CONFIDENTIALITY LAWS. PLEASE DELIVER IMMEDIATELY ONLY TO
THE INTENDED RECIPIENT. IF THIS TRANSMISSION WAS RECEIVED IN ERROR, PLEASE
CONTACT THE SENDER IMMEDIATELY AND DO NOT DISTRIBUTE THE INFORMATION TO ANY
OTHER PERSON.

-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer