View previous topic :: View next topic |
Author |
Message |
Quantum
Joined: 06 May 2004 Posts: 56
|
Posted: Mon Jul 12, 2004 6:32 am Post subject: Mail alert based on variables |
|
|
I am trying to make it easy to configure the mail alerts so that they go to the right people.
What I tryed to do is to have the folder comments hold the mail addresses of people interested in this item.
The mail alert is then configured as
Mail To: %Fcomment01%, %Fcomment02%
Subject: %FolderName% - %TestName% - Problem
The system, however did not resolve these folder comments to the mail addresses. Have I done it wrong ? or is this not possible ?
Q
p.s.
On a side note
I have configured my system to use Folders as the machine names, with the tests in each one.
For example (Red, is a testGeen is a folder
MyCo
>>Internal
>>>>FileServer
--------------Ping
--------------Space on C
--------------Space on D
>>>>MailServer
--------------Ping
--------------Space on C
--------------Space on D
--------------Port 25 Test
--------------Exchange Service Test
>>DMZ
>>>>Webserver
--------------Ping
--------------Space on C
--------------Space on D
--------------HTTP Header Test
>>>>Firewall
--------------Ping
Do you think this is a good layout ? Has anyone had issues using Hostmon this way ?
To all the other people reading this how do you deal with a large system where many people are responsible for different parts of the system ? many of whome only want to see what they are responsible for ?
All ideas wolcome
-Q |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12792 Location: USA
|
Posted: Mon Jul 12, 2004 6:51 pm Post subject: |
|
|
[quote]Mail To: %Fcomment01%, %Fcomment02%
Subject: %FolderName% - %TestName% - Problem [/quote]
Use %FCommentLine1% instead of %FCommentLine01%
Regards
Alex |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12792 Location: USA
|
Posted: Mon Jul 12, 2004 6:55 pm Post subject: |
|
|
Quote: | Do you think this is a good layout ? Has anyone had issues using Hostmon this way ? |
HostMonitor doesn't care how you separate test items by folders. You may group test items as you wish, depending on what kind of reports/comments/statistics do you need.
Regards
Alex |
|
Back to top |
|
|
Quantum
Joined: 06 May 2004 Posts: 56
|
Posted: Tue Jul 13, 2004 2:38 am Post subject: |
|
|
Quote: | HostMonitor doesn't care how you separate test items by folders. You may group test items as you wish, depending on what kind of reports/comments/statistics do you need |
Aye, but as with all realy open things of this complexity I am worried that the way I am using, which works well visualy, will actualy cause me problems in the future.
I was after some advice as to how other people have setup their folders in the above senario.
Oh and what is the seperator of the mail addresses ??? I have tryed ; and , but i cant get it to send to a list
Q |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12792 Location: USA
|
Posted: Tue Jul 13, 2004 12:01 pm Post subject: |
|
|
Quote: | Oh and what is the seperator of the mail addresses ??? I have tryed ; and , but i cant get it to send to a list |
More than one destination addresses separating with a semicolon ;
That doesn't work? Could you check log in the SMTP popup window? You will see answers from your mail server.
Regards
Alex |
|
Back to top |
|
|
Quantum
Joined: 06 May 2004 Posts: 56
|
Posted: Tue Jul 13, 2004 12:19 pm Post subject: |
|
|
I looked at the SMTP output and indeed the a ; does not seem to be accepted.
Sould it be ?
Q |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12792 Location: USA
|
Posted: Tue Jul 13, 2004 12:34 pm Post subject: |
|
|
What do you mean?
"... ; does not seem to be accepted."? HostMonitor does not send a ;
You should see something like
Code: |
[07/13/2004 12:33:16 PM] > RCPT TO:<line1@ks-soft.net>
[07/13/2004 12:33:16 PM] < 250 ok
[07/13/2004 12:33:16 PM] > RCPT TO:<line2@ks-soft.net>
[07/13/2004 12:33:16 PM] < 250 ok
|
What do you see?
Regards
Alex |
|
Back to top |
|
|
Quantum
Joined: 06 May 2004 Posts: 56
|
Posted: Wed Jul 14, 2004 4:53 am Post subject: |
|
|
Fixed it
I feel very stupid
The issue was actualy with the name I chose for the mail to come from
Can't have spaces.
Sorry.
Q
[/quote] |
|
Back to top |
|
|
|