KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Mail alert based on variables

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
Quantum



Joined: 06 May 2004
Posts: 56

PostPosted: Mon Jul 12, 2004 6:32 am    Post subject: Mail alert based on variables Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12792
Location: USA

PostPosted: Mon Jul 12, 2004 6:51 pm    Post subject: Reply with quote

[quote]Mail To: %Fcomment01%, %Fcomment02%
Subject: %FolderName% - %TestName% - Problem [/quote]

Use %FCommentLine1% instead of %FCommentLine01%

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12792
Location: USA

PostPosted: Mon Jul 12, 2004 6:55 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Quantum



Joined: 06 May 2004
Posts: 56

PostPosted: Tue Jul 13, 2004 2:38 am    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12792
Location: USA

PostPosted: Tue Jul 13, 2004 12:01 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Quantum



Joined: 06 May 2004
Posts: 56

PostPosted: Tue Jul 13, 2004 12:19 pm    Post subject: Reply with quote

I looked at the SMTP output and indeed the a ; does not seem to be accepted.

Sould it be ?

Q
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12792
Location: USA

PostPosted: Tue Jul 13, 2004 12:34 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Quantum



Joined: 06 May 2004
Posts: 56

PostPosted: Wed Jul 14, 2004 4:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index