| View previous topic :: View next topic |
| Author |
Message |
gwalkey
Joined: 15 Feb 2012 Posts: 9
|
Posted: Wed Feb 15, 2012 10:48 am Post subject: Eval version stops sending emails but popup windows ok |
|
|
Have about 50 pings scheduled for every 30 seconds.
the tests complete, but no actions are triggered.
Is this normal behavior?
It was working fine for about a week.
NO other actions seem to work other than popup windows..
thanks |
|
| Back to top |
|
 |
KS-Soft
Joined: 03 Apr 2002 Posts: 10405 Location: USA
|
|
| Back to top |
|
 |
gwalkey
Joined: 15 Feb 2012 Posts: 9
|
Posted: Wed Feb 15, 2012 11:32 am Post subject: |
|
|
thanks Alex
I will try Reverse alert
I just created a new action for SMTP email and it started to work again... |
|
| Back to top |
|
 |
gwalkey
Joined: 15 Feb 2012 Posts: 9
|
Posted: Wed Feb 15, 2012 12:25 pm Post subject: |
|
|
then the email actions failed again...
ho hum |
|
| Back to top |
|
 |
KS-Soft
Joined: 03 Apr 2002 Posts: 10405 Location: USA
|
Posted: Wed Feb 15, 2012 12:27 pm Post subject: |
|
|
What exactly means "failed"? What error do you see in the log?
Regards
Alex |
|
| Back to top |
|
 |
gwalkey
Joined: 15 Feb 2012 Posts: 9
|
Posted: Wed Feb 15, 2012 12:50 pm Post subject: |
|
|
which log, there are test logs, but no action logs.
failed means I get no email...
the SMTP Options are also set to display a window when the SMTP action is triggered. No window. Again.....popups as an action work everytime. |
|
| Back to top |
|
 |
KS-Soft Europe
Joined: 16 May 2006 Posts: 2252
|
Posted: Wed Feb 15, 2012 12:59 pm Post subject: |
|
|
| Quote: | | which log, there are test logs, but no action logs. |
If action failed for some reason, HostMonitor should record error description into the System log (Menu View->System log).
Also, you may use Quick Log to check if action was executed or failed (menu View->Quick log)
Have you checked this article ?
http://www.ks-soft.net/cgi-bin/phpBB/viewtopic.php?t=4804 |
|
| Back to top |
|
 |
gwalkey
Joined: 15 Feb 2012 Posts: 9
|
Posted: Wed Feb 15, 2012 1:02 pm Post subject: |
|
|
Last entry in system log was Monitor Started
Quick Log shows Event Time, Test Status, Reply, Test Method
with the test,
IN other words you dont have a log of your actions.
And how long/deep is the SMTP queue?
What if i get all monitors go down and they all use SMTP.
I got hundreds of texts (#@smsprovider.com) while testing.
again, the problem remains.
If the log action is popup or sound actions = ok
SMTP fails....everytime
i read that article.
How many times can I create a new action and choose SMTP
it works for a while then quits....
NOT cool |
|
| Back to top |
|
 |
KS-Soft Europe
Joined: 16 May 2006 Posts: 2252
|
Posted: Wed Feb 15, 2012 1:08 pm Post subject: |
|
|
| Quote: | | Quick Log shows Event Time, Test Status, Reply, Test Method. |
Quick Log may work in 3 different modes:
- Show test results
- Show actions
- Show test results and actions
You may select Quick Log mode using popup menu that appears when you click right mouse button on Quick Log pane. |
|
| Back to top |
|
 |
gwalkey
Joined: 15 Feb 2012 Posts: 9
|
Posted: Wed Feb 15, 2012 1:09 pm Post subject: |
|
|
For instance, I create a ping monitor to 127.0.0.0
fails everytime
action = smtp with working in-house exchange server
event 1(ping to above) = i get the text
event 2 (30 seconds later) = no text
the timer is 30 seconds
I am killing your SMTP send code? |
|
| Back to top |
|
 |
gwalkey
Joined: 15 Feb 2012 Posts: 9
|
Posted: Wed Feb 15, 2012 1:11 pm Post subject: |
|
|
I think I found my problem.
My BAD
The alert only goes out one time.....UNTIL the condition changes....
(-1) should show in the actions Window....
Here is what I was testing:
Setup SNMP Trap listener and log to windows app log....
every incoming trap only created one app log entry.
change it to (until status changes)
which is what? a time out?
in other words if there is a steady stream of incoming SNMP traps
what is considered an OK/Good status?
(I know i should be using a proper SYSLOG for this)
Last edited by gwalkey on Wed Feb 15, 2012 1:17 pm; edited 1 time in total |
|
| Back to top |
|
 |
KS-Soft Europe
Joined: 16 May 2006 Posts: 2252
|
Posted: Wed Feb 15, 2012 1:15 pm Post subject: |
|
|
Probably, you just setup Condition to start action: "Repeat 1 time".
With this option selected test will trigger Action only after first consecutive Bad result.
If you want to get Alert each time test gets "Bad" status, use Condition to start action: "Repeat until status changes".
You may change this option on Action properties dialog:
http://www.ks-soft.net/hostmon.eng/mframe.htm#actions.htm#properties |
|
| Back to top |
|
 |
KS-Soft
Joined: 03 Apr 2002 Posts: 10405 Location: USA
|
Posted: Wed Feb 15, 2012 1:22 pm Post subject: |
|
|
| Quote: | event 1(ping to above) = i get the text
event 2 (30 seconds later) = no text |
Sound like you forgot to check item #3 from the article - If monitoring is started, actions enabled, you cannot find any errors in the log and Quick Log does not show any information about specific action, you should check properties of the action
Actually this is default behavior - trigger action just once when test status changes from "bad" to "good" or vice versa.
If you want to start action after each test iteration, just say so - set "Repeat until status changes" option.
Regards
Alex |
|
| Back to top |
|
 |
gwalkey
Joined: 15 Feb 2012 Posts: 9
|
Posted: Wed Feb 15, 2012 1:25 pm Post subject: |
|
|
Yes I got it.
but what about this:
in other words if there is a steady stream of incoming SNMP traps
what is considered an OK/Good status? |
|
| Back to top |
|
 |
KS-Soft Europe
Joined: 16 May 2006 Posts: 2252
|
Posted: Wed Feb 15, 2012 1:35 pm Post subject: |
|
|
| Quote: | in other words if there is a steady stream of incoming SNMP traps
what is considered an OK/Good status? |
This behaviour is defined on "Trap filter" dialog. You may select one of these options:
- Set "Ok" status if received message satisfies...
- Set "Ok" status if no "Bad" trap received within NN sec
- Set Ok status by acknowlegement (manually)
Please check the manual or visit our web site for more information at:
http://www.ks-soft.net/hostmon.eng/mframe.htm#tests.htm#snmptrap |
|
| Back to top |
|
 |
|