OT - Sendpage and Arch Wireless

Robin Brown robin_brown at totalcomm.com
Fri Jan 31 21:10:58 CET 2003


Got it working.  I found that my syslog.conf did not have any entry for
local6, the facility that sendpage uses by default.  Once I set that
correctly and ran in debug mode, I got a lot more info in the log.

It became very apparent that the daemon was indeed making a good
connection to Arch and the real problem was with the operator and an
invalid recipient alias :)


Thanks to every one for the assistance!


-Robin


-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Russell
Adams
Sent: Thursday, January 30, 2003 5:27 PM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] OT - Sendpage and Arch Wireless

On Thu, Jan 30, 2003 at 05:07:46PM -0500, Robin Brown wrote:
> 

..snip..filter..

> Arch pc definition:
> [pc:archwireless]
> debug   = true
> page-daemon = netmon at p2pa.com
> phonenum= 8604730000
> maxpages=12
> maxchars=300
> stricttap=true
> lfok=true
> answerwait=10
>
> [modem:sportster]
> debug   = true
> data    = 7
> parity  = even
> stop    = 1
> flow   = rts
> baud   = 2400
> dev    = /dev/modem
> init   = ATL1M0E1V1X4S11=50
> dialout="8,"


Have you tried the "rundelay" parameter, and setting stricttap=false?

Russell


> 
> Most of this is default, it also reflects my attempt to use your init
> string.
> 
> Thanks again.
> 
> -Robin
> 
> -----Original Message-----
> From: Russell Adams [mailto:RLAdams at Kelsey-Seybold.com] 
> Sent: Thursday, January 30, 2003 4:35 PM
> To: Robin Brown
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] OT - Sendpage and Arch Wireless
> 
> What is your sendpage.cf look like for the modem definitions and such?
> 
> I'll give you some samples from mine below.
> 
> BTW, please include your replies on the list to maintain continuity.
> 
> Russell
> 
> 
> Samples from sendpage.cf for Arch (formerly Mobilcomm):
> 
> [modem:multitech_01]
> data    = 7
> parity  = even
> stop    = 1
> flow   = rts
> baud   = 1200
> dev     = /dev/modem1
> init   = ATL1M0E1V1X4S11=50
> 
> [pc:MobilCommLocalOnly]
> rundelay=5
> phonenum=       713-781-5116
> maxchars=       230
> 
> [recip:rladams]
> dest=   1234567890 at MobilCommLocalOnly
> 
> 
> 
> On Thu, Jan 30, 2003 at 03:56:32PM -0500, Robin Brown wrote:
> > Oh, I certainly hope so.  Arch support basically told me to contact
my
> > software vendor.  See below:
> > 
> > Jan 29 13:20:10 proxy sendpage[3383]: starting Queue Manager
(sendpage
> > v0.9.14)
> > Jan 29 13:20:10 proxy sendpage[3383]: starting SNPP listeners
> > Jan 29 13:20:27 proxy sendpage[3386]:
> archwireless/q104386442703386000:
> > state=Queued, to=robin at archwireless,
> > from=sendpage at mydomain.com(localhost), size=5
> > Jan 29 13:20:58 proxy sendpage[3384]: Dropping bad char 0x0A
> > Jan 29 13:20:58 proxy sendpage[3384]: immediate disconnect
requested!
> > Jan 29 13:21:00 proxy sendpage[3384]:
> archwireless/q104386442703386000:
> > state=Temp-Failure, to=robin at archwireless, from=sendpage@
> mydomain.com,
> > size=5, PC='{0x0A}Too Slow - Good Bye{0x0A}'{0x0A}
> > 
> > Here is the debug output of sendpage initializing:
> > 
> > (3471: debug) found listing for pc: archwireless
> > (3471: debug) Locking with '/var/lock/LCK..modem' ...
> > (3471: debug) Modem 'sportster' setting 'Baud': '2400'
> > (3471: debug) Modem 'sportster' setting 'Parity': 'even'
> > (3471: debug) Modem 'sportster' setting 'Data': '7'
> > (3471: debug) Modem 'sportster' setting 'Stop': '1'
> > (3471: debug) Modem 'sportster' setting 'Flow': 'rts'
> > (3471: debug) Modem 'sportster' setting 'Init': 'ATZ'
> > (3471: debug) Modem 'sportster' setting 'InitOK': 'OK'
> > (3471: debug) Modem 'sportster' setting 'InitWait': '4'
> > (3471: debug) Modem 'sportster' setting 'InitRetry': '2'
> > (3471: debug) Modem 'sportster' setting 'Error': 'ERROR'
> > (3471: debug) Modem 'sportster' setting 'Dial': 'ATDT'
> > '3471: debug) Modem 'sportster' setting 'DialOK': 'CONNECT.*
> > (3471: debug) Modem 'sportster' setting 'DialWait': '60'
> > (3471: debug) Modem 'sportster' setting 'DialRetry': '3'
> > (3471: debug) Modem 'sportster' setting 'NoCarrier': 'ERROR|NO
> > CARRIER|BUSY|NO DIAL|VOICE'
> > (3471: debug) Modem 'sportster' setting 'CarrierDetect': 'on'
> > (3471: debug) Modem 'sportster' setting 'DTRToggleTime': '0.5'
> > (3471: debug) Modem 'sportster' setting 'LongDist': '1'
> > (3471: debug) Modem 'sportster' setting 'DialOut': '8,'
> > (3471: debug) baud requested: '2400' baud set: '2400'
> > (3471: debug) parity requested: 'even' parity set: 'even'
> > (3471: debug) databits requested: '7' databits set: '7'
> > (3471: debug) stopbits requested: '1' stopbits set: '1'
> > (3471: debug) flow requested: 'rts' flow set: 'rts'
> > (3471: debug) reseting DTR ...
> > (3471: debug) forcing RTS ...
> > (3471: debug)      to send: ATZ{0x0D}
> > (3471: debug)      want: OK
> > (3471: debug)      kicker: ATZ{0x0D}
> > (3471: debug)      timeout: 4 retries: 2
> > (3471: debug)      have:
> > (3471: debug) wrote: 4 ATZ{0x0D}
> > (3471: debug) 4 seen: ATZ{0x0D}
> > (3471: debug) have: ATZ{0x0D}
> > (3471: debug) 6 seen: {0x0D}{0x0A}OK{0x0D}{0x0A}
> > (3471: debug) have: ATZ{0x0D}{0x0D}{0x0A}OK{0x0D}{0x0A}
> > (3471: debug) chat success: OK
> > (3471: debug) Modem Object 'sportster' being destroyed
> > (3471: debug) unlocking Modem 'sportster'
> > (3471: debug) Modem Object 'sportster' destroyed
> > (3471: debug) found functioning modem: sportster
> > 
> > I seem to only be able to connect to this PC at 2400,7,e,1.  When I
> use
> > minicom, I get the ID= string just fine.  I have turned debug=true
> > everywhere possible in the sendpage.cf file, yet this is the only
> output
> > I get in the messages file?
> > 
> > Any help is greatly appreciated!
> > 
> > -Robin
> > 
> > 
> > -----Original Message-----
> > From: nagios-users-admin at lists.sourceforge.net
> > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of
Russell
> > Adams
> > Sent: Thursday, January 30, 2003 2:53 PM
> > To: nagios-users at lists.sourceforge.net
> > Subject: Re: [Nagios-users] OT - Sendpage and Arch Wireless
> > 
> > I use Arch with Sendpage, and previously Qpage.
> > 
> > What exactly is the problem you're having?
> > 
> > I've worked many problems with Arch tech support, and I support
about
> > 500
> > pagers. Perhaps I've already seen the problem you're having. ;]
> > 
> > Russell
> > 
> > On Thu, Jan 30, 2003 at 01:33:08PM -0500, Robin Brown wrote:
> > > Looking for someone else using Arch for modem paging.  I'm trying
to
> > use
> > > modem paging with my installed and working Nagios server but I'm
> > having
> > > some issues and not finding too much help available.  The problem
> > seems
> > > to lie in the communication with Arch.
> > > 
> > > I'd appreciate it if anyone using this could contact me.
> > > 
> > > 
> > > Thanks and regards,
> > > Robin
> > > 
> > > 
> > > 
> > > 
> > > -------------------------------------------------------
> > > This SF.NET email is sponsored by:
> > > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2
See!
> > > http://www.vasoftware.com
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > 
> > 
> > -------------------------------------------------------
> > This SF.NET email is sponsored by:
> > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> > http://www.vasoftware.com
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list