[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Alert macro syntax
- To: hobbit (at) hswn.dk
- Subject: Alert macro syntax
- From: Kevin.Hanrahan (at) novainfo.com
- Date: Tue, 22 Feb 2005 11:13:30 -0500
Hi all,
I could use some help with the syntax for alert using macros. I tried
defining servers as such:
$GROUP1=server1 server2 server3
$GROUP2=server4
And then defined a pagegroup as such:
$SYSADMIN=kevin (at) domain.com
Then I made some rules:
HOST=$GROUP1
MAIL $SYSADMIN COLOR=red REPEAT=15m RECOVERED
HOST=$GROUP2
MAIL $SYSADMIN COLOR=red REPEAT=15m RECOVERED
The rule for GROUP2 works as it should but the rule for GROUP1 (the one with
multiple servers) does nothing at all! I have tried enclosing the multiple
server names in quotes like this:
$GROUP1="server1 server2 server3"
But that made no difference....still no alerts. Can someone tell me the
proper syntax for defining multiple items in a macro?
Thank you.
Kevin
Note: The information contained in this email and in any attachments is
intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material. Any review,
retransmission, dissemination or other use of, or taking of any action in
reliance upon, this information by persons or entities other than the
intended recipient is prohibited. The recipient should check this email and
any attachments for the presence of viruses. Sender accepts no liability
for any damages caused by any virus transmitted by this email. If you have
received this email in error, please notify us immediately by replying to
the message and delete the email from your computer. This e-mail is and any
response to it will be unencrypted and, therefore, potentially unsecure.
Thank you. NOVA Information Systems, Inc.