Xymon Mailing List Archive search

qpage.pl

list Keller Liora
Tue, 11 Dec 2007 16:54:36 -0500
Message-Id: <user-06029ea2814a@xymon.invalid>

Eric,
 
I have tested this, I am able to page the hosts under subparent for swap
and memory, but it is not paging for disk.
I am able to page for disk when it is setup for HOST, but not with PAGE.
 
Thanks,
Liora


From: Eric Meddaugh [mailto:user-4e1e735fdc96@xymon.invalid] 
Sent: Tuesday, December 11, 2007 11:57 AM
To: Keller, Liora; user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] qpage.pl


You should be able to do that before specify the SCRIPT line:
 
HOST=%^.*  PAGE=zzz
     SCRIPT  /home/hobbit/server/ext/qpage.pl <username>
COLOR=red,purple RECOVERED
 
That should get ANY host on the PAGE (zzz in this case).   
 
The qpage.pl script is just a external script, it wouldn't know about
the PAGE, it only takes in 1 argument, the <username> to send a page to.
 
---Eric


From: user-f03ee847a5e3@xymon.invalid [mailto:user-f03ee847a5e3@xymon.invalid]
Sent: Tue 12/11/2007 13:19
To: user-ae9b8668bcde@xymon.invalid
Cc: Eric Meddaugh
Subject: [hobbit] qpage.pl


Hi,

The script qpage.pl works when I specify a HOST, but when I try to page
hosts with the option
PAGE, list the page/subpage/subparent the qpage.pl will not page the
hosts under the PAGE list.

However, I do see the hosts listed in the hobbit notifications.log file,
but, the pages do not get listed in qpage.log

Eric, I am trying to simplify my hobbit-alerts.cfg script, I would like
not to list all the hosts (hundreds) just list the PAGE they are under.

Is there a way to get around it with your script.

Thanks,
Liora