On Sun, Feb 13, 2005 at 08:30:23AM, Henrik Stoerner wrote:
On Sat, Feb 12, 2005 at 08:23:26PM -0500, Asif Iqbal wrote:
Is there a way to retrieve an alert based on the ACKCODE?
[snip BB script that picks out hostname+service for an ack code]
I hope you don't mind my asking: Why ?
This way I can keep the delay script simple. I do not have to parse the host.service info from the subject or body of the message. Plus with skytel it looses the subject. So I just look for the [12345] code in the email and just use that as a reference to pick up the host.service
Thanks
The only way you can get the ack-code is via an alert-message that already includes the host+service name.
So I'd like to know what you're using this for, because I have a suspicion that you're really trying to do something that ought to be done in another way.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu "...it said: Install Windows XP or better...so I installed Solaris..."