SOLUTION: TS - blackberry small web page for ACK
d.tom.schmitt at L-3com.com
d.tom.schmitt at L-3com.com
Wed Feb 10 17:07:07 CET 2010
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--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100210/5f9f3a21/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ACK-CL.txt
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100210/5f9f3a21/attachment.txt>
More information about the Xymon
mailing list