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: Keller_Liora at emc.com [mailto:Keller_Liora at emc.com] Sent: Tue 12/11/2007 13:19 To: hobbit at hswn.dk 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
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:etmsys at rit.edu] Sent: Tuesday, December 11, 2007 11:57 AM To: Keller, Liora; hobbit at hswn.dk 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: Keller_Liora at emc.com [mailto:Keller_Liora at emc.com] Sent: Tue 12/11/2007 13:19 To: hobbit at hswn.dk 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
Eric,
It is working now, with the PAGE page/subpage/subparent .
Thanks again, Liora
From: Keller, Liora Sent: Tuesday, December 11, 2007 1:55 PM To: 'Eric Meddaugh'; hobbit at hswn.dk Subject: RE: [hobbit] qpage.pl
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:etmsys at rit.edu] Sent: Tuesday, December 11, 2007 11:57 AM To: Keller, Liora; hobbit at hswn.dk 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: Keller_Liora at emc.com [mailto:Keller_Liora at emc.com] Sent: Tue 12/11/2007 13:19 To: hobbit at hswn.dk 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
participants (2)
-
etmsys@rit.edu
-
Keller_Liora@emc.com