BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

{bb} Pager Problems



Ok, I have played around with numeric-k6.scr and found that when
I use kermit from the command line and send something like

ATDT1800mypager,,,,,,600xxxxxxxxxxxx1588810

just as the script does, I get an error.  If I leave off the last
seven digit code, it all goes through just fine. Any ideas on
how to edit BB to not send the seven digit code?

Thanks in advance,
Jack Davis
Network Admin
Bootheel Internet Services
webmaster@bootheel.net

> The path to kermit is correct. bbchkcfg.sh doesn't return 
> any warnings and when I added the line from below to 
> sendmsg, the BBOUT file looks like this:
> 
> debug: /usr/local/bin/kermit /usr/local/bb/etc/numeric-k6.scr ttyline
> 1800mypager 600xxxxxxxxxxxx1588810
> 
> I can access kermit through the command line just fine 
> with something like:
> 
> C-Kermit>set modem hayes
> C-Kermit>set line /dev/ttyS1
> C-Kermit>set speed 1200
> C-Kermit>dial 1800mypager,,,,,,1234
>  Trying 1800mypager,,,,,,1234...
>  Device: /dev/ttyS1, modem: hayes-2400, speed: 1200
>  Dial timeout: 70 seconds
>  To cancel: type your interrupt character (normally Ctrl-C).
> 
> This way the call goes through just fine. I have tried 
> both numeric.scr and numeric-k6.scr and can't get anything
> to work at all. I still get the email pages, but the modem
> never even attempts to dial. The line I have in
> bbwarnrules.cfg and need to work is:
> 
> *;;*;;*;*;root@localhost 1800mypager
> 
> and the ttyline entry in bbwarnsetup.cfg is:
> 
> ttyline: /dev/ttyS1
> 
> I will continue to play around with numeric-k6.scr,
> but if anyone has any ideas I would appreciate the
> help.
> BTW-I am using C-Kermit 7 Beta if there are any issues
> with that.
> 
> Thanks in advance
> -- 
> Jack Davis
> Network Admin
> Bootheel Internet Services
> webmaster@bootheel.net
> 
> >Is the path to kermit correct? Does bbchkcfg.sh return
> >any warnings?
> >
> >Edit $BBHOME/bin/sendmsg and look for the line which
> >reads:
> >$KERMIT $A1 ttyline $A2 > /dev/null
> >
> >Add a line before or after it reading:
> >echo debug: $KERMIT $A1 ttyline $A2
> >
> >Cause a fault on a monitored system, and take a look in
> >$BBHOME/BBOUT for the debug line.  See if manually
> >invoking that command line causes a successful page. If
> >not, play around with it,..
> >
> >I personally needed to play around with numeric-k6.scr
> >for a while before I got numeric paging working properly.
> >
> >Nick
> >
> >--
> >Nick Silberstein     | Fluent Communications
> >Webmaster of Yendor  | Seattle, WA, USA
> >
> >This e-mail is copylefted under the GNU Public License!
> >Enjoy :-)
> >
> >----- Original Message -----
> >From: Jack Davis <webmaster@bootheel.net>
> >To: <bb@taex001.tamu.edu>
> >Sent: Tuesday, August 31, 1999 2:31 PM
> >Subject: {bb} Pager Problems
> >
> >
> >> I have racked my brain and still can't get BB to send me a numeric
> >> page. I have version 1.2b on a Redhat Linux 6.0 box and have tested
> >> kermit (C-kermit) manually and can access the modem and dial out just
> >> fine. I set this in bbwarnrules.cfg
> >>
> >> *;;*;;*;*;root@localhost 5551212,,,,,,1234
> >>
> >> with our info of course and I get an email with the subject something
> >> like
> >> !BB - 1531011!www.testdomain.com.http - 600209251182242 with the body
> >> containing the warning, the url and the link to the history page.
> >> However,
> >> as far as I can tell, bb never even attempts to dial out to send the
> >> pager
> >> message. I have read through the list archives searching for an answer
> >> and found several similar problems, however nothing seems to work.  Any
> >> ideas?
> >> BTW the page/ack feature on the web page gives the message that the page
> >> has
> >> been sent, however does not send email or numeric page.
> >>
> >> Thanks for your help
> >> --
> >> Jack Davis
> >> Network Admin
> >> Bootheel Internet Services
> >>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Please send mail for the mailing list to: bb@taex001.tamu.edu
  To [un]subscribe to this list, send e-mail to majordomo@taex001.tamu.edu
     with [un]subscribe bb in the BODY of the message.
  Please contact the mailing-list-owner as: bb-owner@taex001.tamu.edu


Home | Main Index | Thread Index