[hobbit] SOLUTION: TS - blackberry small web page for ACK

Josh Luthman josh at imaginenetworksllc.com
Wed Feb 10 17:33:09 CET 2010


Great!  Thank you for sharing.

On 2/10/10, d.tom.schmitt at l-3com.com <d.tom.schmitt at l-3com.com> wrote:
> In order to use:  rename and make executable -  ACK-CL.txt to ACK-CL.sh.
>
>                 mv ACK-CL.txt ACK-CL.sh
>
>                 chmod +x ACK-CL.sh
>
> I cannot send a '.sh' file as it will be removed automatically from the
> Email.
>
>
>
> I'm running 4.3.0-0.beta2 on CentOS 5.x.
>
>
>
> Ralph Mitchell has found an un-documented option in 'bb' to allow you to
> use a command line script
>
> to ACKnowledge an alert.
>
> I have placed it into a short shell script.  The comments make it easy
> to understand what is going on.
>
> Hope this helps others as it has me.
>
>
>
> Hope this option is included in the releases to come.
>
> We need to have the 'man bb' page updated.
>
>
>
> Thanks Ralph!
>
>
>
> Thanks,
>
>
>
> Tom Schmitt
>
> Senior IT Staff - R&D
>
> Salt Lake City, UT  84116
>
> Phone (801) 594-3030
>
> Cell      (801) 231-7230
>
> eFax    (413) 480-6873
>
> D.Tom.Schmitt at L-3Com.com
>
>            \\\\||////
>
>              \ ~  ~ /
>
>              | @  @ |
>
> --oOo---(_)---oOo--
>
>
>
> From: Schmitt, D Tom @ CSW-SLC
> Sent: Wednesday, February 03, 2010 11:28 AM
> To: hobbit at hswn.dk
> Subject: TS - blackberry small web page for ACK
>
>
>
> I have an urgent requirement to be able to create a small web page for
> display on the blackberry.
>
>
>
> OK SOLUTION (if I can get it to work):
>
> I tried to use bb-ack.cgi but the documentation is not straight forward.
>
> I see that it has "Ack" as a hidden value for ACTION.
>
> FORM METHOD=GET and ACTION="&SCRIPT_NAME"
>
> What does script name get set to on a correct run?
>
>
>
> BETTER SOLUTION:
>
> I can create a simple small web page and pass the link to the blackberry
> to the person on-call.
>
> But I need to have a command line equivalent to the bb-ack.cgi to ACK
> the outage and supply the following variables.
>
>                 Same items on the bb-ack.cgi man page:
>
>                                 bb-ack.cgi
>
> ACTION=action
>
> NUMBER=acknum
>
> DELAY=validity
>
> MESSAGE=text
>
>                 I have not found the correct command.
>
>
>
> I can DISABLE/ENABLE the device easily from 'bb' but I need to make an
> easy way to acknowledge
>
> the event from a smart phone (blackberry).
>
>
>
> Thanks,
>
>
>
> Tom Schmitt
>
> Senior IT Staff - R&D
>
> Salt Lake City, UT  84116
>
> Phone (801) 594-3030
>
> Cell      (801) 231-7230
>
> eFax    (413) 480-6873
>
> D.Tom.Schmitt at L-3Com.com
>
>            \\\\||////
>
>              \ ~  ~ /
>
>              | @  @ |
>
> --oOo---(_)---oOo--
>
>
>
>


-- 
Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373

“Success is not final, failure is not fatal: it is the courage to
continue that counts.”
--- Winston Churchill



More information about the Xymon mailing list