Xymon Mailing List Archive search

Sending alerts to remote system running qpage

11 messages in this thread

list Keller Liora · Fri, 30 Nov 2007 13:16:42 -0500 ·
Hi,

We are moving from BB to Hobbit.

We are using qpage to send out pages from BB to a remote system which is
running qpage.

We would like to keep the qpage and modem on the same server, but the
Hobbit server is running on a different system.

Any idea how we can send alerts from Hobbit to a remote qpage server?

Thanks,
Liora
list Josh Luthman · Fri, 30 Nov 2007 17:03:00 -0500 ·
Perhaps a better way to answer this question is to figure out what you want
to accomplish.  Are your destination devices actually pagers?
quoted from Keller Liora

On 11/30/07, user-f03ee847a5e3@xymon.invalid <user-f03ee847a5e3@xymon.invalid> wrote:
Hi,

We are moving from BB to Hobbit.

We are using qpage to send out pages from BB to a remote system which is
running qpage.

We would like to keep the qpage and modem on the same server, but the
Hobbit server is running on a different system.

Any idea how we can send alerts from Hobbit to a remote qpage server?

Thanks,
Liora

-- 

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Keller Liora · Fri, 30 Nov 2007 18:05:24 -0500 ·
We are using qpage to page on cell phones, we don't use email-sms.

On BB we configured "QPAGEARGS" and set the remote hostname.
list Josh Luthman · Sat, 1 Dec 2007 18:50:27 -0500 ·
Well I was going to suggest to simply email-sms =P

There is an SMS format specifically for that purpose on Hobbit.
quoted from Josh Luthman

On 11/30/07, user-f03ee847a5e3@xymon.invalid <user-f03ee847a5e3@xymon.invalid> wrote:

We are using qpage to page on cell phones, we don't use email-sms.

On BB we configured "QPAGEARGS" and set the remote hostname.

-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Eric Meddaugh · Mon, 3 Dec 2007 08:14:37 -0500 ·
Here at RIT, we have 2 qpage servers.  I've modified the qpage code for
all the clients to point to qpage1.rit.edu and qpage2.rit.edu
(hardcoded).  We've also change the "timeout" inside the code.  The way
it did work for primary/secondary qpage servers was that it would fail
over to the 2nd server if the 1st did not respond...it the server was
completely down, it would take 2 minutes for the TCP connection to
timeout.  We've since changed it to about 15 seconds.  I can provide a
copy of the code if anyone would like it.

Attached is a qpage external script we use to page out the alerts.  It
would just need adjusting for the different items you have at your site.
Then you just add into the hobbit-alerts.cfg file:

HOST=vmz01
        SCRIPT  /home/hobbit/server/ext/qpage.pl etmsys COLOR=red,yellow
REPEAT=5 RECOVERED


Add in other actions to take as well.

We install the qpage client in /usr/local/bin/qpage on all the clients,
however it's the hobbit server (as a qpage client) that does the paging
out.

---Eric
quoted from Josh Luthman

-----Original Message-----
From: user-f03ee847a5e3@xymon.invalid [mailto:user-f03ee847a5e3@xymon.invalid] 
Sent: Friday, November 30, 2007 13:17
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Sending alerts to remote system running qpage

Hi,

We are moving from BB to Hobbit.

We are using qpage to send out pages from BB to a remote system which is
running qpage.

We would like to keep the qpage and modem on the same server, but the
Hobbit server is running on a different system.

Any idea how we can send alerts from Hobbit to a remote qpage server?

Thanks,
Liora
Attachments (1)
list Keller Liora · Mon, 3 Dec 2007 12:12:59 -0500 ·
It will save us so much time, to be able to forward the pages to the
already configured remote qpage.

Can you please email me the qpage.pl script you are running on the
Hobbit server to forward the paging to the qpage server?

Thanks,
Liora
list Eric Meddaugh · Tue, 4 Dec 2007 08:16:57 -0500 ·
The qpage.pl script is just an "alert" SCRIPT.  It uses the locally
installed qpage client to send a page to 2 redundant qpage servers.

Do you need the qpage.pl script again?
quoted from Keller Liora

---Eric

-----Original Message-----
From: user-f03ee847a5e3@xymon.invalid [mailto:user-f03ee847a5e3@xymon.invalid] 
Sent: Monday, December 03, 2007 12:13
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Sending alerts to remote system running qpage


It will save us so much time, to be able to forward the pages to the
already configured remote qpage.

Can you please email me the qpage.pl script you are running on the
Hobbit server to forward the paging to the qpage server?

Thanks,
Liora
list Jim Smith · Tue, 4 Dec 2007 07:34:37 -0600 ·
I believe you need qpage installed on the Hobbit server in order to send
pages to your qpage server.  Before compiling the source, you can
specify the qpage server name in one of the config files or the
Makefile.  Or you can add the command-line option "-s servername.

Jim Smith
quoted from Eric Meddaugh

-----Original Message-----
From: Eric Meddaugh [mailto:user-4e1e735fdc96@xymon.invalid] 
Sent: Tuesday, December 04, 2007 7:17 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Sending alerts to remote system running qpage


The qpage.pl script is just an "alert" SCRIPT.  It uses the locally
installed qpage client to send a page to 2 redundant qpage servers.

Do you need the qpage.pl script again?

---Eric

-----Original Message-----
From: user-f03ee847a5e3@xymon.invalid [mailto:user-f03ee847a5e3@xymon.invalid] 
Sent: Monday, December 03, 2007 12:13
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Sending alerts to remote system running qpage


It will save us so much time, to be able to forward the pages to the
already configured remote qpage.

Can you please email me the qpage.pl script you are running on the
Hobbit server to forward the paging to the qpage server?

Thanks,
Liora


NOTICE: This email contains confidential or proprietary information which may be legally privileged. It is intended only for the named recipient(s). If an addressing error has misdirected the email, please notify the author by replying to this message. If you are not the named recipient, you are not authorized to use, disclose, distribute, copy, print or rely on this email, and should immediately delete it from your computer system.
list Keller Liora · Tue, 4 Dec 2007 11:18:11 -0500 ·
I just wanted to thank everyone for the input.

Eric's script works really well, qpage.pl, and I configured the
qpage/client on the hobbit server, changing the #define SNPP_SERVER in config.h file to point to our
original qpage server.

Thanks so much!!!
Liora 
_____________________________________________ From: 	Keller, Liora  Sent:	Monday, December 03, 2007 9:13 AM
quoted from Jim Smith
To:	'user-ae9b8668bcde@xymon.invalid'
Subject:	RE: [hobbit] Sending alerts to remote system running
qpage


It will save us so much time, to be able to forward the pages to the
already configured remote qpage.

Can you please email me the qpage.pl script you are running on the
Hobbit server to forward the paging to the qpage server?

Thanks,
Liora
list Keller Liora · Tue, 22 Jan 2008 14:46:20 -0500 ·
Eric,

It looks like some of the Hobbit log alerts can be long, like for
ports/cpu alerts, it lists all the ports/cpu in the alert.

Is there a way to have qpage only send the first few lines of the
message and not the entire Hobbit message?

Thanks,
Liora
quoted from Eric Meddaugh

-----Original Message-----
From: Eric Meddaugh [mailto:user-4e1e735fdc96@xymon.invalid] 
Sent: Tuesday, December 04, 2007 4:59 AM
To: Keller, Liora
Subject: RE: [hobbit] Sending alerts to remote system running qpage

In the config.h file:

/* Define as the name(s) of the default SNPP server.  */
#define SNPP_SERVER "qpage1.rit.edu,qpage2.rit.edu"
quoted from Jim Smith

---Eric

-----Original Message-----
From: user-f03ee847a5e3@xymon.invalid [mailto:user-f03ee847a5e3@xymon.invalid] 
Sent: Monday, December 03, 2007 16:10
To: Eric Meddaugh
Subject: RE: [hobbit] Sending alerts to remote system running qpage

Eric,

Where did you change the qpage code to point to your qpage server?

Thanks,
Liora 
quoted from Eric Meddaugh

-----Original Message-----
From: Eric Meddaugh [mailto:user-4e1e735fdc96@xymon.invalid] 
Sent: Monday, December 03, 2007 9:42 AM
To: Keller, Liora
Subject: RE: [hobbit] Sending alerts to remote system running qpage


Here it is again.
quoted from Jim Smith

---Eric

-----Original Message-----
From: user-f03ee847a5e3@xymon.invalid [mailto:user-f03ee847a5e3@xymon.invalid] 
Sent: Monday, December 03, 2007 12:41
To: Eric Meddaugh
Subject: RE: [hobbit] Sending alerts to remote system running qpage

Eric,

I was not able to see the attached pgape.pl script on hswn.dk website.

Can you please email it to me please?

Thanks,
Liora
list Jim Smith · Tue, 22 Jan 2008 15:04:47 -0600 ·
In your /etc/qpage.cf file, you can change some options that will help.
Here is the pertinent portion of mine:

 
service=xxxxxxxxxxx

        device=tty1

        phone=xxxxxxxxxx

        baudrate=9600

        parity=even

        allowpid=yes

        maxmsgsize=150

        maxpages=1

        maxtries=10

        msgprefix=no

 
Jim Smith
quoted from Keller Liora

 
-----Original Message-----
From: user-f03ee847a5e3@xymon.invalid [mailto:user-f03ee847a5e3@xymon.invalid] 
Sent: Tuesday, January 22, 2008 1:46 PM
To: user-ae9b8668bcde@xymon.invalid
Cc: user-4e1e735fdc96@xymon.invalid
Subject: RE: [hobbit] Sending alerts to remote system running qpage

 
Eric,

 
It looks like some of the Hobbit log alerts can be long, like for

ports/cpu alerts, it lists all the ports/cpu in the alert.

 
Is there a way to have qpage only send the first few lines of the

message and not the entire Hobbit message?

 
Thanks,

Liora

 
-----Original Message-----

From: Eric Meddaugh [mailto:user-4e1e735fdc96@xymon.invalid] 

Sent: Tuesday, December 04, 2007 4:59 AM

To: Keller, Liora

Subject: RE: [hobbit] Sending alerts to remote system running qpage

 
In the config.h file:

 
/* Define as the name(s) of the default SNPP server.  */

#define SNPP_SERVER "qpage1.rit.edu,qpage2.rit.edu"

 
---Eric

 
-----Original Message-----

From: user-f03ee847a5e3@xymon.invalid [mailto:user-f03ee847a5e3@xymon.invalid] 

Sent: Monday, December 03, 2007 16:10

To: Eric Meddaugh

Subject: RE: [hobbit] Sending alerts to remote system running qpage

 
Eric,

 
Where did you change the qpage code to point to your qpage server?

 
Thanks,

Liora 

 
-----Original Message-----

From: Eric Meddaugh [mailto:user-4e1e735fdc96@xymon.invalid] 

Sent: Monday, December 03, 2007 9:42 AM

To: Keller, Liora

Subject: RE: [hobbit] Sending alerts to remote system running qpage

 
Here it is again.

 
---Eric

 
-----Original Message-----

From: user-f03ee847a5e3@xymon.invalid [mailto:user-f03ee847a5e3@xymon.invalid] 

Sent: Monday, December 03, 2007 12:41

To: Eric Meddaugh

Subject: RE: [hobbit] Sending alerts to remote system running qpage

 
Eric,

 
I was not able to see the attached pgape.pl script on hswn.dk website.

 
Can you please email it to me please?

 
Thanks,

Liora

 
NOTICE: This email contains confidential or proprietary information which may be legally privileged. It is intended only for the named recipient(s). If an addressing error has misdirected the email, please notify the author by replying to this message. If you are not the named recipient, you are not authorized to use, disclose, distribute, copy, print or rely on this email, and should immediately delete it from your computer system.