qpage

Jeff McKeon jsm at inpro.net
Mon Apr 21 21:30:58 CEST 2003


Sorry, forgot this....

[root at MIS01TC07927 sbin]# ./qpage -q 10
Error reading configuration file

config file is /etc/qpage.cf

#quickPage configuration file
                                                                                                                                                             
administrator=root at localhost
identtimeout=5
queuedir=/var/spool/qpage
                                                                                                                                                             
modem=ttya
 device=/dev/ttyCP4
 initcmd=ATZ,E1,V1
 dialcmd=ATDT
                                                                                                                                                             
service=skytel
 device=ttya
 phone=18006792778
                                                                                                                                                             
pager=admin
 pagerid=1063692
 service=skytel


On Mon, 2003-04-21 at 14:28, Russell Adams wrote:
> It sounds like you're not starting the qpage daemon in the background.
> 
> Try adding "/usr/bin/qpage -q 30" to your startups.
> 
> Test it by trying "telnet localhost 444", 444 being the SNPP
> port. Hitting return should return a hello message.
> 
> Russell
> 
> On Mon, Apr 21, 2003 at 01:50:28PM -0400, Jeff McKeon wrote:
> > Has anyone had the problem while using qpage that after it's installed
> > you can send a page manually if you use the -i (interactive) switch but
> > without it you just get a connection refused error on the SNPP server at
> > localhost?
> > 
> > example:
> > 
> > 
> > [nagios at MIS01TC07927 nagios]$ /usr/sbin/qpage -p admin "hello, just
> > testing"
> > Cannot connect to SNPP server at localhost: Connection refused
> > [nagios at MIS01TC07927 nagios]$
> > 
> > With -i option
> > 
> > [nagios at MIS01TC07927 nagios]$ /usr/sbin/qpage -i -p admin "hello, just
> > testing"
> > giving up root privileges
> > new service: skytel
> > locking /dev/ttyCP4
> > initializing modem with ATZ,E1,V1
> > dialing service skytel with ATDT18006792778
> > waiting for connection
> > connected to remote, service=skytel
> > logging into skytel
> > login accepted
> > skytel says ok to proceed
> > message accepted
> > page delivered, id=DURK000I, from=root, to=admin, parts=1
> > logging out from skytel
> > hanging up modem
> > unlocking /dev/ttyCP4
> > 
> > 
> > -- 
> > Jeff McKeon <jsm at inpro.net>
> > 
> > 
> > 
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> > ::: Messages without supporting info will risk being sent to /dev/null
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
-- 
Jeff McKeon <jsm at inpro.net>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list