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

Reducing the amount of mails sent

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



Joined: 19 Apr 2006
Posts: 3

PostPosted: Fri May 12, 2006 3:55 am    Post subject: Reducing the amount of mails sent Reply with quote

For every host I configured a ping test and a number of other tests (service, disk space) that are dependant on the ping test. All the tests have an action profile that sends a mail on good and bad status.
The idea was that when the host goes down I only receive an alert mail for the ping and not for the dependant test. (Since the host is down, I don't need a mail to tell me a service is down)
However this doesn't work the way I expected.

When the dependant tests have
Condition=alive
Synchronize counters = on
Synchronize Status & alerts = off
And the host goes down, I get
a mail for all the dependant tests
no mail for the ping (this is unpredictable, sometimes I get a mail, sometimes I dont)

When the dependant tests have
Condition=alive
Synchronize counters = on
Synchronize Status & alerts = on
And the host goes down, I get
a mail for the ping
and a mail for all the dependant tests

Neither of these is wat I really wanted. I am doing something wrong?
Back to top
View user's profile Send private message
Yoorix



Joined: 14 Dec 2005
Posts: 177

PostPosted: Fri May 12, 2006 8:22 am    Post subject: Re: Reducing the amount of mails sent Reply with quote

jdw wrote:
When the dependant tests have
Condition=alive
Synchronize counters = on
Synchronize Status & alerts = off
And the host goes down, I get a mail for all the dependant tests


Yes, really very strange behaviour. What version of HM do you use?

jdw wrote:
no mail for the ping (this is unpredictable, sometimes I get a mail, sometimes I dont)

I think, it depends on conditions to start action parameter. Have you specified "Repeat 1 times", haven't it? It means you only get mail when status changed from Bad to Good or vice versa.

Regards,
Yoorix
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Fri May 12, 2006 9:45 am    Post subject: Reply with quote

1) What version of HostMonitor do you use?
2) What value have you set for "Consider status of the master test obsolete after N seconds" option?
Option located on (Behaviour page in the Options dialog. This parameter is used by the program to determine whether the Master test status is up-to-date. Before starting a dependent test HostMonitor checks the status values of the Master tests defined on it. The parameter mandates for how long a Master test status is considered to be current.
If you set option to 2 sec, HostMonitor always will recheck Master test before checking depandant tests. However if you have a lot of master-dependant relations (thousands), it will effect performance.

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



Joined: 19 Apr 2006
Posts: 3

PostPosted: Sat May 13, 2006 4:50 pm    Post subject: Reply with quote

The version of hostmonitor is 5.92.
Master test obsolete is set to 300 seconds. Since most tests happen every 5 minutes, this seems like a good value.
I have about 1000 tests, most of them dependant on another test. Rechecking the master before every dependant check must have an impact on performance.

In the alert profile the condition for the mail is set to
- start when 1 consecutive bad results occur
- repeat 1 times
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Sat May 13, 2006 9:10 pm    Post subject: Reply with quote

Quote:
Master test obsolete is set to 300 seconds. Since most tests happen every 5 minutes, this seems like a good value.


5 min is too high, that's why you have so many unnecessary mails. Default value 60 sec, but you may try 10-20 sec.

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



Joined: 19 Apr 2006
Posts: 3

PostPosted: Sun May 14, 2006 4:02 am    Post subject: Reply with quote

I'll reduce the time an see what happens.
Thanks for the help!
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